diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-06 19:35:20 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-06 19:35:20 +0000 |
commit | 48d517b705b0554dfe8c69ee57c54c6ea4ccbaec (patch) | |
tree | f1341f89643e58e41a7319eceda1f5b3666a4250 /distrib/amd64/ramdisk_cd | |
parent | 5fa114819e69ca671a1377211d235573364d3203 (diff) |
Use the new fdisk -b functionality to put an EFI system partition on the
minirootXX.fs image and put the new UEFI bootloader on there.
Stop relying on /etc/disktab for the partition layout. Instead use a suitable
template and let disklabel(8) allocate all remaining free space to the 'a'
partition.
ok deraadt@
Diffstat (limited to 'distrib/amd64/ramdisk_cd')
-rw-r--r-- | distrib/amd64/ramdisk_cd/Makefile | 5 | ||||
-rw-r--r-- | distrib/amd64/ramdisk_cd/template | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/distrib/amd64/ramdisk_cd/Makefile b/distrib/amd64/ramdisk_cd/Makefile index 88a593d3f08..5605e838990 100644 --- a/distrib/amd64/ramdisk_cd/Makefile +++ b/distrib/amd64/ramdisk_cd/Makefile @@ -1,11 +1,12 @@ -# $OpenBSD: Makefile,v 1.7 2014/07/16 19:59:30 okan Exp $ +# $OpenBSD: Makefile,v 1.8 2015/09/06 19:35:19 kettenis Exp $ .PATH: ${.CURDIR}/../ramdisk RAMDISK=RAMDISK_CD -FLOPPYSIZE=6976 +FLOPPYSIZE=7936 FLOPPYTYPE=mini34 XNAME=miniroot LBA=1 +TEMPLATE=${.CURDIR}/template .include "${.CURDIR}/../common/Makefile.inc" diff --git a/distrib/amd64/ramdisk_cd/template b/distrib/amd64/ramdisk_cd/template new file mode 100644 index 00000000000..74743914568 --- /dev/null +++ b/distrib/amd64/ramdisk_cd/template @@ -0,0 +1 @@ +/ 2M-* 100% |