summaryrefslogtreecommitdiff
path: root/configs/profile/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'configs/profile/build.sh')
-rwxr-xr-xconfigs/profile/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/profile/build.sh b/configs/profile/build.sh
index e52cb86..d3e519f 100755
--- a/configs/profile/build.sh
+++ b/configs/profile/build.sh
@@ -149,6 +149,8 @@ make_packages() {
fi
# refresh pacman keyring in chroot
+cp -r /etc/pacman.d/gnupg/ ./hostgnupg/
+cp -r ${work_dir}/${arch}/root-image/etc/pacman.d/gnupg/ ./chrootgnupg/
arch-chroot ${work_dir}/${arch}/root-image rm -rf /etc/pacman.d/gnupg/ && \
pacman-key --init && \
pacman -S --noconfirm archlinux-keyring \
@@ -162,6 +164,8 @@ make_packages() {
archlinux32-keyring \
archlinuxarm-keyring \
parabola-keyring ;
+echo "ls ./hostgnupg/" ; ls -al /etc/pacman.d/gnupg/ ./hostgnupg/
+echo "ls ./chrootgnupg/" ; ls -al ${work_dir}/${arch}/root-image/etc/pacman.d/gnupg/ ./chrootgnupg/
}
# Copy mkinitcpio parabolaiso hooks and build initramfs (root-image)