mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-17 03:41:28 +00:00
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:
parent
bce1ef88c5
commit
ffc787b454
@ -754,8 +754,8 @@ if [ "$CHROOT_ARCH" != "$HOST_ARCH" ] ; then
|
|||||||
;;
|
;;
|
||||||
# Sometimes we do
|
# Sometimes we do
|
||||||
*)
|
*)
|
||||||
DEBOOTSTRAP_COMMAND=qemu-debootstrap
|
DEBOOTSTRAP_COMMAND=debootstrap
|
||||||
if ! which "$DEBOOTSTRAP_COMMAND"; then
|
if ! which "qemu-x86_64-static"; then
|
||||||
sudo apt-get install qemu-user-static
|
sudo apt-get install qemu-user-static
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -492,7 +492,7 @@ def main():
|
|||||||
("powerpc", "ppc64"),
|
("powerpc", "ppc64"),
|
||||||
("ppc64", "powerpc"),
|
("ppc64", "powerpc"),
|
||||||
]:
|
]:
|
||||||
args += ["--debootstrap", "qemu-debootstrap"]
|
args += ["--debootstrap", "debootstrap"]
|
||||||
|
|
||||||
if "mainonly" in sys.argv or "--main-only" in sys.argv:
|
if "mainonly" in sys.argv or "--main-only" in sys.argv:
|
||||||
app.extra_components = False
|
app.extra_components = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user