X-Original-To: alpine-devel@lists.alpinelinux.org Received: from eju.eju.no (eju.no [139.162.216.22]) by lists.alpinelinux.org (Postfix) with ESMTP id 0A271F815E3 for ; Mon, 6 May 2019 21:48:08 +0000 (UTC) Received: by eju.eju.no (Postfix, from userid 1000) id 6FAD6177F02; Mon, 6 May 2019 21:48:08 +0000 (UTC) From: Eivind Uggedal To: alpine-devel@lists.alpinelinux.org Cc: Eivind Uggedal Subject: [alpine-devel] [PATCH abuild 2/4] buildlab: copy host signing keys Date: Mon, 6 May 2019 21:47:45 +0000 Message-Id: <20190506214747.26486-3-eu@eju.no> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190506214747.26486-1-eu@eju.no> References: <20190506214747.26486-1-eu@eju.no> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 @@ -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@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@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---