[neon/infrastructure/pangea-data] imager/config-hooks-neon: copy into the chroot ourselves

Carlos De Maine null at kde.org
Fri Aug 16 15:59:06 BST 2024


Git commit 711107a399dec19c0916f511348959d1b00f73c1 by Carlos De Maine.
Committed on 16/08/2024 at 14:59.
Pushed by carlosdem into branch 'master'.

copy into the chroot ourselves

M  +4    -4    imager/config-hooks-neon/repo.sh

https://invent.kde.org/neon/infrastructure/pangea-data/-/commit/711107a399dec19c0916f511348959d1b00f73c1

diff --git a/imager/config-hooks-neon/repo.sh b/imager/config-hooks-neon/repo.sh
index 0cdcfa5..cbe5eee 100644
--- a/imager/config-hooks-neon/repo.sh
+++ b/imager/config-hooks-neon/repo.sh
@@ -35,12 +35,12 @@ apt install -y curl
   gpg --import /etc/apt/keyring/neon-archive-keyring.gpg
 
   # cp our non-armoured (binary) public key to where it needs to be
-  mkdir  -p config/archives/keyring/
-  cp /etc/apt/keyring/* config/archives/keyring/
+  mkdir  -p chroot/etc/apt/keyring/
+  cp /etc/apt/keyring/* chroot/etc/apt/keyring/
 
   # make sure _apt can read this file. it may get copied into the chroot
-  chmod 644 config/archives/keyring/neon-archive-keyring.asc || true
-  chmod 644 config/archives/keyring/neon-archive-keyring.gpg || true
+  chmod 644 chroot/etc/apt/keyring/neon-archive-keyring.asc || true
+  chmod 644 chroot/etc/apt/keyring/neon-archive-keyring.gpg || true
 
   # use a signed neon.list until we work out how to enable neon.sources in livecd-rootfs
   cat <<EOF >config/archives/neon.list


More information about the Neon-commits mailing list