Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-08-20 12:25:21 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-08-20 12:25:21 +0000
commita2e676261a91302cb32d86c85cb514c0276affc2 (patch)
tree0bf6056d9298bcb0a2378c59d025e305c62dd1e8 /archinstall
parentba9d5c746f7e94b59befdcf469558e3532f4e590 (diff)
Added missing function reboot(). Also tweaked the build scripts so that they fetch a common version from the file VERSION. And some spelling tweaks for the log output.
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/general.py2
-rw-r--r--archinstall/lib/installer.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index 7718f623..e15f9bad 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -258,3 +258,5 @@ def prerequisit_check():
return True
+def reboot():
+ o = b''.join(sys_command(("/usr/bin/reboot"))) \ No newline at end of file
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index a6fafb03..5b72ca66 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -92,7 +92,7 @@ class Installer():
return True
def activate_ntp(self):
- log(f'Adding bootloader to {self.boot_partition}')
+ log(f'Installing and activating NTP.')
if self.pacstrap('ntp'):
if self.enable_service('ntpd'):
return True