summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigs/profile/build.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/configs/profile/build.sh b/configs/profile/build.sh
index 9a88c76..e52cb86 100755
--- a/configs/profile/build.sh
+++ b/configs/profile/build.sh
@@ -149,10 +149,19 @@ make_packages() {
fi
# refresh pacman keyring in chroot
- arch-chroot ${work_dir}/${arch}/root-image pacman-key --init && \
+ arch-chroot ${work_dir}/${arch}/root-image rm -rf /etc/pacman.d/gnupg/ && \
+ pacman-key --init && \
+ pacman -S --noconfirm archlinux-keyring \
+ archlinux32-keyring \
+ archlinuxarm-keyring \
+ parabola-keyring && \
pacman-key --populate archlinux archlinux32 \
archlinuxarm parabola && \
- pacman-key --refresh
+ pacman-key --refresh && \
+ pacman -S --noconfirm archlinux-keyring \
+ archlinux32-keyring \
+ archlinuxarm-keyring \
+ parabola-keyring ;
}
# Copy mkinitcpio parabolaiso hooks and build initramfs (root-image)