Fix #754: abuild keys did not get copied (#755)

This commit is contained in:
Oliver Smith 2017-10-12 22:01:59 +00:00 committed by GitHub
parent 7679c3c819
commit a13623bbfb
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ def init(args, suffix="native"):
suffix)
# Copy package signing key to /etc/apk/keys
for key in glob.glob(chroot + "/home/pmos/.abuild/*.pub"):
for key in glob.glob(chroot +
"/mnt/pmbootstrap-abuild-config/*.pub"):
key = key[len(chroot):]
pmb.chroot.root(args, ["cp", key, "/etc/apk/keys/"], suffix)