BUSYBOX=1
fi
- if isTrue "${CMD_BLADECENTER}"
- then
- BLADECENTER=1
- else
- BLADECENTER=0
- fi
-
if isTrue "${CMD_DMRAID}"
then
DMRAID=1
mknod -m 660 null c 1 3
mknod -m 600 tty1 c 4 1
cd "${TEMP}/initramfs-base-temp/"
- if [ "${BLADECENTER}" -eq '1' ]
- then
- echo "BLADECENTER=1" >> ${TEMP}/initramfs-base-temp/etc/startup.conf
- fi
find . -print | cpio --quiet -o -H newc | gzip -9 > ${CACHE_CPIO_DIR}/initramfs-base-layout.cpio.gz
rm -rf "${TEMP}/initramfs-base-temp" > /dev/null
}
fi
mkdir -p "${TEMP}/initramfs-aux-temp/lib/keymaps"
/bin/tar -C "${TEMP}/initramfs-aux-temp/lib/keymaps" -zxf "${GK_SHARE}/generic/keymaps.tar.gz"
+ if isTrue $CMD_BLADECENTER
+ then
+ echo 'MY_HWOPTS="${MY_HWOPTS} bladecenter"' >> ${TEMP}/initramfs-aux-temp/etc/initrd.defaults
+ fi
cd ${TEMP}/initramfs-aux-temp/sbin && ln -s ../init init
cd ${TEMP}
cd ${TEMP}/initrd-temp/dev
MAKEDEV std
MAKEDEV console
- if [ "${BLADECENTER}" -eq '1' ]
- then
- echo "BLADECENTER=1" >> ${TEMP}/initrd-temp/etc/startup.conf
- fi
-
+
if [ "${DISKLABEL}" -eq '1' ]; then
cp "${BLKID_BINCACHE}" "${TEMP}/initrd-temp/bin/blkid.bz2" ||
gen_die 'Could not copy blkid from bincache!'
fi
mkdir -p "${TEMP}/initrd-temp/lib/keymaps"
/bin/tar -C "${TEMP}/initrd-temp/lib/keymaps" -zxf "${GK_SHARE}/generic/keymaps.tar.gz"
+ if isTrue $CMD_BLADECENTER
+ then
+ echo 'MY_HWOPTS="${MY_HWOPTS} bladecenter"' >> ${TEMP}/initrd-temp/etc/initrd.defaults
+ fi
cd ${TEMP}/initrd-temp/sbin && ln -s ../linuxrc init
cd ${OLDPWD}
# Only sections that are in by default or those that
# are not module groups need to be defined here...
-HWOPTS='usb firewire keymap cache evms2 sata lvm2 dmraid'
+HWOPTS='usb firewire keymap cache evms2 sata lvm2 dmraid bladecenter'
MY_HWOPTS='usb firewire sata dmraid'
if [ "${USE_UDEV_NORMAL}" -eq '1' ]
then
cd /sys
- [ "${BLADECENTER}" -eq '1' ] && sleep 10
+ [ "${DO_bladecenter}" -eq '1' ] && sleep 10
kill_devfsd
good_msg 'Activating udev'
runUdev
- [ "${BLADECENTER}" -eq '1' ] && sleep 20
+ [ "${DO_bladecenter}" -eq '1' ] && sleep 20
cd /
else
if [ ! -e /dev/.devfsd ]
. /etc/initrd.defaults
. /etc/initrd.scripts
-. /etc/startup.conf
splash() {
return 0
SDELAY=10
;;
- # IBM BladeCenter support
- bladecenter)
- BLADECENTER=1
- ;;
- nobladecenter)
- BLADECENTER=0
- ;;
-
# Module no-loads
noload\=*)
MLIST=`parse_opt "${x}"`
fi
done
- [ "${BLADECENTER}" -eq '1' ] && sleep 10
+ [ "${DO_bladecenter}" -eq '1' ] && sleep 10
mkdir initrd proc tmp sys 2>/dev/null
chmod 1777 tmp
fi
# Let Init scripts know that we booted from CD
export CDBOOT
CDBOOT=1
- [ "${BLADECENTER}" -eq '1' ] && sleep 10
+ [ "${DO_bladecenter}" -eq '1' ] && sleep 10
else
mkdir -p ${NEW_ROOT}/tmp/.initrd
fi
cd ${CHROOT}
mkdir ${CHROOT}/proc ${CHROOT}/sys 2>/dev/null
pivot_root . tmp/.initrd
- [ "${BLADECENTER}" -eq '1' ] && sleep 10
+ [ "${DO_bladecenter}" -eq '1' ] && sleep 10
echo -n '.'
if /tmp/.initrd/bin/[ "${USE_DEVFS_NORMAL}" -eq '1' -a "${CDROOT}" -eq '0' ]
# Genkernel v3
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
-GK_V='3.3.3'
+GK_V='3.3.4'
TMPDIR='/var/tmp/genkernel'
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.