summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorJoerg Schirottke <master@kanotix.com>2014-04-10 23:36:49 +0200
committerHolger Paradies <retabell@gmx.de>2014-05-04 11:39:51 +0200
commit72a9e5f23bcb786161cb824b9b4e893a8a2a68c7 (patch)
treebecc1d32fab7ed6b63ec745a24c4f408983c769e /auto
parent367e1748aeed3ab78e4942505c0858ce28cf8bd3 (diff)
downloadkanotix-72a9e5f23bcb786161cb824b9b4e893a8a2a68c7.zip
kanotix-72a9e5f23bcb786161cb824b9b4e893a8a2a68c7.tar.gz
add Spitfire support
Diffstat (limited to 'auto')
-rwxr-xr-xauto/build3
-rwxr-xr-xauto/config7
-rw-r--r--auto/functions/patch-bootstrap2
3 files changed, 10 insertions, 2 deletions
diff --git a/auto/build b/auto/build
index 51fa7f0..ec93899 100755
--- a/auto/build
+++ b/auto/build
@@ -10,8 +10,9 @@ LABEL=Kanotix
export LB_BOOTLOADER LB_BINARY_IMAGES
# Update kanotix-version (32/64-bit and timestamp)
-KANOTIX_CODENAMES="lenny=Excalibur squeeze=Hellfire wheezy=Dragonfire jessie=TBA"
+KANOTIX_CODENAMES="lenny=Excalibur squeeze=Hellfire wheezy=Dragonfire jessie=Spitfire"
KANOTIX_CODENAME="$(echo $KANOTIX_CODENAMES | fmt -w1 | grep "^${LB_DISTRIBUTION}=" | cut -d= -f2)"
+[ -z "$KANOTIX_CODENAME" ] && KANOTIX_CODENAME="$(echo $LB_DISTRIBUTION|sed -e 's/\b\(.\)/\u\1/g')"
mkdir -p config/chroot_local-includes/etc
[ ! -f config/chroot_local-includes/etc/kanotix-version ] && echo Kanotix $KANOTIX_CODENAME 0000-00:00 > config/chroot_local-includes/etc/kanotix-version
diff --git a/auto/config b/auto/config
index d81c13d..d870f92 100755
--- a/auto/config
+++ b/auto/config
@@ -63,6 +63,13 @@ wheezy)
i386) LB_LINUX_PACKAGES="linux-image-extra-3.14.0-0 linux-headers-3.14.0-0"; LB_LINUX_FLAVOURS="generic";;
esac
;;
+jessie|*)
+ LB_REPOSITORIES+=" dragonfire spitfire"
+ case $LB_ARCHITECTURE in
+ amd64) LB_LINUX_PACKAGES="linux-image-extra-3.14.0-0 linux-headers-3.14.0-0"; LB_LINUX_FLAVOURS="generic";;
+ i386) LB_LINUX_PACKAGES="linux-image-extra-3.14.0-0 linux-headers-3.14.0-0"; LB_LINUX_FLAVOURS="generic";;
+ esac
+ ;;
esac
[ "$LB_BOOTLOADER" = "burg" ] && LB_REPOSITORIES+=" burg"
diff --git a/auto/functions/patch-bootstrap b/auto/functions/patch-bootstrap
index edf0203..270bedd 100644
--- a/auto/functions/patch-bootstrap
+++ b/auto/functions/patch-bootstrap
@@ -9,7 +9,7 @@ if [ "$current_script" = "chroot" -a ! -e chroot/usr/local/sbin/update-initramfs
ln -fs /bin/true chroot/usr/local/sbin/update-initramfs
. config/bootstrap
- if [ "$LB_ARCHITECTURE" = "amd64" -o "$LB_ARCHITECTURES" = "amd64" ] && [ "$LB_DISTRIBUTION" = "wheezy" ]; then
+ if [ "$LB_ARCHITECTURE" = "amd64" -o "$LB_ARCHITECTURES" = "amd64" ] && [ "$LB_DISTRIBUTION" != "squeeze" ]; then
echo "HACK: Enabling multiarch: amd64 + i386"
chroot chroot dpkg --add-architecture i386
fi