index : docker | |
Archlinux32 docker scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2024-10-17 20:36:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-10-17 20:36:24 +0200 |
commit | 90ea1813b6dc0f9c81150f868b83979294934c19 (patch) | |
tree | bc8a72e3dcd3815082362c71720970933752f487 | |
parent | 0b01629ff57c8baa2af91a9e3f2b319f42ca6d87 (diff) |
-rwxr-xr-x | mkimage-arch.sh | 2 |
diff --git a/mkimage-arch.sh b/mkimage-arch.sh index 98b99bc..f31f4b7 100755 --- a/mkimage-arch.sh +++ b/mkimage-arch.sh @@ -114,7 +114,7 @@ arch-chroot $MOUNTPOINT /bin/sh -c "pacman-key --init; pacman-key --populate $AR arch-chroot $MOUNTPOINT /bin/sh -c "ln -fs /usr/share/zoneinfo/UTC /etc/localtime" echo 'en_US.UTF-8 UTF-8' > $MOUNTPOINT/etc/locale.gen arch-chroot $MOUNTPOINT locale-gen -sed -i "s/Architecture.*/Architecture = ${ARCHITECTURE}/" "$MOUNTPOINT/etc/pacman.conf" +sed -i "s/Architecture.*/Architecture = ${ARCHITECTURE}/; s/DatabaseOptional/DatabaseNever/" "$MOUNTPOINT/etc/pacman.conf" arch-chroot $MOUNTPOINT /bin/sh -c 'echo $PACMAN_MIRRORLIST > /etc/pacman.d/mirrorlist' # udev doesn't work in containers, rebuild /dev |