parent
5c3679c882
commit
512dd58240
|
@ -58,13 +58,13 @@ Create_lockfile .lock
|
|||
# Restoring cache
|
||||
Restore_cache cache/packages.chroot
|
||||
|
||||
# Configure custom sources.list
|
||||
|
||||
# Mount local repository
|
||||
if echo "${LB_PARENT_MIRROR_CHROOT}" | grep -q '^file:/'
|
||||
then
|
||||
Chroot_bind_path chroot "$(echo ${LB_PARENT_MIRROR_CHROOT} | sed -e 's|file:||')"
|
||||
fi
|
||||
|
||||
# Configure custom sources.list
|
||||
cat > chroot/etc/apt/${_PARENT_FILE} << EOF
|
||||
deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION_CHROOT} ${LB_PARENT_ARCHIVE_AREAS}
|
||||
EOF
|
||||
|
|
|
@ -60,13 +60,14 @@ case "${1}" in
|
|||
# Restoring cache
|
||||
Restore_cache cache/packages.chroot
|
||||
|
||||
# Configure custom sources.list
|
||||
|
||||
# Mount local repository
|
||||
if echo "${LB_PARENT_MIRROR_CHROOT}" | grep -q '^file:/'
|
||||
then
|
||||
Chroot_bind_path chroot "$(echo ${LB_PARENT_MIRROR_CHROOT} | sed -e 's|file:||')"
|
||||
fi
|
||||
|
||||
# Configure custom sources.list
|
||||
|
||||
cat > chroot/etc/apt/${_PARENT_FILE} << EOF
|
||||
deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION_CHROOT} ${LB_PARENT_ARCHIVE_AREAS}
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue