Drop qemu-debootstrap

qemu-debootstrap is deprecated for a while. In newer qemu release
the command is totally removed. We can use debootstrap directly.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
This commit is contained in:
Ying-Chun Liu (PaulLiu) 2023-08-04 04:42:15 +08:00 committed by Gianfranco Costamagna
parent bce1ef88c5
commit ffc787b454
2 changed files with 3 additions and 3 deletions

View File

@ -754,8 +754,8 @@ if [ "$CHROOT_ARCH" != "$HOST_ARCH" ] ; then
;;
# Sometimes we do
*)
DEBOOTSTRAP_COMMAND=qemu-debootstrap
if ! which "$DEBOOTSTRAP_COMMAND"; then
DEBOOTSTRAP_COMMAND=debootstrap
if ! which "qemu-x86_64-static"; then
sudo apt-get install qemu-user-static
fi
;;

View File

@ -492,7 +492,7 @@ def main():
("powerpc", "ppc64"),
("ppc64", "powerpc"),
]:
args += ["--debootstrap", "qemu-debootstrap"]
args += ["--debootstrap", "debootstrap"]
if "mainonly" in sys.argv or "--main-only" in sys.argv:
app.extra_components = False