summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2023-06-25 12:33:54 +0300
committernl6720 <nl6720@gmail.com>2023-06-26 05:00:52 +0300
commit7884f3ab96c62f470f2d12ab6d485a9162ca2c94 (patch)
treecd7d1e8ce974a10b240a7478bf5f6465ef69409d
parentf18ebba704d6f51f3567f8ccf3ed41061b1d2fce (diff)
Initialize an empty pacman keyring in the target
Use `pacstrap -K` to create a new pacman keyring instead of copying it from the host. While it gets removed either way in `image_cleanup`, it seems better to avoid using things from the host.
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index f639cd4..5e3bba3 100755
--- a/build.sh
+++ b/build.sh
@@ -77,7 +77,7 @@ EOF
echo "Server = ${MIRROR}" >mirrorlist
# We use the hosts package cache
- pacstrap -c -C pacman.conf -M "${MOUNT}" base linux grub openssh sudo btrfs-progs dosfstools efibootmgr
+ pacstrap -c -C pacman.conf -K -M "${MOUNT}" base linux grub openssh sudo btrfs-progs dosfstools efibootmgr
cp mirrorlist "${MOUNT}/etc/pacman.d/"
}