Create empty /etc/localtime

This commit is contained in:
Kron4ek 2021-05-22 14:54:24 +05:00 committed by GitHub
parent 68bc1b222d
commit d95634058d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"