Fix minimal ISO installation
- Minimal ISO's have little in /usr/src - Copy boot.cfg from /etc instead
This commit is contained in:
parent
445f634a90
commit
90f82bb33e
1 changed files with 1 additions and 1 deletions
|
@ -744,7 +744,7 @@ mount /dev/$usr /mnt/usr >/dev/null || exit
|
||||||
# XXX we have to use "-f" here, because installboot worries about BPB, which
|
# XXX we have to use "-f" here, because installboot worries about BPB, which
|
||||||
# we don't have...
|
# we don't have...
|
||||||
installboot_nbsd -f /dev/$primary /usr/mdec/bootxx_minixfs3 >/dev/null || exit
|
installboot_nbsd -f /dev/$primary /usr/mdec/bootxx_minixfs3 >/dev/null || exit
|
||||||
cp /mnt/usr/src/etc/boot.cfg.default /mnt/boot.cfg
|
cp /mnt/etc/boot.cfg.default /mnt/boot.cfg
|
||||||
chroot /mnt update_bootcfg
|
chroot /mnt update_bootcfg
|
||||||
|
|
||||||
# Save name of CD drive
|
# Save name of CD drive
|
||||||
|
|
Loading…
Reference in a new issue