diff options
Diffstat (limited to 'scripts/build/lb_chroot_package-lists')
-rwxr-xr-x | scripts/build/lb_chroot_package-lists | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/lb_chroot_package-lists b/scripts/build/lb_chroot_package-lists index f38fff7b6..55cf9323c 100755 --- a/scripts/build/lb_chroot_package-lists +++ b/scripts/build/lb_chroot_package-lists @@ -55,6 +55,13 @@ then # Installing depends Install_package + if [ -e "${LIVE_BUILD}/share/bin/Packages" ] + then + cp "${LIVE_BUILD}/share/bin/Packages" chroot/bin + else + cp /usr/share/live/build/bin/Packages chroot/bin + fi + for LIST in config/package-lists/*.list \ config/package-lists/*.list.chroot \ config/package-lists/*.list.chroot_${_PASS} @@ -67,6 +74,8 @@ then fi done + rm -f chroot/bin/Packages + # Removing dctrl-tools again if the user has not installed it if ! grep -qs dctrl-tools chroot/root/packages.chroot then |