diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/chroot_archives | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives index 95b47c38b..226bad652 100755 --- a/scripts/build/chroot_archives +++ b/scripts/build/chroot_archives @@ -677,6 +677,15 @@ EOF rm -f chroot/etc/apt/conf.d/* rm -f chroot/etc/apt/preferences.d/* + # Removing chroot-only apt sources + for FILE in config/archives/*.list.chroot + do + if [ -e "${FILE}" ] + then + rm -f "chroot/etc/apt/sources.list.d/$(basename ${FILE} .chroot)" + fi + done + # Adding local apt sources (binary) for FILE in config/archives/*.list config/archives/*.list.binary do |