path: root/scripts/mkimage.sh
diff options
authorTimo Teräs <timo.teras@iki.fi>2016-11-18 15:38:28 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-11-18 15:40:40 +0200
commite47d253fb49833e94a4665014219b98227d6fbf6 (patch)
treebd6a04a2e27530b99194b485c3e8250efeaad452 /scripts/mkimage.sh
parent0a56fcdbd4c0e8d24c681be43ef65ca44eeef356 (diff)
scripts/mkimage: preparation for efi boot in iso images
not enabled yet, but uncommenting the grub_mod should enable building of isolinux+grubefi hybrid images. once uefi boot works and is verified on aarch64, we can enable the vanilla iso image (grsec does not support aarch64).
Diffstat (limited to 'scripts/mkimage.sh')
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/mkimage.sh b/scripts/mkimage.sh
index baf3380edb..0b413207ca 100755
--- a/scripts/mkimage.sh
+++ b/scripts/mkimage.sh
@@ -1,6 +1,8 @@
-# apk add abuild apk-tools alpine-conf busybox fakeroot xorriso
+# apk add \
+# abuild apk-tools alpine-conf busybox fakeroot syslinux xorriso
+# (for efi:) mtools dosfstools grub-efi
# FIXME: clean workdir out of unneeded sections
# FIXME: --release: cp/mv images to REPODIR/$ARCH/releases/
@@ -55,7 +57,7 @@ usage() {
$0 [--tag RELEASE] [--outdir OUTDIR] [--workdir WORKDIR]
[--arch ARCH] [--profile PROFILE] [--hostkeys] [--simulate]
- [--yaml FILE]
+ [--repository REPO] [--yaml FILE]
$0 --help
@@ -64,6 +66,7 @@ options:
--hostkeys Copy system apk signing keys to created images
--outdir Specify directory for the created images
--profile Specify which profiles to build
+--repository Add package repository to use for the image
--simulate Don't execute commands
--tag Build images for tag RELEASE
--workdir Specify temporary working directory (cache)