aboutsummaryrefslogtreecommitdiff
path: root/src/property/chroot.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-07-12 12:59:07 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-07-12 13:04:56 -0700
commit63f4de9e95473f30df8f044e4967c1c51cf7c6e2 (patch)
tree2960cf991a12124370f346a5a469ad99c353a409 /src/property/chroot.lisp
parent84950a1ef418e4bb08db825ac75dfad6de9f2fcf (diff)
downloadconsfigurator-63f4de9e95473f30df8f044e4967c1c51cf7c6e2.tar.gz
add idea about using arch-test(1)
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/chroot.lisp')
-rw-r--r--src/property/chroot.lisp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/property/chroot.lisp b/src/property/chroot.lisp
index 3e9ae16..3e30702 100644
--- a/src/property/chroot.lisp
+++ b/src/property/chroot.lisp
@@ -40,6 +40,13 @@
(os:debian-suite os)
root)))
options
+
+ ;; In the case where the chroot arch is not equal to the host arch, we
+ ;; could execute arch-test(1) here to confirm the architecture is
+ ;; executable by the running kernel; we'd add arch-test alongside
+ ;; qemu-user-static in %OS-BOOTSTRAPPER-INSTALLED. Or possibly we only
+ ;; try to execute arch-test(1) when we find it's already on PATH.
+
(when apt.proxy
(setq args (list* :env (list :http_proxy apt.proxy) args)))
(when apt.mirror