Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-04-11 23:34:43 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2019-04-11 23:34:43 +0200
commita87b30d2f6fa878049e0f9cc77e0d79db10beaf7 (patch)
treec179c8489ec6edf12b934b3e825ddba21703394e
parentb32657257813b7bfd8894c919fb05317e39dda9c (diff)
Swapped no-chroot to simple command. More expected behavior that way
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
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.