pmb: chroot: init: explicitly install the keys package

The alpine keys are explicitly installed by the alpine-base dependency.
This adds the postmarketos-base to /etc/apk/world for new chroots so
they don't get purged when the chroot gets cleaned.
This commit is contained in:
Martijn Braam 2021-09-08 13:28:20 +02:00
parent 51bfdc9784
commit 49dfde2851
No known key found for this signature in database
GPG Key ID: C4280ACB000B060F
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ def init(args, suffix="native"):
pmb.chroot.apk_static.run(args, ["--root", chroot,
"--cache-dir", apk_cache,
"--initdb", "--arch", arch,
"add", "alpine-base"])
"add", "alpine-base", "postmarketos-keys"])
# Building chroots: create "pmos" user, add symlinks to /home/pmos
if not suffix.startswith("rootfs_"):