kernel loads modules again, more wireless drivers and access point drivers enabled

This commit is contained in:
Mike Staszel 2011-02-04 11:19:58 -06:00
parent 37c69f9da8
commit 36bde2519c
7 changed files with 17 additions and 85 deletions

View file

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux/arm 2.6.37 Kernel Configuration
# Wed Feb 2 11:28:42 2011
# Fri Feb 4 11:18:35 2011
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@ -1499,7 +1499,9 @@ CONFIG_ATH9K_HTC=m
# CONFIG_ATH9K_HTC_DEBUGFS is not set
CONFIG_AR9170_USB=m
CONFIG_AR9170_LEDS=y
# CONFIG_CARL9170 is not set
CONFIG_CARL9170=m
CONFIG_CARL9170_LEDS=y
CONFIG_CARL9170_WPC=y
CONFIG_B43=m
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
@ -1509,7 +1511,11 @@ CONFIG_B43_PHY_LP=y
CONFIG_B43_LEDS=y
# CONFIG_B43_DEBUG is not set
# CONFIG_B43LEGACY is not set
# CONFIG_HOSTAP is not set
CONFIG_HOSTAP=m
CONFIG_HOSTAP_FIRMWARE=y
# CONFIG_HOSTAP_FIRMWARE_NVRAM is not set
# CONFIG_HOSTAP_PLX is not set
CONFIG_HOSTAP_PCI=m
CONFIG_IPW2100=m
# CONFIG_IPW2100_MONITOR is not set
# CONFIG_IPW2100_DEBUG is not set

View file

@ -29,7 +29,7 @@ source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
kernel26.preset)
md5sums=('c8ee37b4fdccdb651e0603d35350b434'
'732176aeb134678b4e369e1d5d5fca2e'
'1a58311155c372dced02476ca1daea51'
'1ba929fcea6fc3afc50c112054ac1b4e'
'bcdd89efa758a653204458140f3ba1a7'
'25584700a0a679542929c4bed31433b6')
@ -50,7 +50,7 @@ build() {
# get kernel version
make prepare
# Configure the kernel. Replace the line below with one of your choice.
#make menuconfig # CLI menu for configuration
make menuconfig # CLI menu for configuration
#make nconfig # new CLI menu for configuration
#make oldconfig # using old config from previous kernel version
# Build!

View file

@ -14,6 +14,8 @@ echo ""
echo "This package is for all plugs, including the Dockstar."
echo ""
echo "Installing now..."
# Just making sure kernel modules still work after we moved to .gz
/sbin/depmod 2.6.37
}
post_upgrade() {

View file

@ -1,6 +1,6 @@
#!/bin/bash
#
# Plugbox Linux Distribution Image Builder
# PlugApps Linux Distribution Image Builder
#
# Licensed under the GPLv2.
#
@ -17,9 +17,8 @@
# NOTE: Make sure the package "mtd-utils" is installed for making UBI images.
#
# ==== Variables to set ====
# PLUGSCRIPTDIR has been replaced by the 'plugapps-scripts' package
INSTALLEDPKGS="base kernel26 kernel26-headers file heimdal ntfs-3g openssh openssl"
RELEASEVER=2011.01
RELEASEVER=2011.02
MAKETARGZ=1
MAKEUBIIMG=1
# ==== The Process ====
@ -41,13 +40,13 @@ echo "de_DE ISO-8859-1" >> $1/etc/locale.gen
echo "de_DE@euro ISO-8859-15" >> $1/etc/locale.gen
chroot $1/ /usr/sbin/locale-gen
chroot $1/ /usr/bin/pacman -Scc --noconfirm
echo $RELEASEVER > $1/etc/plugbox-version
echo $RELEASEVER > $1/etc/plugapps-version
# Here is the rootfs.tar.gz part if you set MAKETARGZ to 1
if [ $MAKETARGZ = 1 ]; then
echo -e "\033[1mCreating a rootfs.tar.gz...\033[0m"
cd $1
tar czf ../Plugbox-Linux-$RELEASEVER-rootfs.tar.gz ./*
tar czf ../PlugApps-Linux-$RELEASEVER-rootfs.tar.gz ./*
cd ../
else
echo -e "\033[1mNot creating a rootfs.tar.gz...\033[0m"

View file

@ -1,29 +0,0 @@
# This is a simple package version checker (for now)
#
# So far it only lists the names and versions of packages in ABS.
# Planned is to grab repository pkgvers, then ABS vers, and only
# output the differences, i.e. what packages need to be upgraded.
ABSDIR=/build/abs
GITDIR=/build/plugapps
if [[ ! $* ]]; then
echo "usage: $0 <repository>"
exit 1
fi
echo "$1"
cd $GITDIR/$1
for i in `find . -maxdepth 1 -mindepth 1 -type d|sort`; do
PKGNAME=`grep ^pkgname= $i/PKGBUILD | sed -e 's/pkgname=//'`
PKGVER=`grep ^pkgver= $i/PKGBUILD | sed -e 's/pkgver=//'`
PKGREL=`grep ^pkgrel= $i/PKGBUILD | sed -e 's/pkgrel=/-/'`
if [[ -e $ABSDIR/$1/$i ]]; then
ABSVER=`grep ^pkgver= $ABSDIR/$1/$i/PKGBUILD | sed -e 's/pkgver=//'`
ABSREL=`grep ^pkgrel= $ABSDIR/$1/$i/PKGBUILD | sed -e 's/pkgrel=/-/'`
if [[ "$ABSVER$ABSREL" != "$PKGVER$PKGREL" ]]; then
echo "$PKGNAME $PKGVER$PKGREL -> $ABSVER$ABSREL"
fi
fi
done

View file

@ -1,2 +0,0 @@
This folder contains scripts that should be run
on a user's device, post-install.

View file

@ -1,44 +0,0 @@
#!/bin/sh
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root." 1>&2
exit 1
fi
echo "This script will fix fstab for you so that tools like df work correctly."
echo ""
echo ""
echo "Please select your root device from the list below:"
showMenu () {
echo "1) NAND"
echo "2) SD"
echo "3) USB"
echo "4) Exit"
}
showMenu
read CHOICE
case "$CHOICE" in
"1"|"NAND")
echo "ubi0:rootfs / ubifs defaults,noatime 0 0" >> /etc/fstab
;;
"2"|"SD")
echo "/dev/mmcblk0p1 / ext2 defaults,noatime 0 0" >> /etc/fstab
;;
"3"|"USB")
echo "/dev/sda1 / ext2 defaults,noatime 0 0" >> /etc/fstab
;;
"4"|"Exit")
exit
;;
esac
clear
echo "Below is the new fstab, check it before rebooting!"
echo ""
echo ""
echo ""
echo ""
cat /etc/fstab