From 49dfde28515f69904cd711577b5ea99484e91787 Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Wed, 8 Sep 2021 13:28:20 +0200 Subject: [PATCH] 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. --- pmb/chroot/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/chroot/init.py b/pmb/chroot/init.py index f7fc6b08..1e35b8bf 100644 --- a/pmb/chroot/init.py +++ b/pmb/chroot/init.py @@ -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_"):