From fe1abd115324d2e706626ed567d1f234fd300e64 Mon Sep 17 00:00:00 2001 From: Joseph Bisch Date: Thu, 12 Nov 2015 10:05:58 -0500 Subject: [PATCH] Fix flavour for i386 arch Wheezy on up has linux-image-686-pae. Squeeze on down has linux-image-686. --- bin/make-base-vm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/make-base-vm b/bin/make-base-vm index e886a56..10f1db0 100755 --- a/bin/make-base-vm +++ b/bin/make-base-vm @@ -94,8 +94,10 @@ fi if [ $DISTRO = "debian" -a $ARCH = "amd64" ]; then FLAVOUR=amd64 -elif [ $DISTRO = "debian" -a $ARCH = "i386" ]; then - FLAVOUR=i686-pae +elif [ $DISTRO = "debian" -a $ARCH = "i386" -a \($SUITE = "wheezy" -o $SUITE = "jessie" -o $SUITE = "stretch" -o $SUITE = "sid"\) ]; then + FLAVOUR=686-pae +elif [ $DISTRO = "debian" ]; then + FLAVOUR=686 fi LOCALE_PKG=language-pack-en