Added a check for /dev/tty0 to setup_keymap, added raid personality modules for EVMS, and fixed lots of space/tab issues, along with a general style cleanup. I'm calling this one 3.3.11b internally, and hopefully it will be added to the tree if it resolves bug #124388.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@373 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 19 years ago
parent da0a76e458
commit 3098153d53

@ -5,8 +5,7 @@ backup() {
echo -ne "\033[0G\033[0K" echo -ne "\033[0G\033[0K"
} }
strlen() strlen() {
{
if [ -z "$1" ] if [ -z "$1" ]
then then
echo "usage: strlen <variable_name>" echo "usage: strlen <variable_name>"
@ -92,6 +91,7 @@ findcdmount() {
fi fi
fi fi
} }
cache_cd_contents() { cache_cd_contents() {
# Check loop file exists and cache to ramdisk if DO_cache is enabled # Check loop file exists and cache to ramdisk if DO_cache is enabled
if [ "${LOOPTYPE}" != "noloop" ] && [ "${LOOPTYPE}" != "sgimips" ] if [ "${LOOPTYPE}" != "noloop" ] && [ "${LOOPTYPE}" != "sgimips" ]
@ -113,16 +113,16 @@ cache_cd_contents() {
fi fi
} }
mount_sysfs(){ mount_sysfs() {
if [ "${KV_2_6_OR_GREATER}" ] if [ "${KV_2_6_OR_GREATER}" ]
then then
# Udev is semi-broken on non /sys sysfs mount points. # Udev is semi-broken on non /sys sysfs mount points.
mount -t sysfs /sys /sys >/dev/null 2>&1 mount -t sysfs /sys /sys >/dev/null 2>&1
ret=$? ret=$?
# sysfs mount failed .. udev wont work fall back to devfs if available # sysfs mount failed .. udev wont work fall back to devfs if available
[ "$ret" -eq '0' ] || USE_UDEV_NORMAL=0 [ "$ret" -eq '0' ] || USE_UDEV_NORMAL=0
fi fi
} }
# Insert a directory tree $2 to an union specified by $1 # Insert a directory tree $2 to an union specified by $1
@ -130,8 +130,7 @@ mount_sysfs(){
# $1 = union absolute path (starting with /) # $1 = union absolute path (starting with /)
# $2 = path to data directory # $2 = path to data directory
# #
union_insert_dir() union_insert_dir() {
{
/sbin/unionctl $1 --add --after 0 --mode ro $2 /sbin/unionctl $1 --add --after 0 --mode ro $2
if [ $? = '0' ] if [ $? = '0' ]
then then
@ -140,14 +139,17 @@ union_insert_dir()
} }
findnfsmount() { findnfsmount() {
if [ "${IP}" != '' ]; then if [ "${IP}" != '' ]
if [ "${NFSROOT}" = '' ]; then then
if [ "${NFSROOT}" = '' ]
then
# Obtain NFSIP # Obtain NFSIP
OPTIONS=`busybox dmesg | grep rootserver | sed -e "s/,/ /g"` OPTIONS=`busybox dmesg | grep rootserver | sed -e "s/,/ /g"`
for OPTION in $OPTIONS for OPTION in $OPTIONS
do do
if [ `echo $OPTION | sed -e "s/=/ /g" | cut -d " " -f 1` = 'rootserver' ]; then if [ `echo $OPTION | sed -e "s/=/ /g" | cut -d " " -f 1` = 'rootserver' ]
NFSIP=`echo $OPTION | sed -e "s/=/ /g" | cut -d " " -f 2`; then
NFSIP=`echo $OPTION | sed -e "s/=/ /g" | cut -d " " -f 2`
fi fi
done done
@ -155,11 +157,12 @@ findnfsmount() {
OPTIONS=`busybox dmesg | grep rootpath | sed -e "s/,/ /g"` OPTIONS=`busybox dmesg | grep rootpath | sed -e "s/,/ /g"`
for OPTION in $OPTIONS for OPTION in $OPTIONS
do do
if [ `echo $OPTION | sed -e "s/=/ /g" | cut -d " " -f 1` = 'rootpath' ]; then if [ `echo $OPTION | sed -e "s/=/ /g" | cut -d " " -f 1` = 'rootpath' ]
NFSPATH=`echo $OPTION | sed -e "s/=/ /g" | cut -d " " -f 2`; then
fi NFSPATH=`echo $OPTION | sed -e "s/=/ /g" | cut -d " " -f 2`
fi
done done
# Setup NFSROOT # Setup NFSROOT
if [ "${NFSIP}" != '' ] && [ "$NFSPATH" != '' ] if [ "${NFSIP}" != '' ] && [ "$NFSPATH" != '' ]
then then
@ -170,11 +173,14 @@ findnfsmount() {
fi fi
fi fi
if [ "${NFSROOT}" != '' ]; then if [ "${NFSROOT}" != '' ]
if [ "${CDROOT}" != '0' ]; then then
if [ "${CDROOT}" != '0' ]
then
good_msg "Attempting to mount NFS CD image on ${NFSROOT}" good_msg "Attempting to mount NFS CD image on ${NFSROOT}"
mount -t nfs -o ro,nolock,rsize=1024,wsize=1024 ${NFSROOT} ${NEW_ROOT}/mnt/cdrom mount -t nfs -o ro,nolock,rsize=1024,wsize=1024 ${NFSROOT} ${NEW_ROOT}/mnt/cdrom
if [ "$?" = '0' ]; then if [ "$?" = '0' ]
then
REAL_ROOT="/dev/nfs" REAL_ROOT="/dev/nfs"
else else
bad_msg "NFS Mounting failed. Is the path corrent ?" bad_msg "NFS Mounting failed. Is the path corrent ?"
@ -182,7 +188,8 @@ findnfsmount() {
else else
good_msg "Attemping to mount NFS root on ${NFSROOT}" good_msg "Attemping to mount NFS root on ${NFSROOT}"
mount -t nfs -o ro,nolock,rsize=1024,wsize=1024 ${NFSROOT} ${NEW_ROOT} mount -t nfs -o ro,nolock,rsize=1024,wsize=1024 ${NFSROOT} ${NEW_ROOT}
if [ "$?" = '0' ]; then if [ "$?" = '0' ]
then
REAL_ROOT="/dev/nfs" REAL_ROOT="/dev/nfs"
else else
bad_msg "NFS Mounting failed. Is the path correct ?" bad_msg "NFS Mounting failed. Is the path correct ?"
@ -200,15 +207,15 @@ kill_devfsd() {
} }
check_loop() { check_loop() {
if [ "${LOOP}" = '' -o ! -e "mnt/cdrom/${LOOP}" ] if [ "${LOOP}" = '' -o ! -e "mnt/cdrom/${LOOP}" ]
then then
bad_msg "Invalid loop location: ${LOOP}" bad_msg "Invalid loop location: ${LOOP}"
bad_msg 'Please export LOOP with a valid location, or reboot and pass a proper loop=...' bad_msg 'Please export LOOP with a valid location, or reboot and pass a proper loop=...'
bad_msg 'kernel command line!' bad_msg 'kernel command line!'
run_shell run_shell
fi fi
} }
run_shell() { run_shell() {
@ -263,17 +270,17 @@ bind_mount_dev() {
mount -o bind ${NEW_ROOT}/dev /dev mount -o bind ${NEW_ROOT}/dev /dev
} }
start_dev_mgr(){ start_dev_mgr() {
# Check udev is available... # Check udev is available...
if [ "${KV_2_6_OR_GREATER}" -a ! "${USE_UDEV_NORMAL}" -eq '0' -a -x /sbin/udev ] if [ "${KV_2_6_OR_GREATER}" -a ! "${USE_UDEV_NORMAL}" -eq '0' -a -x /sbin/udev ]
then then
USE_UDEV_NORMAL=1 USE_UDEV_NORMAL=1
else else
USE_UDEV_NORMAL=0 USE_UDEV_NORMAL=0
fi fi
if [ "${USE_UDEV_NORMAL}" -eq '1' ] if [ "${USE_UDEV_NORMAL}" -eq '1' ]
then then
cd /sys cd /sys
[ "${DO_slowusb}" ] && sleep 10 [ "${DO_slowusb}" ] && sleep 10
kill_devfsd kill_devfsd
@ -281,116 +288,118 @@ start_dev_mgr(){
runUdev runUdev
[ "${DO_slowusb}" ] && sleep 20 [ "${DO_slowusb}" ] && sleep 20
cd / cd /
else else
if [ ! -e /dev/.devfsd ] if [ ! -e /dev/.devfsd ]
then then
good_msg 'Activating devfs' good_msg 'Activating devfs'
mount -t devfs devfs /dev mount -t devfs devfs /dev
devfsd /dev -np devfsd /dev -np
fi fi
fi fi
} }
bootstrapCD() { bootstrapCD() {
# Locate the cdrom device with our media on it. # Locate the cdrom device with our media on it.
[ -n "${CDROOT_DEV}" ] && DEVICES="$DEVICES ${CDROOT_DEV}" # Device specified on the command line [ -n "${CDROOT_DEV}" ] && DEVICES="$DEVICES ${CDROOT_DEV}" # Device specified on the command line
DEVICES="$DEVICES /dev/cdroms/*" # CDROM DEVICES DEVICES="$DEVICES /dev/cdroms/*" # CDROM DEVICES
DEVICES="$DEVICES /dev/ide/cd/*" # CDROM DEVICES DEVICES="$DEVICES /dev/ide/cd/*" # CDROM DEVICES
DEVICES="$DEVICES /dev/sr*" # UML DEVICES DEVICES="$DEVICES /dev/sr*" # UML DEVICES
DEVICES="$DEVICES /dev/sd*" # USB Keychain DEVICES="$DEVICES /dev/sd*" # USB Keychain
DEVICES="$DEVICES /dev/hd*" # IDE devices DEVICES="$DEVICES /dev/hd*" # IDE devices
DEVICES="$DEVICES /dev/ubd* /dev/ubd/*" # UML DEVICES DEVICES="$DEVICES /dev/ubd* /dev/ubd/*" # UML DEVICES
DEVICES="$DEVICES /dev/iseries/vcd*" # iSeries Devices DEVICES="$DEVICES /dev/iseries/vcd*" # iSeries Devices
findcdmount $DEVICES findcdmount $DEVICES
} }
cmdline_hwopts() { cmdline_hwopts() {
# Scan CMDLINE for any "doscsi" or "noscsi"-type arguments # Scan CMDLINE for any "doscsi" or "noscsi"-type arguments
local FOUND local FOUND
local TMP_HWOPTS local TMP_HWOPTS
for x in $HWOPTS for x in $HWOPTS
do
for y in $CMDLINE
do do
if [ "${y}" = "do${x}" ] for y in $CMDLINE
then do
MY_HWOPTS="${MY_HWOPTS} $x" if [ "${y}" = "do${x}" ]
elif [ "${y}" = "no${x}" ] then
then MY_HWOPTS="${MY_HWOPTS} $x"
MY_HWOPTS="`echo ${MY_HWOPTS} | sed -e \"s/${x}//g\" -`" elif [ "${y}" = "no${x}" ]
fi then
MY_HWOPTS="`echo ${MY_HWOPTS} | sed -e \"s/${x}//g\" -`"
fi
done
done done
done
# Shouldnt need to sort this the following loop should figure out the duplicates and strip them out # Shouldnt need to sort this as the following loop should figure out the
#MY_HWOPTS=`echo ${MY_HWOPTS}| sort` # duplicates and strip them out
#MY_HWOPTS=`echo ${MY_HWOPTS}| sort`
for x in ${MY_HWOPTS}
do for x in ${MY_HWOPTS}
FOUND=0
for y in ${TMP_HWOPTS}
do do
if [ "${y}" = "${x}" ] FOUND=0
then for y in ${TMP_HWOPTS}
FOUND=1 do
if [ "${y}" = "${x}" ]
then
FOUND=1
fi
done
if [ ! "${FOUND}" = '1' ]
then
TMP_HWOPTS="${TMP_HWOPTS} ${x}"
fi fi
done done
if [ ! "${FOUND}" = '1' ]
then
TMP_HWOPTS="${TMP_HWOPTS} ${x}"
fi
done
MY_HWOPTS=${TMP_HWOPTS} MY_HWOPTS=${TMP_HWOPTS}
} }
load_modules() { load_modules() {
# Load modules listed in MY_HWOPTS if /lib/modules exists # Load modules listed in MY_HWOPTS if /lib/modules exists
if [ -d '/lib/modules' ] if [ -d '/lib/modules' ]
then then
good_msg 'Loading modules' good_msg 'Loading modules'
# Load appropriate kernel modules # Load appropriate kernel modules
for modules in $MY_HWOPTS for modules in $MY_HWOPTS
do do
modules_scan $modules modules_scan $modules
eval DO_`echo $modules | sed 's/-//'`=1 eval DO_`echo $modules | sed 's/-//'`=1
done done
else else
good_msg 'Skipping module load; no modules in the initrd!' good_msg 'Skipping module load; no modules in the initrd!'
fi fi
} }
detect_sbp2_devices() { detect_sbp2_devices() {
# http://www.linux1394.org/sbp2.php # http://www.linux1394.org/sbp2.php
# /proc # /proc
# /proc/scsi/sbp2/0, /proc/scsi/sbp2/1, etc. # /proc/scsi/sbp2/0, /proc/scsi/sbp2/1, etc.
# #
# You may manually add/remove SBP-2 devices via the procfs with add-single-device <h> <b> <t> <l> or remove-single-device <h> <b> <t> <l>, where: # You may manually add/remove SBP-2 devices via the procfs with:
# # add-single-device <h> <b> <t> <l> or remove-single-device <h> <b> <t> <l>,
# # where:
# <h> = host (starting at zero for first SCSI adapter) #
# <b> = bus (normally zero) # <h> = host (starting at zero for first SCSI adapter)
# <t> = target (starting at zero for first SBP-2 device) # <b> = bus (normally zero)
# <l> - lun (normally zero) # <t> = target (starting at zero for first SBP-2 device)
# e.g. To manually add/detect a new SBP-2 device # <l> - lun (normally zero)
# echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi # e.g. To manually add/detect a new SBP-2 device
# e.g. To manually remove a SBP-2 device after it's been unplugged # echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi
# echo "scsi remove-single-device 0 0 0 0" > /proc/scsi/scsi # e.g. To manually remove a SBP-2 device after it's been unplugged
# e.g. To check to see which SBP-2/SCSI devices are currently registered # echo "scsi remove-single-device 0 0 0 0" > /proc/scsi/scsi
# cat /proc/scsi/scsi # e.g. To check to see which SBP-2/SCSI devices are currently registered
# cat /proc/scsi/scsi
[ -e /proc/scsi/scsi ] && echo 'scsi add-single-device 0 0 0 0' > /proc/scsi/scsi
[ -e /proc/scsi/scsi ] && echo 'scsi add-single-device 0 0 0 0' > /proc/scsi/scsi
} }
setup_keymap() { setup_keymap() {
if [ "${DO_keymap}" ] if [ "${DO_keymap}" ]
then then
if [ ! -e /dev/vc/0 ] if [ ! -e /dev/vc/0 -a ! -e /dev/tty0 ]
then then
DEVBIND=1 DEVBIND=1
mount -o bind ${NEW_ROOT}/dev /dev mount -o bind ${NEW_ROOT}/dev /dev
@ -407,90 +416,92 @@ setup_keymap() {
fi fi
fi fi
} }
chooseKeymap() { chooseKeymap() {
good_msg "Loading keymaps" good_msg "Loading keymaps"
cat /lib/keymaps/keymapList cat /lib/keymaps/keymapList
read -t 10 -p '<< Load keymap (Enter for default): ' keymap read -t 10 -p '<< Load keymap (Enter for default): ' keymap
if [ -e /lib/keymaps/${keymap}.map ] if [ -e /lib/keymaps/${keymap}.map ]
then then
good_msg "Loading the ''${keymap}'' keymap" good_msg "Loading the ''${keymap}'' keymap"
loadkmap < /lib/keymaps/${keymap}.map loadkmap < /lib/keymaps/${keymap}.map
xkeymap=${keymap} xkeymap=${keymap}
echo ${keymap} | egrep -e "[0-9]+" >/dev/null 2>&1 echo ${keymap} | egrep -e "[0-9]+" >/dev/null 2>&1
if [ "$?" -eq '0' ]; then if [ "$?" -eq '0' ]
xkeymap=`tail -n 7 /lib/keymaps/keymapList | grep ${keymap} | sed -r "s/.*\s+${keymap}\s+([a-z-]+).*/\1/g" | egrep -v 1` then
xkeymap=`tail -n 7 /lib/keymaps/keymapList | grep ${keymap} | sed -r "s/.*\s+${keymap}\s+([a-z-]+).*/\1/g" | egrep -v 1`
fi
mkdir -p /etc/sysconfig
echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard
elif [ "$keymap" = '' ]
then
echo
good_msg "Keeping default keymap"
else
bad_msg "Sorry, but keymap ''${keymap}'' is invalid!"
chooseKeymap
fi fi
mkdir -p /etc/sysconfig
echo "XKEYBOARD=${xkeymap}" > /etc/sysconfig/keyboard
elif [ "$keymap" = '' ]
then
echo
good_msg "Keeping default keymap"
else
bad_msg "Sorry, but keymap ''${keymap}'' is invalid!"
chooseKeymap
fi
} }
startVolumes() { startVolumes() {
#good_msg 'Checking if volumes need to be started...' #good_msg 'Checking if volumes need to be started...'
if [ "${USE_DMRAID_NORMAL}" -eq '1' ] if [ "${USE_DMRAID_NORMAL}" -eq '1' ]
then
if [ -e '/sbin/dmraid' ]
then then
good_msg "Activating Device-Mapper RAID(s)" if [ -e '/sbin/dmraid' ]
if [ '${DMRAID_OPTS}' = '' ] then
then good_msg "Activating Device-Mapper RAID(s)"
/sbin/dmraid -ay if [ '${DMRAID_OPTS}' = '' ]
else then
/sbin/dmraid -ay ${DMRAID_OPTS} /sbin/dmraid -ay
fi else
/sbin/dmraid -ay ${DMRAID_OPTS}
fi
fi
fi fi
fi
if [ "${USE_LVM2_NORMAL}" -eq '1' ] if [ "${USE_LVM2_NORMAL}" -eq '1' ]
then
if [ -e '/bin/vgscan' -a -e '/bin/vgchange' ]
then then
for dev in ${RAID_DEVICES} if [ -e '/bin/vgscan' -a -e '/bin/vgchange' ]
do then
setup_md_device "${dev}" for dev in ${RAID_DEVICES}
done do
setup_md_device "${dev}"
good_msg "Scanning for Volume Groups" done
/bin/vgscan --ignorelockingfailure --mknodes 2>/dev/null
good_msg "Activating Volume Groups"
/bin/vgchange -ay --ignorelockingfailure 2>/dev/null
# Disable EVMS since lvm2 is activated and they dont work together.
if [ "${USE_EVMS2_NORMAL}" -eq '1' ]
then
bad_msg "Disabling EVMS Support because LVM2 started"
bad_msg "Do not add dolvm2 to the cmdline if this is not what you want"
bad_msg "LVM2 and EVMS do not work well together"
USE_EVMS2_NORMAL=0
fi
else
bad_msg "vgscan or vgchange not found: skipping LVM2 volume group activation!"
fi
fi good_msg "Scanning for Volume Groups"
/bin/vgscan --ignorelockingfailure --mknodes 2>/dev/null
good_msg "Activating Volume Groups"
/bin/vgchange -ay --ignorelockingfailure 2>/dev/null
if [ "${USE_EVMS2_NORMAL}" -eq '1' ] # Disable EVMS since lvm2 is activated and they dont work together.
then if [ "${USE_EVMS2_NORMAL}" -eq '1' ]
if [ -e '/sbin/evms_activate' ] then
bad_msg "Disabling EVMS Support because LVM2 started"
bad_msg "Do not add dolvm2 to the cmdline if this is not what you want"
bad_msg "LVM2 and EVMS do not work well together"
USE_EVMS2_NORMAL=0
fi
else
bad_msg "vgscan or vgchange not found: skipping LVM2 volume group activation!"
fi
fi
if [ "${USE_EVMS2_NORMAL}" -eq '1' ]
then then
good_msg "Activating EVMS" if [ -e '/sbin/evms_activate' ]
evms_activate then
good_msg "Activating EVMS"
evms_activate
fi
fi fi
fi
} }
sdelay() { sdelay() {
# Sleep a specific number of seconds if SDELAY is set otherwise only 1 second # Sleep a specific number of seconds if SDELAY is set otherwise only sleep
if [ -n "${SDELAY}" ]; then # 1 second
if [ -n "${SDELAY}" ]
then
sleep ${SDELAY} sleep ${SDELAY}
else else
sleep 1 sleep 1
@ -498,33 +509,33 @@ sdelay() {
} }
quiet_kmsg() { quiet_kmsg() {
# if QUIET is set make the kernel less chatty # if QUIET is set make the kernel less chatty
[ -n "$QUIET" ] && echo '0' > /proc/sys/kernel/printk [ -n "$QUIET" ] && echo '0' > /proc/sys/kernel/printk
} }
verbose_kmsg() { verbose_kmsg() {
# if QUIET is set make the kernel less chatty # if QUIET is set make the kernel less chatty
[ -n "$QUIET" ] && echo '6' > /proc/sys/kernel/printk [ -n "$QUIET" ] && echo '6' > /proc/sys/kernel/printk
} }
cdupdate() { cdupdate() {
if [ "${CDROOT}" -eq '1' ] if [ "${CDROOT}" -eq '1' ]
then then
if [ -x /${NEW_ROOT}/mnt/cdrom/cdupdate.sh ] if [ -x /${NEW_ROOT}/mnt/cdrom/cdupdate.sh ]
then then
good_msg "Running cdupdate.sh" good_msg "Running cdupdate.sh"
${NEW_ROOT}/mnt/cdrom/cdupdate.sh ${NEW_ROOT}/mnt/cdrom/cdupdate.sh
if [ "$?" != '0' ] if [ "$?" != '0' ]
then then
splash 'verbose' splash 'verbose'
bad_msg "FAILED TO EXECUTE cdupdate.sh" bad_msg "Executing cdupdate.sh failed!"
run_shell run_shell
fi fi
else else
good_msg 'No cdupdate.sh script found, skipping...' good_msg 'No cdupdate.sh script found, skipping...'
fi fi
fi fi
} }
setup_md_device() { setup_md_device() {
@ -541,20 +552,21 @@ setup_md_device() {
then then
mknod /dev/md${MD_NUMBER} b 9 ${MD_NUMBER} >/dev/null 2>&1 mknod /dev/md${MD_NUMBER} b 9 ${MD_NUMBER} >/dev/null 2>&1
[ "$?" -ne 0 ] && bad_msg "Creation of /dev/md${MD_NUMBER} failed..." [ "$?" -ne 0 ] && bad_msg "Creation of /dev/md${MD_NUMBER} failed..."
fi fi
mdstart ${MDPART} /dev/md${MD_NUMBER} mdstart ${MDPART} /dev/md${MD_NUMBER}
fi fi
} }
rundebugshell(){ rundebugshell() {
if [ -n "$DEBUG" ]; then if [ -n "$DEBUG" ]
good_msg 'Starting debug shell as requested by "debug" option.' then
good_msg 'Type "exit" to continue with normal bootup.' good_msg 'Starting debug shell as requested by "debug" option.'
[ -x /bin/sh ] && /bin/sh || /bin/ash good_msg 'Type "exit" to continue with normal bootup.'
fi [ -x /bin/sh ] && /bin/sh || /bin/ash
fi
} }
setup_unionfs(){ setup_unionfs() {
if [ "${USE_UNIONFS_NORMAL}" -eq '1' -a "${CDROOT}" -eq '1' ] if [ "${USE_UNIONFS_NORMAL}" -eq '1' -a "${CDROOT}" -eq '1' ]
then then
# Directory used for rw changes in union mount filesystem # Directory used for rw changes in union mount filesystem
@ -567,7 +579,6 @@ setup_unionfs(){
CHANGES=$MEMORY/unionfs_changes/$UID CHANGES=$MEMORY/unionfs_changes/$UID
fi fi
mkdir -p ${MEMORY} mkdir -p ${MEMORY}
mkdir -p ${UNION} mkdir -p ${UNION}
good_msg "Loading unionfs module" good_msg "Loading unionfs module"
@ -577,8 +588,8 @@ setup_unionfs(){
CHANGESDEV=${UNIONFS} CHANGESDEV=${UNIONFS}
good_msg "mounting $CHANGESDEV to $MEMORY for unionfs support" good_msg "mounting $CHANGESDEV to $MEMORY for unionfs support"
mount -t auto $CHANGESDEV $MEMORY mount -t auto $CHANGESDEV $MEMORY
# mount tmpfs only in the case when changes= boot parameter was empty # mount tmpfs only in the case when changes= boot parameter was
# or we were not able to mount the storage device # empty or we were not able to mount the storage device
ret=$? ret=$?
if [ "${ret}" -ne 0 ] if [ "${ret}" -ne 0 ]
then then
@ -597,7 +608,7 @@ setup_unionfs(){
good_msg "Mounting ramdisk to $MEMORY for unionfs support..." good_msg "Mounting ramdisk to $MEMORY for unionfs support..."
mount -t tmpfs tmpfs $MEMORY mount -t tmpfs tmpfs $MEMORY
fi fi
mkdir -p $CHANGES mkdir -p $CHANGES
mount -t unionfs -o dirs=$CHANGES=rw unionfs ${UNION} mount -t unionfs -o dirs=$CHANGES=rw unionfs ${UNION}
ret=$? ret=$?

@ -8,6 +8,7 @@
splash() { splash() {
return 0 return 0
} }
[ -e /etc/initrd.splash ] && . /etc/initrd.splash [ -e /etc/initrd.splash ] && . /etc/initrd.splash
# Clean input/output # Clean input/output
@ -34,29 +35,28 @@ mount -t proc proc /proc
# Set up symlinks # Set up symlinks
if [ "$0" = '/init' ] if [ "$0" = '/init' ]
then then
/bin/busybox --install -s /bin/busybox --install -s
[ -e /linuxrc ] && rm /linuxrc [ -e /linuxrc ] && rm /linuxrc
if [ -e /sbin/udev ] if [ -e /sbin/udev ]
then
if [ ! -e /sbin/udevstart ]
then then
ln -s /sbin/udev /sbin/udevstart if [ ! -e /sbin/udevstart ]
then
ln -s /sbin/udev /sbin/udevstart
fi
if [ ! -e /sbin/udevsend ]
then
ln -s /sbin/udev /sbin/udevsend
fi
fi fi
if [ ! -e /sbin/udevsend ] if [ -e /bin/lvm ]
then then
ln -s /sbin/udev /sbin/udevsend ln -s /bin/lvm /bin/vgscan
ln -s /bin/lvm /bin/vgchange
fi fi
fi
if [ -e /bin/lvm ]
then
ln -s /bin/lvm /bin/vgscan
ln -s /bin/lvm /bin/vgchange
fi
fi fi
quiet_kmsg quiet_kmsg
@ -66,136 +66,126 @@ CMDLINE="`cat /proc/cmdline`"
REAL_ROOT='' REAL_ROOT=''
for x in ${CMDLINE} for x in ${CMDLINE}
do do
case "${x}" in case "${x}" in
real_root\=*) real_root\=*)
REAL_ROOT=`parse_opt "${x}"` REAL_ROOT=`parse_opt "${x}"`
;; ;;
subdir\=*) subdir\=*)
SUBDIR=`parse_opt "${x}"` SUBDIR=`parse_opt "${x}"`
;; ;;
real_init\=*) real_init\=*)
REAL_INIT=`parse_opt "${x}"` REAL_INIT=`parse_opt "${x}"`
;; ;;
# Livecd options
# Livecd options cdroot)
cdroot) CDROOT=1
CDROOT=1 ;;
;; cdroot\=*)
cdroot\=*) CDROOT=1
CDROOT=1 CDROOT_DEV=`parse_opt "${x}"`
CDROOT_DEV=`parse_opt "${x}"` ;;
;; # Start livecd loop and looptype options
loop\=*)
# Start livecd loop and looptype options LOOP=`parse_opt "${x}"`
loop\=*) ;;
LOOP=`parse_opt "${x}"` looptype\=*)
;; LOOPTYPE=`parse_opt "${x}"`
looptype\=*) ;;
LOOPTYPE=`parse_opt "${x}"` # Start Device Manager options
;; devfs)
USE_DEVFS_NORMAL=1
# Start Device Manager options USE_UDEV_NORMAL=0
devfs) ;;
USE_DEVFS_NORMAL=1 udev)
USE_UDEV_NORMAL=0 USE_DEVFS_NORMAL=0
;; USE_UDEV_NORMAL=1
udev) ;;
USE_DEVFS_NORMAL=0 unionfs)
USE_UDEV_NORMAL=1 if [ ! -x /sbin/unionctl ]
;; then
unionfs) USE_UNIONFS_NORMAL=0
if [ ! -x /sbin/unionctl ] bad_msg 'Unionctl not found: aborting use of unionfs!'
then else
USE_UNIONFS_NORMAL=0 USE_UNIONFS_NORMAL=1
bad_msg 'Unionctl not found: aborting use of unionfs!' fi
else ;;
USE_UNIONFS_NORMAL=1 unionfs\=*)
fi if [ ! -x /sbin/unionctl ]
;; then
unionfs\=*) USE_UNIONFS_NORMAL=0
if [ ! -x /sbin/unionctl ] bad_msg 'Unionctl not found: aborting use of unionfs!'
then else
USE_UNIONFS_NORMAL=0 USE_UNIONFS_NORMAL=1
bad_msg 'Unionctl not found: aborting use of unionfs!' CMD_UNIONFS=`parse_opt "${x}"`
else echo ${CMD_UNIONFS}|grep , >/dev/null 2>&1
USE_UNIONFS_NORMAL=1 if [ "$?" -eq '0' ]
CMD_UNIONFS=`parse_opt "${x}"` then
echo ${CMD_UNIONFS}|grep , >/dev/null 2>&1 UID=`echo ${CMD_UNIONFS#*,}`
if [ "$?" -eq '0' ] UNIONFS=`echo ${CMD_UNIONFS%,*}`
then else
UID=`echo ${CMD_UNIONFS#*,}` UNIONFS=${CMD_UNIONFS}
UNIONFS=`echo ${CMD_UNIONFS%,*}` fi
else fi
UNIONFS=${CMD_UNIONFS} ;;
fi # Start Volume manager options
fi dolvm2)
;; USE_LVM2_NORMAL=1
;;
# Start Volume manager options dodmraid)
dolvm2) USE_DMRAID_NORMAL=1
USE_LVM2_NORMAL=1 ;;
;; dodmraid\=*)
dodmraid) DMRAID_OPTS=`parse_opt "${x}"`
USE_DMRAID_NORMAL=1 USE_DMRAID_NORMAL=1
;; ;;
dodmraid\=*) doevms2)
DMRAID_OPTS=`parse_opt "${x}"` USE_EVMS2_NORMAL=1
USE_DMRAID_NORMAL=1 ;;
;; # Debug Options
doevms2) debug)
USE_EVMS2_NORMAL=1 DEBUG='yes'
;; ;;
# Debug Options # Scan delay options
debug) scandelay\=*)
DEBUG='yes' SDELAY=`parse_opt "${x}"`
;; ;;
scandelay)
# Scan delay options SDELAY=10
scandelay\=*) ;;
SDELAY=`parse_opt "${x}"` # Module no-loads
;; doload\=*)
scandelay) MDOLIST=`parse_opt "${x}"`
SDELAY=10 MDOLIST="`echo ${MDOLIST} | sed -e \"s/,/ /g\"`"
;; ;;
nodetect)
# Module no-loads NODETECT=1
doload\=*) ;;
MDOLIST=`parse_opt "${x}"` noload\=*)
MDOLIST="`echo ${MDOLIST} | sed -e \"s/,/ /g\"`" MLIST=`parse_opt "${x}"`
;; MLIST="`echo ${MLIST} | sed -e \"s/,/ /g\"`"
nodetect) export MLIST
NODETECT=1 ;;
;; # Redirect output to a specific tty
noload\=*) CONSOLE\=*)
MLIST=`parse_opt "${x}"` CONSOLE=`parse_opt "${x}"`
MLIST="`echo ${MLIST} | sed -e \"s/,/ /g\"`" exec >${CONSOLE} <${CONSOLE} 2>&1
export MLIST ;;
;; # /dev/md
lvmraid\=*)
# Redirect output to a specific tty RAID_DEVICES="`parse_opt ${x}`"
CONSOLE\=*) RAID_DEVICES="`echo ${RAID_DEVICES} | sed -e 's/,/ /g'`"
CONSOLE=`parse_opt "${x}"` ;;
exec >${CONSOLE} <${CONSOLE} 2>&1 part\=*)
;; MDPART=`parse_opt "${x}"`
;;
# /dev/md # NFS
lvmraid\=*) ip\=*)
RAID_DEVICES="`parse_opt ${x}`" IP=`parse_opt "${x}"`
RAID_DEVICES="`echo ${RAID_DEVICES} | sed -e 's/,/ /g'`" ;;
;; nfsroot\=*)
NFSROOT=`parse_opt "${x}"`
part\=*) ;;
MDPART=`parse_opt "${x}"` esac
;;
# NFS
ip\=*)
IP=`parse_opt "${x}"`
;;
nfsroot\=*)
NFSROOT=`parse_opt "${x}"`
;;
esac
done done
splash 'init' splash 'init'
@ -206,25 +196,24 @@ cmdline_hwopts
# Load modules listed in MY_HWOPTS if /lib/modules exists # Load modules listed in MY_HWOPTS if /lib/modules exists
if [ -d '/lib/modules' ] if [ -d '/lib/modules' ]
then then
good_msg 'Loading modules' good_msg 'Loading modules'
# Load appropriate kernel modules # Load appropriate kernel modules
if [ "${NODETECT}" -ne '1' ] if [ "${NODETECT}" -ne '1' ]
then then
for modules in $MY_HWOPTS for modules in $MY_HWOPTS
do do
modules_scan $modules modules_scan $modules
eval DO_`echo $modules | sed 's/-//'`=1 eval DO_`echo $modules | sed 's/-//'`=1
done done
fi fi
# Always eval doload=...
# Always eval doload=... modules_load $MDOLIST
modules_load $MDOLIST
else else
for modules in $MY_HWOPTS for modules in $MY_HWOPTS
do do
eval DO_`echo $modules | sed 's/-//'`=1 eval DO_`echo $modules | sed 's/-//'`=1
done done
good_msg 'Skipping module load; no modules in the initrd!' good_msg 'Skipping module load; no modules in the initrd!'
fi fi
# Mount sysfs # Mount sysfs
@ -279,10 +268,11 @@ then
cp /dev/loop0 ${NEW_ROOT}/dev cp /dev/loop0 ${NEW_ROOT}/dev
fi fi
# Required for gensplash to work. Not an issue with the initrd as this device isnt created there and is not needed. # Required for gensplash to work. Not an issue with the initrd as this
# device isnt created there and is not needed.
if [ -e /dev/tty1 ] if [ -e /dev/tty1 ]
then then
cp /dev/tty1 ${NEW_ROOT}/dev cp /dev/tty1 ${NEW_ROOT}/dev
fi fi
if [ "${REAL_ROOT}" != "/dev/nfs" ] && [ "${LOOPTYPE}" != "sgimips" ] if [ "${REAL_ROOT}" != "/dev/nfs" ] && [ "${LOOPTYPE}" != "sgimips" ]
@ -441,16 +431,16 @@ then
if [ -e "${NEW_ROOT}/mnt/cdrom/livecd.loop" ]; then if [ -e "${NEW_ROOT}/mnt/cdrom/livecd.loop" ]; then
LOOP='/livecd.loop' LOOP='/livecd.loop'
LOOPTYPE='normal' LOOPTYPE='normal'
elif [ -e "${NEW_ROOT}/mnt/cdrom/zisofs" ]; then elif [ -e "${NEW_ROOT}/mnt/cdrom/zisofs" ]; then
LOOP='/zisofs' LOOP='/zisofs'
LOOPTYPE='zisofs' LOOPTYPE='zisofs'
elif [ -e "${NEW_ROOT}/mnt/cdrom/livecd.squashfs" ]; then elif [ -e "${NEW_ROOT}/mnt/cdrom/livecd.squashfs" ]; then
LOOP='/livecd.squashfs' LOOP='/livecd.squashfs'
LOOPTYPE='squashfs' LOOPTYPE='squashfs'
elif [ -e "${NEW_ROOT}/mnt/cdrom/livecd.gcloop" ]; then elif [ -e "${NEW_ROOT}/mnt/cdrom/livecd.gcloop" ]; then
LOOP='/livecd.gcloop' LOOP='/livecd.gcloop'
LOOPTYPE='gcloop' LOOPTYPE='gcloop'
else else
LOOPTYPE='noloop' LOOPTYPE='noloop'
fi fi
fi fi
@ -637,8 +627,8 @@ cdupdate
if [ "${SUBDIR}" != '' -a -e "${CHROOT}/${SUBDIR}" ] if [ "${SUBDIR}" != '' -a -e "${CHROOT}/${SUBDIR}" ]
then then
good_msg"Entering ${SUBDIR} to boot" good_msg"Entering ${SUBDIR} to boot"
CHROOT=${CHROOT}/${SUBDIR} CHROOT=${CHROOT}/${SUBDIR}
fi fi
verbose_kmsg verbose_kmsg
@ -682,7 +672,7 @@ then
echo -n '.' echo -n '.'
# /usr/src/linux/Documentation/initrd.txt: # /usr/src/linux/Documentation/initrd.txt:
# exec chroot . /sbin/init </dev/console >/dev/console 2>&1 # exec chroot . /sbin/init </dev/console >/dev/console 2>&1
exec <dev/console >dev/console 2>&1 exec <dev/console >dev/console 2>&1
echo '.' echo '.'
@ -693,41 +683,41 @@ then
EOF EOF
elif [ "$0" = '/init' ] elif [ "$0" = '/init' ]
then then
[ ! -e /${CHROOT}/dev/console ] && mknod /${CHROOT}/dev/console c 5 1 [ ! -e /${CHROOT}/dev/console ] && mknod /${CHROOT}/dev/console c 5 1
[ ! -e /${CHROOT}/dev/tty1 ] && mknod /${CHROOT}/dev/tty1 c 4 1 [ ! -e /${CHROOT}/dev/tty1 ] && mknod /${CHROOT}/dev/tty1 c 4 1
echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting (initramfs)..." echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting (initramfs)..."
cd ${CHROOT} cd ${CHROOT}
mkdir /${CHROOT}/proc /${CHROOT}/sys 2>/dev/null mkdir /${CHROOT}/proc /${CHROOT}/sys 2>/dev/null
echo -n '.' echo -n '.'
umount /dev || echo '*: Failed to unmount the initrd /dev!' umount /dev || echo '*: Failed to unmount the initrd /dev!'
umount /sys || echo '*: Failed to unmount the initrd /sys!' umount /sys || echo '*: Failed to unmount the initrd /sys!'
umount /proc || echo '*: Failed to unmount the initrd /proc!' umount /proc || echo '*: Failed to unmount the initrd /proc!'
echo -n '.' echo -n '.'
exec <${CONSOLE} >${CONSOLE} 2>&1 exec <${CONSOLE} >${CONSOLE} 2>&1
echo '.' echo '.'
# Cleanup initramfs in the background # Cleanup initramfs in the background
# to reclaim initramfs tmpfs memoryspace # to reclaim initramfs tmpfs memoryspace
INITRAMFS_FILES=`ls /` INITRAMFS_FILES=`ls /`
INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|${CHROOT#/}||g"` INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|${CHROOT#/}||g"`
if [ -n "${MEMORY}" ] if [ -n "${MEMORY}" ]
then then
INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|${MEMORY#/}||g"` INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|${MEMORY#/}||g"`
fi fi
if [ -n "${UNION}" ] if [ -n "${UNION}" ]
then then
INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|${UNION#/}||g"` INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|${UNION#/}||g"`
fi fi
INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|newroot||g"` INITRAMFS_FILES=`echo ${INITRAMFS_FILES}|sed -e "s|newroot||g"`
for i in ${INITRAMFS_FILES} for i in ${INITRAMFS_FILES}
do do
for j in `/bin/busybox find /$i 2>/dev/null` for j in `/bin/busybox find /$i 2>/dev/null`
do do
if /bin/busybox [ ! -d "$j" -a "$j" != "/bin/busybox" ] if /bin/busybox [ ! -d "$j" -a "$j" != "/bin/busybox" ]
@ -742,13 +732,13 @@ then
/bin/busybox rm -r "$j" /bin/busybox rm -r "$j"
fi fi
done done
done done
# End initramfs cleanup # End initramfs cleanup
# Start the real root init # Start the real root init
(/bin/busybox sleep 3; /bin/busybox rm /dev -r; /bin/busybox rm /bin/busybox) & (/bin/busybox sleep 3; /bin/busybox rm /dev -r; /bin/busybox rm /bin/busybox) &
exec /bin/busybox chroot . /bin/sh <<- EOF exec /bin/busybox chroot . /bin/sh <<- EOF
exec /sbin/init ${REAL_INIT} exec /sbin/init ${REAL_INIT}
EOF EOF
fi fi

@ -2,7 +2,7 @@
# Genkernel v3 # Genkernel v3
PATH="/bin:/usr/bin:/sbin:/usr/sbin" PATH="/bin:/usr/bin:/sbin:/usr/sbin"
GK_V='3.3.11' GK_V='3.3.11b'
TMPDIR='/var/tmp/genkernel' TMPDIR='/var/tmp/genkernel'
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified. TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.

@ -12,7 +12,7 @@ CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
# CONFIG_FEATURE_VERBOSE_USAGE is not set # CONFIG_FEATURE_VERBOSE_USAGE is not set
# CONFIG_FEATURE_INSTALLER is not set # CONFIG_FEATURE_INSTALLER is not set
# CONFIG_LOCALE_SUPPORT is not set # CONFIG_LOCALE_SUPPORT is not set
CONFIG_FEATURE_DEVFS=y # CONFIG_FEATURE_DEVFS is not set
CONFIG_FEATURE_DEVPTS=y CONFIG_FEATURE_DEVPTS=y
# CONFIG_FEATURE_CLEAN_UP is not set # CONFIG_FEATURE_CLEAN_UP is not set
# CONFIG_FEATURE_SUID is not set # CONFIG_FEATURE_SUID is not set

@ -14,6 +14,6 @@ MODULES_ATARAID="ataraid pdcraid hptraid"
MODULES_PCMCIA="pcmcia_core yenta_socket i82365 ds ide-cs" MODULES_PCMCIA="pcmcia_core yenta_socket i82365 ds ide-cs"
MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd usbhid sl811-hcd" MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd usbhid sl811-hcd"
MODULES_LVM2="dm-mod dm-snapshot dm-mirror dm-bbr" MODULES_LVM2="dm-mod dm-snapshot dm-mirror dm-bbr"
MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr" MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr raid0 raid1 raid5 raid6 raid10"
MODULES_DMRAID="dm-mod dm-mirror" MODULES_DMRAID="dm-mod dm-mirror"
MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci ata_piix sata_mv pdc_adma" MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci ata_piix sata_mv pdc_adma"

@ -12,7 +12,7 @@ CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
# CONFIG_FEATURE_VERBOSE_USAGE is not set # CONFIG_FEATURE_VERBOSE_USAGE is not set
# CONFIG_FEATURE_INSTALLER is not set # CONFIG_FEATURE_INSTALLER is not set
# CONFIG_LOCALE_SUPPORT is not set # CONFIG_LOCALE_SUPPORT is not set
CONFIG_FEATURE_DEVFS=y # CONFIG_FEATURE_DEVFS is not set
CONFIG_FEATURE_DEVPTS=y CONFIG_FEATURE_DEVPTS=y
# CONFIG_FEATURE_CLEAN_UP is not set # CONFIG_FEATURE_CLEAN_UP is not set
# CONFIG_FEATURE_SUID is not set # CONFIG_FEATURE_SUID is not set

@ -14,6 +14,6 @@ MODULES_ATARAID="ataraid pdcraid hptraid"
MODULES_PCMCIA="pcmcia_core yenta_socket i82365 ds ide-cs" MODULES_PCMCIA="pcmcia_core yenta_socket i82365 ds ide-cs"
MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd usbhid sl811-hcd" MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd usbhid sl811-hcd"
MODULES_LVM2="dm-mod dm-snapshot dm-mirror dm-bbr" MODULES_LVM2="dm-mod dm-snapshot dm-mirror dm-bbr"
MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr" MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr raid0 raid1 raid5 raid6 raid10"
MODULES_DMRAID="dm-mod dm-mirror" MODULES_DMRAID="dm-mod dm-mirror"
MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci ata_piix sata_mv pdc_adma" MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci ata_piix sata_mv pdc_adma"

@ -12,7 +12,7 @@ CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
# CONFIG_FEATURE_VERBOSE_USAGE is not set # CONFIG_FEATURE_VERBOSE_USAGE is not set
# CONFIG_FEATURE_INSTALLER is not set # CONFIG_FEATURE_INSTALLER is not set
# CONFIG_LOCALE_SUPPORT is not set # CONFIG_LOCALE_SUPPORT is not set
CONFIG_FEATURE_DEVFS=y # CONFIG_FEATURE_DEVFS is not set
CONFIG_FEATURE_DEVPTS=y CONFIG_FEATURE_DEVPTS=y
# CONFIG_FEATURE_CLEAN_UP is not set # CONFIG_FEATURE_CLEAN_UP is not set
# CONFIG_FEATURE_SUID is not set # CONFIG_FEATURE_SUID is not set

@ -14,6 +14,6 @@ MODULES_ATARAID="ataraid pdcraid hptraid"
MODULES_PCMCIA="pcmcia_core yenta_socket i82365 ds ide-cs" MODULES_PCMCIA="pcmcia_core yenta_socket i82365 ds ide-cs"
MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd usbhid sl811-hcd" MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd usbhid sl811-hcd"
MODULES_LVM2="dm-mod dm-snapshot dm-mirror dm-bbr" MODULES_LVM2="dm-mod dm-snapshot dm-mirror dm-bbr"
MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr" MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr raid0 raid1 raid5 raid6 raid10"
MODULES_DMRAID="dm-mod dm-mirror" MODULES_DMRAID="dm-mod dm-mirror"
MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci ata_piix sata_mv pdc_adma" MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci ata_piix sata_mv pdc_adma"

@ -12,7 +12,7 @@ CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
# CONFIG_FEATURE_VERBOSE_USAGE is not set # CONFIG_FEATURE_VERBOSE_USAGE is not set
# CONFIG_FEATURE_INSTALLER is not set # CONFIG_FEATURE_INSTALLER is not set
# CONFIG_LOCALE_SUPPORT is not set # CONFIG_LOCALE_SUPPORT is not set
CONFIG_FEATURE_DEVFS=y # CONFIG_FEATURE_DEVFS is not set
CONFIG_FEATURE_DEVPTS=y CONFIG_FEATURE_DEVPTS=y
# CONFIG_FEATURE_CLEAN_UP is not set # CONFIG_FEATURE_CLEAN_UP is not set
# CONFIG_FEATURE_SUID is not set # CONFIG_FEATURE_SUID is not set

@ -14,6 +14,6 @@ MODULES_ATARAID="ataraid pdcraid hptraid"
MODULES_PCMCIA="pcmcia_core yenta_socket i82365 ds ide-cs" MODULES_PCMCIA="pcmcia_core yenta_socket i82365 ds ide-cs"
MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd usbhid sl811-hcd" MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd usbhid sl811-hcd"
MODULES_LVM2="dm-mod dm-snapshot dm-mirror dm-bbr" MODULES_LVM2="dm-mod dm-snapshot dm-mirror dm-bbr"
MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr" MODULES_EVMS2="dm-mod dm-snapshot dm-mirror dm-bbr raid0 raid1 raid5 raid6 raid10"
MODULES_DMRAID="dm-mod dm-mirror" MODULES_DMRAID="dm-mod dm-mirror"
MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci ata_piix sata_mv pdc_adma" MODULES_SATA="sata_promise sata_sil sata_sil24 sata_svw sata_via sata_nv sata_sx4 sata_sis sata_uli sata_vsc sata_qstor ahci ata_piix sata_mv pdc_adma"

Loading…
Cancel
Save