From b71d1f990e1c21964cb3b61f82285dbfaa378e7c Mon Sep 17 00:00:00 2001 From: David Krauser Date: Thu, 12 Dec 2019 13:54:32 -0500 Subject: [PATCH] Only build bootable buildd images for amd64 --- debian/changelog | 1 + live-build/buildd/hooks/02-disk-image-uefi.binary | 2 +- live-build/buildd/hooks/52-linux-virtual-image.binary | 9 +++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 30a44afa..f705b91e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ livecd-rootfs (2.634) UNRELEASED; urgency=medium + * Only build bootable buildd images for amd64. * Properly setup the chroot before using the network. -- David Krauser Thu, 12 Dec 2019 13:50:58 -0400 diff --git a/live-build/buildd/hooks/02-disk-image-uefi.binary b/live-build/buildd/hooks/02-disk-image-uefi.binary index b3290e09..75d93aa5 100755 --- a/live-build/buildd/hooks/02-disk-image-uefi.binary +++ b/live-build/buildd/hooks/02-disk-image-uefi.binary @@ -1,7 +1,7 @@ #!/bin/bash -eux case $ARCH in - amd64|arm64|armhf) + amd64) ;; *) echo "We don't create EFI images for $ARCH." diff --git a/live-build/buildd/hooks/52-linux-virtual-image.binary b/live-build/buildd/hooks/52-linux-virtual-image.binary index f373136b..a0c64d75 100755 --- a/live-build/buildd/hooks/52-linux-virtual-image.binary +++ b/live-build/buildd/hooks/52-linux-virtual-image.binary @@ -4,6 +4,15 @@ # 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" IMAGE_STR="# BUILDD_IMG: This file was created/modified by the Buildd Image build process"