diff options
Diffstat (limited to 'scripts/build/lb_binary_package-lists')
-rwxr-xr-x | scripts/build/lb_binary_package-lists | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/lb_binary_package-lists b/scripts/build/lb_binary_package-lists index 74b34e8b8..598baeb3c 100755 --- a/scripts/build/lb_binary_package-lists +++ b/scripts/build/lb_binary_package-lists @@ -51,6 +51,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 + mkdir -p chroot/binary.deb/archives/partial mv chroot/var/lib/dpkg/status chroot/var/lib/dpkg/status.tmp touch chroot/var/lib/dpkg/status @@ -121,6 +128,8 @@ then cd "${OLDPWD}" + rm -f chroot/bin/Packages + rm -rf chroot/binary.deb mv chroot/var/lib/dpkg/status.tmp chroot/var/lib/dpkg/status |