Only build bootable buildd images for amd64

u-i-disk-info
David Krauser 5 years ago
parent 4a0b757dc7
commit b71d1f990e

1
debian/changelog vendored

@ -1,5 +1,6 @@
livecd-rootfs (2.634) UNRELEASED; urgency=medium livecd-rootfs (2.634) UNRELEASED; urgency=medium
* Only build bootable buildd images for amd64.
* Properly setup the chroot before using the network. * Properly setup the chroot before using the network.
-- David Krauser <david.krauser@canonical.com> Thu, 12 Dec 2019 13:50:58 -0400 -- David Krauser <david.krauser@canonical.com> Thu, 12 Dec 2019 13:50:58 -0400

@ -1,7 +1,7 @@
#!/bin/bash -eux #!/bin/bash -eux
case $ARCH in case $ARCH in
amd64|arm64|armhf) amd64)
;; ;;
*) *)
echo "We don't create EFI images for $ARCH." echo "We don't create EFI images for $ARCH."

@ -4,6 +4,15 @@
# Generate linux-virtual image # Generate linux-virtual image
# #
case $ARCH in
amd64)
;;
*)
echo "We don't build bootable Buildd images for $ARCH."
exit 0
;;
esac
echo "Building bootable Buildd image" echo "Building bootable Buildd image"
IMAGE_STR="# BUILDD_IMG: This file was created/modified by the Buildd Image build process" IMAGE_STR="# BUILDD_IMG: This file was created/modified by the Buildd Image build process"

Loading…
Cancel
Save