mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
mk-sbuild: automatically install qemu-kvm-extras-static if requested
This commit is contained in:
parent
c2fa613721
commit
7a5de7c877
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -5,6 +5,7 @@ ubuntu-dev-tools (0.93) UNRELEASED; urgency=low
|
||||
|
||||
[ Emmet Hikory ]
|
||||
* Support qemu-arm-static -> qemu-kvm-extras-static transition
|
||||
* mk-sbuild: automatically install qemu-kvm-extras-static if requested
|
||||
* mk-sbuild: conditionally install lvm2 only for lv-snapshot schroots
|
||||
* mk-sbuild: rationalise architecture variables
|
||||
|
||||
|
@ -327,13 +327,12 @@ debian)
|
||||
esac
|
||||
|
||||
DEBOOTSTRAP_COMMAND=debootstrap
|
||||
# Use qemu-arm-static / build-arm-chroot for foreign armel chroots
|
||||
# Use qemu-kvm-extras-static / build-arm-chroot for foreign armel chroots
|
||||
if [ "$CHROOT_ARCH" = 'armel' ] && [ ! "$HOST_ARCH" = 'armel' ] ; then
|
||||
if [ -f "/usr/bin/build-arm-chroot" ]; then
|
||||
DEBOOTSTRAP_COMMAND=build-arm-chroot
|
||||
else
|
||||
echo Please install qemu-arm-static to use foreign armel chroots
|
||||
if [ ! -f "/usr/bin/build-arm-chroot" ]; then
|
||||
sudo apt-get install qemu-kvm-extras-static
|
||||
fi
|
||||
DEBOOTSTRAP_COMMAND=build-arm-chroot
|
||||
fi
|
||||
|
||||
case "$SRC_TYPE" in
|
||||
|
Loading…
x
Reference in New Issue
Block a user