diff options
author | Daniel Baumann <daniel@debian.org> | 2012-01-07 20:18:43 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-01-07 20:18:43 +0100 |
commit | 6bb4a22152570c4ca2d48d9efb94b5a0349c159b (patch) | |
tree | 884a35ef20a50efc58ee7176a534dc1c555c308a /scripts/build | |
parent | e05fa004ff097261735253995ec543e71c229004 (diff) | |
download | vyos-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-x | scripts/build/lb_chroot_apt | 13 |
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 |