aboutsummaryrefslogtreecommitdiff
path: root/src/property/chroot.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-03-11 14:57:29 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-03-11 16:25:36 -0700
commitf1cdc293b33b673de4813c71dc4a38337edff12e (patch)
tree94a43d6c26f5bbf299fa295d984d91839b397c18 /src/property/chroot.lisp
parentf7aea946fad9ff801f9a7507a6afce000228507c (diff)
downloadconsfigurator-f1cdc293b33b673de4813c71dc4a38337edff12e.tar.gz
replace uses of CALL-WITH-OS & drop the function
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/chroot.lisp')
-rw-r--r--src/property/chroot.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/property/chroot.lisp b/src/property/chroot.lisp
index 5b1c9b1..805f676 100644
--- a/src/property/chroot.lisp
+++ b/src/property/chroot.lisp
@@ -72,9 +72,9 @@
;; %DEBOOTSTRAP-MANUALLY-INSTALLED for the case where the
;; architectures do not match because ensuring that debootstrap(8)
;; will be able to bootstrap a foreign arch is more involved.
- ,@(and (not (call-with-os
- #'os:supports-arch-p
- (os:linux-architecture (get-hostattrs-car :os host))))
+ ,@(and (not (os:supports-arch-p
+ (get-hostattrs-car :os) (os:linux-architecture
+ (get-hostattrs-car :os host))))
'((os:etypecase
(debianlike (apt:installed "qemu-user-static")))))))))