mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
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
a95ae1936f
commit
eb5fe92141
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52369
@ -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