diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-06 17:15:23 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-06 17:15:23 -0700 |
commit | 3787fd7925a3ec345e85f5f31c1d3b472e7f3334 (patch) | |
tree | e6db05632f2b8bb0b9696d0d06a449d4bfa3d3c2 | |
parent | 07c87fc6bdd3e4e44390c519bf5334ad9f140a8f (diff) | |
download | consfigurator-3787fd7925a3ec345e85f5f31c1d3b472e7f3334.tar.gz |
drop use of qemu-debootstrap(1)
It's deprecated in favour of debootstrap(1) which can now transparently handle
foreign architectures.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r-- | src/property/chroot.lisp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/property/chroot.lisp b/src/property/chroot.lisp index 124dfdd..f928476 100644 --- a/src/property/chroot.lisp +++ b/src/property/chroot.lisp @@ -29,9 +29,7 @@ (test "-d" root))) (:apply (let* ((os (car (getf (hostattrs host) :os))) - (args (list (if (os:supports-arch-p (get-hostattrs-car :os) - (os:linux-architecture os)) - "debootstrap" "qemu-debootstrap") + (args (list "debootstrap" (plist-to-cmd-args options) (strcat "--arch=" (os:debian-architecture os)) (os:debian-suite os) |