From 67c706b6823b44fb143f3a855df6039455528d86 Mon Sep 17 00:00:00 2001 From: Marin Hannache Date: Wed, 20 Mar 2019 18:57:50 +0100 Subject: [PATCH] locale: copy host locale definitions Signed-off-by: Marin Hannache --- arch-creator.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch-creator.sh b/arch-creator.sh index 0fbdc62..5a01450 100755 --- a/arch-creator.sh +++ b/arch-creator.sh @@ -117,6 +117,8 @@ bootstrap() { "| grep -v '^linux' | sort -u | xargs" \ "pacstrap -cd ${ROOTFS_DIR}" + run "cp /usr/lib/locale/locale-archive ${ROOTFS_DIR}/usr/lib/locale/locale-archive" + unstep } @@ -188,6 +190,8 @@ gen_kernel() { chmod +r "${IMAGES_DIR}/${IMAGE_NAME}_initramfs-linux.img" + run_chroot "rm /root/initramfs-linux.img" + # Salt is broken with current version of systemd run_unless '[ -f "${ROOTFS_DIR}/bin/systemctl.old" ]' \ cp "${ROOTFS_DIR}/bin/systemctl" "${ROOTFS_DIR}/bin/systemctl.old"