archives: explicitly pass along _PASS to Create_apt_sources_list

Gbp-Dch: Ignore
This commit is contained in:
Lyndon Brown 2020-03-18 16:55:37 +00:00 committed by Luca Boccassi
parent 29d9c23cd2
commit 94a3e184c2
3 changed files with 5 additions and 3 deletions

View File

@ -41,6 +41,8 @@ Create_apt_sources_list ()
;;
esac
local _PASS="${2}"
local PARENT_FILE
case "${LB_DERIVATIVE}" in
true)

View File

@ -49,7 +49,7 @@ then
fi
# Configure custom sources.list
Create_apt_sources_list chroot
Create_apt_sources_list chroot "${_PASS}"
# Adding local apt sources (chroot)
for FILE in config/archives/*.list config/archives/*.list.chroot

View File

@ -51,7 +51,7 @@ case "${1}" in
fi
# Configure custom sources.list
Create_apt_sources_list chroot
Create_apt_sources_list chroot "${_PASS}"
# Adding local apt sources (chroot)
for FILE in config/archives/*.list config/archives/*.list.chroot
@ -333,7 +333,7 @@ case "${1}" in
mkdir -p chroot/var/lib/apt/lists/partial
# Configure custom sources.list
Create_apt_sources_list binary
Create_apt_sources_list binary "${_PASS}"
# Removing chroot-only apt sources
for FILE in config/archives/*.list.chroot