Mail archive
alpine-devel

[alpine-devel] [PATCH abuild 2/4] buildlab: copy host signing keys

From: Eivind Uggedal <eu_at_eju.no>
Date: Mon, 6 May 2019 21:47:45 +0000

This change makes buildlab actually able to
install packages when a chroot is created.
---
 buildlab.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/buildlab.in b/buildlab.in
index e0d64d665380..073400851749 100644
--- a/buildlab.in
+++ b/buildlab.in
_at_@ -119,7 +119,9 @@ prepare_chroot() {
 
 	msg "Setting up repositories for mirror $mirror with version $version at $path..."
 
-	mkdir -p "$path"/etc/apk
+	mkdir -p "$path"/etc/apk/keys
+	cp /etc/apk/keys/alpine-devel_at_lists.alpinelinux.org-*.pub \
+		"$path"/etc/apk/keys/
 	echo "http://$mirror/alpine/$version/main" >> "$path"/etc/apk/repositories
 	echo "http://$mirror/alpine/$version/testing" >> "$path"/etc/apk/repositories
 
-- 
2.20.1
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Mon May 06 2019 - 21:47:45 UTC