summaryrefslogtreecommitdiffstats
path: root/release/picobsd
diff options
context:
space:
mode:
authordwhite <dwhite@FreeBSD.org>1999-10-17 22:42:57 +0000
committerdwhite <dwhite@FreeBSD.org>1999-10-17 22:42:57 +0000
commit12aedb126c2e4077c597628ebac93e134fbdad1c (patch)
tree4fef5436ec5729fef775cf075b87578f83df3aaf /release/picobsd
parentb412a34789d66b1c0b26d800d0d8e5a7a97553eb (diff)
downloadFreeBSD-src-12aedb126c2e4077c597628ebac93e134fbdad1c.zip
FreeBSD-src-12aedb126c2e4077c597628ebac93e134fbdad1c.tar.gz
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'.
Diffstat (limited to 'release/picobsd')
-rwxr-xr-xrelease/picobsd/build/stage12
1 files changed, 1 insertions, 1 deletions
diff --git a/release/picobsd/build/stage1 b/release/picobsd/build/stage1
index 8913f6e..c467b17 100755
--- a/release/picobsd/build/stage1
+++ b/release/picobsd/build/stage1
@@ -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 .
OpenPOWER on IntegriCloud