mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Use ${RD}/trees/base/boot/loader for kern.flp instead of /boot/loader.
This commit is contained in:
parent
a9ed5e1173
commit
977a68cc93
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106409
@ -1011,11 +1011,11 @@ doMFSKERN:
|
||||
@echo "Setting up /boot directory for ${FSIMAGE} floppy"
|
||||
@mkdir -p ${RD}/image.${FSIMAGE}/boot
|
||||
.if ${TARGET} == "i386"
|
||||
@kgzip -vo ${RD}/image.${FSIMAGE}/boot/loader /boot/loader
|
||||
@kgzip -vo ${RD}/image.${FSIMAGE}/boot/loader ${RD}/trees/base/boot/loader
|
||||
.elif ${TARGET} == "ia64"
|
||||
@cp /boot/loader.efi ${RD}/image.${FSIMAGE}/boot
|
||||
@cp ${RD}/trees/base/boot/loader.efi ${RD}/image.${FSIMAGE}/boot
|
||||
.else
|
||||
@cp /boot/loader ${RD}/image.${FSIMAGE}/boot
|
||||
@cp ${RD}/trees/base/boot/loader ${RD}/image.${FSIMAGE}/boot
|
||||
.endif
|
||||
@[ -r ${RD}/kernels/BOOTMFS.${FSIMAGE}.hints ] && \
|
||||
sed -e '/^hint/s/^/set /' -e '/^#/d' \
|
||||
|
Loading…
Reference in New Issue
Block a user