mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-19 22:31:07 +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
|
||||
*)
|
||||
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
|
||||
;;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user