From b6e7b22680de670a82bb5f52046ec96372a6c312 Mon Sep 17 00:00:00 2001 From: Christopher Glass Date: Thu, 16 Feb 2017 01:42:25 +0100 Subject: [PATCH] Rool both switches into one for all affected files (the vagrant file was still doing two switches on $ARCH). --- live-build/ubuntu-cpc/hooks/042-vagrant.binary | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks/042-vagrant.binary b/live-build/ubuntu-cpc/hooks/042-vagrant.binary index 4a309d18..b0593531 100755 --- a/live-build/ubuntu-cpc/hooks/042-vagrant.binary +++ b/live-build/ubuntu-cpc/hooks/042-vagrant.binary @@ -18,13 +18,6 @@ cur_d=${PWD} my_d=$(dirname $(readlink -f ${0})) -case $ARCH in - amd64|i386) ;; - *) - echo "Vagrant images are not supported for $ARCH" - exit 0 -esac - # Switch on $ARCH to determine which ID and description to use in the produced # OVF. We have fancy Ubuntu-specific IDs in the OVF specification, we might as # well use them. @@ -37,6 +30,9 @@ case $ARCH in ovf_id=93 ovf_os_type="ubuntu32Guest" ovf_desc_bits=32 ;; + *) + echo "Vagrant images are not supported for $ARCH" + exit 0;; esac . /build/config/functions