Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-05-19 20:52:33 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-19 22:09:27 -0400
commitc03da01412ace204d86a57aa817b43159a699b80 (patch)
treebe716c6043c94a861c32928d4d0edd3ad1ce012e
parent592c1737671e4de8f9601f94020d7fb9c162e6cb (diff)
Run custom commands within bash session
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 7ded5c53..65f4c9d9 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -386,7 +386,7 @@ def perform_installation(mountpoint):
if len(archinstall.arguments['custom-commands']):
for command in archinstall.arguments['custom-commands']:
archinstall.log(f'Executing custom command "{command}" ...', fg='yellow')
- SysCommand(f"arch-chroot /mnt {command}")
+ SysCommand(f"arch-chroot /mnt bash -c '{command}'")
installation.log("For post-installation tips, see https://wiki.archlinux.org/index.php/Installation_guide#Post-installation", fg="yellow")