summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-01-07 20:18:43 +0100
committerDaniel Baumann <daniel@debian.org>2012-01-07 20:18:43 +0100
commit6bb4a22152570c4ca2d48d9efb94b5a0349c159b (patch)
tree884a35ef20a50efc58ee7176a534dc1c555c308a /scripts/build
parente05fa004ff097261735253995ec543e71c229004 (diff)
downloadvyos-live-build-6bb4a22152570c4ca2d48d9efb94b5a0349c159b.tar.gz
vyos-live-build-6bb4a22152570c4ca2d48d9efb94b5a0349c159b.zip
Adding temporary hack with pinning to avoid squashfs-tools mismatch for artax-backports.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/lb_chroot_apt13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/build/lb_chroot_apt b/scripts/build/lb_chroot_apt
index cf92c3811..0fe45d757 100755
--- a/scripts/build/lb_chroot_apt
+++ b/scripts/build/lb_chroot_apt
@@ -181,6 +181,19 @@ EOF
done
fi
+
+ case "${LB_DISTRIBUTION}" in
+ artax-backports)
+ # Temporary hack to avoid squashfs version mismatch
+
+cat >> chroot/etc/apt/preferences.d/tmp.pref << EOF
+Package: squashfs-tools
+Pin: release n=squeeze
+Pin-Priority: 1001
+EOF
+
+ ;;
+ esac
;;
esac