Reverse the sense of the /mnt/boot/defaults dir check. This was causing
the bootloader to not load the loader.conf and thus the MFS image. The result was 'panic: no init'.
This commit is contained in:
parent
5cb10d8b01
commit
fa8fe36fec
@ -212,7 +212,7 @@ cp kernel.gz /mnt/kernel.gz || fail $? kernel_compress
|
||||
|
||||
gzip -9cv ${MFS_NAME} > /mnt/${MFS_NAME}.gz || fail $? mfs_compress
|
||||
|
||||
if [ -d /mnt/boot/defaults ] ; then
|
||||
if [ ! -d /mnt/boot/defaults ] ; then
|
||||
mkdir -p /mnt/boot/defaults
|
||||
fi
|
||||
cp /boot/loader .
|
||||
|
Loading…
Reference in New Issue
Block a user