freebsd-dev/sys/boot/efi/boot1
Ed Maste 5e66298138 boot1 generate-fat: generate all templates at once
In advance of other changes to the fat template generation process, have
generate-fat.sh create all template files at the same time so that they
cannot get out of sync.

Also correct a longstanding but where BOOT1_OFFSET was overwritten on
each invocation. A previous version of this patch stored a per-arch
offset (e.g. BOOT1_arm64_OFFSET) but that was deemed unnecessary.
Instead just hardcode the known offset that applies to all archs (0x2d)
and fail if the offset happens to be different.

Ongiong work (using newfs_msdos in bsdinstall and adding msdosfs support
to makefs) will eventually allow us to do away with this fat template
hack altogether, but in the near term we have a few improvements that
will build on this.

Reviewed by:	allanjude, imp, Eric McCorkle
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D10931
2017-09-11 00:37:00 +00:00
..
boot1.c ucs2len 2017-09-07 07:30:05 +00:00
boot_module.h Use efi_devpath_str for debug path info. 2017-08-26 23:04:19 +00:00
fat-amd64.tmpl.bz2.uu boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
fat-arm64.tmpl.bz2.uu boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
fat-arm.tmpl.bz2.uu boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
fat-i386.tmpl.bz2.uu boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
generate-fat.sh boot1 generate-fat: generate all templates at once 2017-09-11 00:37:00 +00:00
Makefile Fix armv6 build 2017-09-07 07:30:24 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-02-16 02:14:30 +00:00
Makefile.fat boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
ufs_module.c Use efi_devpath_str for debug path info. 2017-08-26 23:04:19 +00:00
zfs_module.c Use efi_devpath_str for debug path info. 2017-08-26 23:04:19 +00:00