1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

boot1: remove BOOT1_MAXSIZE default value

This Makefile relies on Makefile.fat providing the correct value for
BOOT1_MAXSIZE and BOOT1_OFFSET. Since BOOT1_OFFSET had no default value
here the build would already fail if Makefile.fat did not provide
correct values.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2017-09-11 14:33:04 +00:00
parent 970165f190
commit e9346a94d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323436
5 changed files with 4 additions and 5 deletions

View File

@ -32,7 +32,7 @@ fi
echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab
echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
makefs -B little -o label=FreeBSD_Install ${2}.part ${1} makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
rm ${1}/etc/fstab rm ${1}/etc/fstab
rm ${1}/etc/rc.conf.local rm ${1}/etc/rc.conf.local

View File

@ -32,7 +32,7 @@ fi
echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab
echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
makefs -B little -o label=FreeBSD_Install ${2}.part ${1} makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
rm ${1}/etc/fstab rm ${1}/etc/fstab
rm ${1}/etc/rc.conf.local rm ${1}/etc/rc.conf.local

View File

@ -32,7 +32,7 @@ fi
echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab
echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
makefs -B little -o label=FreeBSD_Install ${2}.part ${1} makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
rm ${1}/etc/fstab rm ${1}/etc/fstab
rm ${1}/etc/rc.conf.local rm ${1}/etc/rc.conf.local

View File

@ -37,7 +37,7 @@ fi
echo '/dev/da0s3 / ufs ro,noatime 1 1' > ${1}/etc/fstab echo '/dev/da0s3 / ufs ro,noatime 1 1' > ${1}/etc/fstab
echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
rm -f ${tempfile} rm -f ${tempfile}
makefs -B big ${tempfile} ${1} makefs -B big -o version=2 ${tempfile} ${1}
rm ${1}/etc/fstab rm ${1}/etc/fstab
rm ${1}/etc/rc.conf.local rm ${1}/etc/rc.conf.local

View File

@ -126,7 +126,6 @@ boot1.o: ${.CURDIR}/../../common/ufsread.c
# created by generate-fat.sh # created by generate-fat.sh
.include "${.CURDIR}/Makefile.fat" .include "${.CURDIR}/Makefile.fat"
BOOT1_MAXSIZE?= 131072
boot1.efifat: boot1.efi boot1.efifat: boot1.efi
@set -- `ls -l ${.ALLSRC}`; \ @set -- `ls -l ${.ALLSRC}`; \