fix timedatectl and localectl bug

This commit is contained in:
Dan Johansen 2019-03-25 13:42:35 +01:00
parent b4f2c600e4
commit 56cc6b1830
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ create_install() {
echo "KEYMAP=$KEYMAP" | sudo tee --append $TMPDIR/root/etc/vconsole.conf 1> /dev/null 2>&1
$NSPAWN $TMPDIR/root localectl set-x11-keymap $KEYMAP 1> /dev/null 2>&1
echo "$HOSTNAME" | sudo tee --append $TMPDIR/root/etc/hostname 1> /dev/null 2>&1
sudo chown -R root:root $TMPDIR/root/etc 1> /dev/null 2>&1
info "Doing device specific setups for $DEVICE..."
if [[ "$DEVICE" = "rpi2" ]] || [[ "$DEVICE" = "rpi3" ]]; then