Fixed up the BladeCenter support some more.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@292 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 20 years ago
parent 11b2b4a0a5
commit c6e93a1f93

@ -34,6 +34,10 @@ create_base_layout_cpio() {
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
}

@ -56,6 +56,10 @@ create_base_initrd_sys() {
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" ||

@ -5,6 +5,7 @@
. /etc/initrd.defaults
. /etc/initrd.scripts
. /etc/startup.conf
splash() {
return 0
@ -138,9 +139,14 @@ do
scandelay)
SDELAY=10
;;
# IBM BladeCenter support
bladecenter)
BLADECENTER=1
;;
nobladecenter)
BLADECENTER=0
;;
# Module no-loads
noload\=*)

Loading…
Cancel
Save