summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-04-16 19:00:05 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:44 +0100
commit69d278fdb8aa4720ccb1ff7b2bea8e48dec1490c (patch)
tree9ab71dc8cbbcc2646057c120526d618000efa1b2 /functions
parenta486d3e1ad9401dfff9c0f0a98784bf8dfce1da7 (diff)
downloadvyos-live-build-69d278fdb8aa4720ccb1ff7b2bea8e48dec1490c.tar.gz
vyos-live-build-69d278fdb8aa4720ccb1ff7b2bea8e48dec1490c.zip
Not adding squashfs-modules to linux-packages on sid anymore, there it's mainlined.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 06e14783d..680e57c66 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -571,7 +571,11 @@ Set_defaults ()
if [ "${LH_CHROOT_FILESYSTEM}" = "squashfs" ]
then
- LH_LINUX_PACKAGES="${LH_LINUX_PACKAGES} squashfs-modules-2.6"
+ case "${LH_DISTRIBUTION}" in
+ etch|lenny|squeeze)
+ LH_LINUX_PACKAGES="${LH_LINUX_PACKAGES} squashfs-modules-2.6"
+ ;;
+ esac
fi
case "${LH_ENCRYPTION}" in