From a87b30d2f6fa878049e0f9cc77e0d79db10beaf7 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 11 Apr 2019 23:34:43 +0200 Subject: Swapped no-chroot to simple command. More expected behavior that way --- archinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall.py') diff --git a/archinstall.py b/archinstall.py index 4f79da6a..f3aacd19 100644 --- a/archinstall.py +++ b/archinstall.py @@ -629,7 +629,7 @@ if __name__ == '__main__': ## Either skipping mounting /run and using traditional chroot is an option, but using ## `systemd-nspawn -D /mnt --machine temporary` might be a more flexible solution in case of file structure changes. if 'no-chroot' in opts and opts['no-chroot']: - o = b''.join(sys_command(command, opts).exec()) + o = simple_command(command, opts) elif 'chroot' in opts and opts['chroot']: ## Run in a manually set up version of arch-chroot (arch-chroot will break namespaces). ## This is a bit risky in case the file systems changes over the years, but we'll probably be safe adding this as an option. -- cgit v1.2.3-70-g09d2