summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_apt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_apt')
-rwxr-xr-xscripts/build/chroot_apt12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt
index 62fbd4e67..b31ab94ba 100755
--- a/scripts/build/chroot_apt
+++ b/scripts/build/chroot_apt
@@ -147,8 +147,8 @@ case "${1}" in
fi
case "${LB_MODE}" in
- progress)
- if [ ! -e chroot/etc/apt/preferences.d/progress.pref ]
+ progress-linux)
+ if [ ! -e chroot/etc/apt/preferences.d/progress-linux.pref ]
then
_DISTRIBUTION="$(echo ${LB_DISTRIBUTION} | sed -e 's|-backports||')"
@@ -184,7 +184,7 @@ case "${1}" in
for _DISTRIBUTION in ${_ENABLE_DISTRIBUTIONS}
do
-cat >> chroot/etc/apt/preferences.d/progress.pref << EOF
+cat >> chroot/etc/apt/preferences.d/progress-linux.pref << EOF
Package: *
Pin: release n=${_DISTRIBUTION}
@@ -196,7 +196,7 @@ EOF
for _DISTRIBUTION in ${_DISABLE_DISTRIBUTIONS}
do
-cat >> chroot/etc/apt/preferences.d/progress.pref << EOF
+cat >> chroot/etc/apt/preferences.d/progress-linux.pref << EOF
#Package: *
#Pin: release n=${_DISTRIBUTION}
@@ -209,7 +209,7 @@ EOF
case "${LB_DISTRIBUTION}" in
artax-backports)
-cat >> chroot/etc/apt/preferences.d/progress.tmp.pref << EOF
+cat >> chroot/etc/apt/preferences.d/progress-linux.tmp.pref << EOF
Package: squashfs-tools
Pin: release n=squeeze
Pin-Priority: 1001
@@ -323,7 +323,7 @@ EOF
fi
# Remove temporary hack to avoid squashfs version mismatch for artax-backports
- rm -f chroot/etc/apt/preferences.d/progress.tmp.pref
+ rm -f chroot/etc/apt/preferences.d/progress-linux.tmp.pref
# Removing stage file
rm -f .build/chroot_apt