From d95634058dbb324b01bae86b0bbce14a70574348 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Sat, 22 May 2021 14:54:24 +0500 Subject: [PATCH] Create empty /etc/localtime --- create-arch-bootstrap.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/create-arch-bootstrap.sh b/create-arch-bootstrap.sh index dfbd985..01bb221 100755 --- a/create-arch-bootstrap.sh +++ b/create-arch-bootstrap.sh @@ -432,10 +432,15 @@ fi unmount_chroot -rm -f "${bootstrap}"/opt/* +# Clear pacman package cache rm -f "${bootstrap}"/var/cache/pacman/pkg/* + +# Create some empty files and directories +# This is needed for bubblewrap to be able to bind real files/dirs to them +# later in the conty-start.sh script mkdir "${bootstrap}"/media touch "${bootstrap}"/etc/asound.conf +touch "${bootstrap}"/etc/localtime clear echo "Done"