Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-09-24 16:19:53 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2019-09-24 16:19:53 +0200
commit10c8915d10cbb356829eb96af1e99929bdeea4bb (patch)
tree790be86fe9637edcecca29390719e363996bde70 /archinstall.py
parentfae0045c74d69834d7f3eab2bb5121972d7c6fdb (diff)
Following a change on how base is installed, now /etc/localtime doesn't exist anymore?
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 7113629b..ac544f79 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -734,7 +734,7 @@ if __name__ == '__main__':
with open('/mnt/etc/fstab', 'a') as fstab:
fstab.write('\ntmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0\n') # Redundant \n at the start? who knoes?
- o = b''.join(sys_command('/usr/bin/arch-chroot /mnt rm /etc/localtime').exec())
+ o = b''.join(sys_command('/usr/bin/arch-chroot /mnt rm -f /etc/localtime').exec())
o = b''.join(sys_command('/usr/bin/arch-chroot /mnt ln -s /usr/share/zoneinfo/{localtime} /etc/localtime'.format(**args)).exec())
o = b''.join(sys_command('/usr/bin/arch-chroot /mnt hwclock --hctosys --localtime').exec())
#o = sys_command('arch-chroot /mnt echo "{hostname}" > /etc/hostname'.format(**args)).exec()