diff options
author | nl6720 <nl6720@gmail.com> | 2023-06-25 12:33:54 +0300 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2023-06-26 05:00:52 +0300 |
commit | 7884f3ab96c62f470f2d12ab6d485a9162ca2c94 (patch) | |
tree | cd7d1e8ce974a10b240a7478bf5f6465ef69409d | |
parent | f18ebba704d6f51f3567f8ccf3ed41061b1d2fce (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-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/" } |