summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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