summaryrefslogtreecommitdiff
path: root/scripts/build/binary_package-lists
AgeCommit message (Collapse)Author
2020-03-05fix indentationLyndon Brown
including: - spaces replaced with tabs for consistency - alignment of `;;` in some case statements changed for consistency Gbp-Dch: Short Closes: #952857
2019-12-19Fix "--debian-installer cdrom" and its interaction with binary_package-listsRaphaël Hertzog
apt-ftparchive is not able to differentiate between .deb and .udeb so we have to install them in different pool directories so that we can regenerate the Packages files without having the .udeb show up unexpectedly. Since binary_package-lists can overwrite the Packages files generated in installer_debian-installer we have to ensure that it also updates the Release file created formerly. Ideally we should find a way to avoid the duplication of this logic. Gbp-Dch: Full
2019-12-19Support --distribution-binary and --distribution-chrootRaphaël Hertzog
This makes it possible to build an image against a first distribution (--distribution-chroot) and have the resulting image point to another distribution (--distribution-binary). We can use this to build against a snapshot and have the result use the original distribution that was snapshotted. Closes: #888507
2019-12-19binary_package-lists: avoid messing with dpkg's status fileRaphaël Hertzog
Instead of emptying the file temporarily, just tell APT to use /dev/null instead of /var/lib/dpkg/status. Relates to #944983
2017-09-01Check all dependencies independent of LB_BUILD_WITH_CHROOTMatthijs Kooijman
Since commit fdc9250bc (Changing package dependency checks within chroot to work outside as well), Check_package automatically checks for LB_BUILD_WITH_CHROOT and works inside as well as outside of the chroot, so no need to check LB_BUILD_WITH_CHROOT before calling them. Install_package and Remove_package are just a no-op when building without chroot, so they can also be called unconditionally. Restore_cache and Save_cache do not check LB_BUILD_WITH_CHROOT but it it should not hurt to call them when not needed (which already happened in some cases). This commit makes all Check_package calls unconditional on LB_BUILD_WITH_CHROOT. For binary_syslinux, this fixes the check (which used outdated paths outside the chroot since 7b6dfd9d1), for binary_grub-efi, binary_package-lists and chroot_package-lists this simplifies the code (but also causes the check to become package-based instead of file-based on apt-based systems), and for binary_loadlin and binary_win32-loader this adds the check outside the chroot which was previously missing.
2016-01-05Better handle empty package lists.Raphaël Hertzog
The fix in a294a46fb9fe28e43686b18da7b22ec1c46b0d4f was not enough. This should finally resolve the problem when a package list ends up empty (most notably due to #if evaluating to false). Sponsored-By: Offensive Security
2015-01-04Updating year in copyright notices to 2015.Daniel Baumann
2015-01-04Correcting dependency checks in binary_package-lists (Closes: #774336).Daniel Baumann
2015-01-04Changing package dependency checks within chroot to work outside as well.Daniel Baumann
2014-12-10Cleaning up from python removal (LIVE_IMAGE_ARCHITECTURE).Daniel Baumann
2014-12-10Properly support empty package lists.Raphaël Hertzog
The user might not have created any package list or it might have created a packages list that end up being empty due to various #if tests. We should not fail in those cases.
2014-02-08Updating copyright notices for 2014.Daniel Baumann
2013-08-19Updating binary repository prefix for progress-linux.Daniel Baumann
2013-05-06Removing all references to my old email address.Daniel Baumann
2013-05-06Updating year in all copyright notices.Daniel Baumann
2013-05-06Moving off binary image architecture into new config tree format.Daniel Baumann
2013-05-06Adding debian version 4.0~a1-1.debian/4.0_a1-1Daniel Baumann
2013-01-01Updating year in all copyright notices.Daniel Baumann
2012-09-30If --build-with-chroot is false, run ! lines in package-lists in the host ↵Colin Watson
system.
2012-08-27Dropping lb prefix from live-build scripts, not needed anymore.Daniel Baumann
Previously, we needed to keep the lb_* prefix as the scripts could also be executed standalone. Since the lb wrapper is mandatory since squeeze, we can drop this now.