@ -34,10 +34,6 @@ create_base_layout_cpio() {
mknod -m 660 null c 1 3
mknod -m 660 null c 1 3
mknod -m 600 tty1 c 4 1
mknod -m 600 tty1 c 4 1
cd " ${ TEMP } /initramfs-base-temp/ "
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
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
rm -rf " ${ TEMP } /initramfs-base-temp " > /dev/null
}
}
@ -408,6 +404,10 @@ create_initramfs_aux() {
fi
fi
mkdir -p " ${ TEMP } /initramfs-aux-temp/lib/keymaps "
mkdir -p " ${ TEMP } /initramfs-aux-temp/lib/keymaps "
/bin/tar -C " ${ TEMP } /initramfs-aux-temp/lib/keymaps " -zxf " ${ GK_SHARE } /generic/keymaps.tar.gz "
/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 } /initramfs-aux-temp/sbin && ln -s ../init init
cd ${ TEMP }
cd ${ TEMP }