Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
locale: copy host locale definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Hannache <[email protected]>
  • Loading branch information
Marin Hannache committed Mar 20, 2019
1 parent 302665a commit 67c706b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch-creator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 67c706b

Please sign in to comment.