aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.base.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-11-09 21:53:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-11-14 20:10:39 +0000
commit41b10e1aa4a669b8baea6ca23fa350bff1dbc4a0 (patch)
tree66321d933b101dda32d980e319cbe90f8cf3afcf /scripts/mkimg.base.sh
parent1a2a03519b7258ee9c3683f43422cb53daeec81f (diff)
downloadaports-41b10e1aa4a669b8baea6ca23fa350bff1dbc4a0.tar.gz
aports-41b10e1aa4a669b8baea6ca23fa350bff1dbc4a0.tar.bz2
aports-41b10e1aa4a669b8baea6ca23fa350bff1dbc4a0.tar.xz
scripts/mkimage: automatically add pubkey from abuild
the boot repositry needs to be signed with a key. We explicitly copy this to initramfs so users don't need use --hostkeys which requires access to /etc/apk/keys/ without the key in intramfs the boot repository will be useless
Diffstat (limited to 'scripts/mkimg.base.sh')
-rw-r--r--scripts/mkimg.base.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mkimg.base.sh b/scripts/mkimg.base.sh
index db2a3b2818..354d174010 100644
--- a/scripts/mkimg.base.sh
+++ b/scripts/mkimg.base.sh
@@ -4,6 +4,7 @@ build_kernel() {
local _pkgs="$@"
update-kernel \
$_hostkeys \
+ ${_abuild_pubkey:+--apk-pubkey $_abuild_pubkey} \
--media \
--flavor "$_flavor" \
--arch "$ARCH" \