aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-03-27 11:04:51 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-03-28 18:54:28 +0000
commitd6616e3dbaeeb0cf336dda3eec1c5fa7faf8a5c5 (patch)
treee4ee261da83ac67916c5704a6e1dd1c4e20d69e0
parentb56440b34356282a9b659366341d81e620e515e5 (diff)
downloadsrc-d6616e3dbaeeb0cf336dda3eec1c5fa7faf8a5c5.tar.gz
src-d6616e3dbaeeb0cf336dda3eec1c5fa7faf8a5c5.zip
release: amd64: Fix ISO/USB hybrid image
Recent mkimg changes forces to have partitions given in explicit order. This is so we can have the first partition starting at a specific offset and the next ones starting after without having to specify an offset. Switch the partition in the mkisoimage.sh script so the first one created is the isoboot one. Approved by: re(gjb) PR: 254490 Reported by: Michael Dexter <editor@callfortesting.org Tested by: Vincent Milum Jr <freebsd@darkain.com> MFC after: Right now (cherry picked from commit 90d2f7c413f9fc4ac479fa5e91ba1de6d4ea8d45) (cherry picked from commit 08639983e0384556a37d19814f55417f604964a1)
-rw-r--r--release/amd64/mkisoimages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/amd64/mkisoimages.sh b/release/amd64/mkisoimages.sh
index 1a1440fa1983..a9e8a2c04392 100644
--- a/release/amd64/mkisoimages.sh
+++ b/release/amd64/mkisoimages.sh
@@ -89,8 +89,8 @@ if [ "$bootable" != "" ]; then
$MKIMG -s gpt \
--capacity $imgsize \
-b "$BASEBITSDIR/boot/pmbr" \
- $espparam \
-p freebsd-boot:="$BASEBITSDIR/boot/isoboot" \
+ $espparam \
-o hybrid.img
# Drop the PMBR, GPT, and boot code into the System Area of the ISO.