Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-02-23 | Fix build with local offline mirrors | Luca Boccassi | |
Commit a15b579652e64 (#775989) dropped an early exit from the chroot_archives remove step in case the parent mirror chroot and binary parameters are the same and introduced a regression, as with the following live-build now fails when the parent mirror is using a file:/ local apt repository (for example when the build worker is offline and uses a pre-built cache of packages). Example config: lb config --mirror-bootstrap "file:/pkgs" \ --mirror-chroot "file:/pkgs/" \ --mirror-binary "file:/pkgs" \ --parent-mirror-bootstrap "file:/pkgs" \ --parent-mirror-chroot "file:/pkgs/" \ --parent-mirror-binary "file:/pkgs" \ ... with /pkgs being a directory with the packages for the installation and the apt metadata (Packages/Sources/Release). The problem is that, with such a setup, the /pkgs directory is bind mounted inside the chroot as an optimisation in the install step, and umounted as one of the first actions in the remove step for chroot_archives. Before that fix, the script terminated immediately. But now it progresses and at the end it tries to run apt update inside the chroot which will fail since the repository directory has been umounted, and thus the packages and the apt metadata are no longer available, while still being listed in /etc/apt/sources.list. The proposed solution is to umount the local directory at the end of the remove step, rather than at the beginning. Closes: #891206 | |||
2016-11-28 | Drop an optimization in chroot_archives that has undesired side-effects | Raphaël Hertzog | |
Thanks to jnqnfe for the patch. Closes: #775989 | |||
2016-10-28 | Handle packages.chroot with an explicitly trusted file:// repository | Sophie Brun | |
Up to now we created a temporary GPG key that we registered with apt-key but with the switch to GnuPG 2 by default, this code broke. Now we stop doing that but we add the “trusted=yes“ attribute in sources.list so that APT knows that the repository can be trusted even if it's unsigned. Signed-off-by: Raphaël Hertzog <hertzog@debian.org> | |||
2015-08-10 | Updating stat calls to also give the right result in container setups, ↵ | Daniel Baumann | |
thanks to Kristian Klausen <klausenbusk@hotmail.com> (Closes: #789300). | |||
2015-05-03 | Dropping automagics for ubuntu. | Daniel Baumann | |
Future live-build versions will still allow to use casper, but its configuration will be done differently by a custom config tree, rather than embedded and maintenance intensive code in live-build itself. | |||
2015-01-04 | Updating year in copyright notices to 2015. | Daniel Baumann | |
2015-01-04 | Changing package dependency checks within chroot to work outside as well. | Daniel Baumann | |
2014-12-10 | Cleaning up from python removal (LIVE_IMAGE_PARENT_ARCHIVE_AREAS). | Daniel Baumann | |
2014-12-10 | Bind local repository into chroot directory. | Jan Blunck | |
If a local repository path is given as a mirror URL lets bind it into the chroot. The local repository will be unmounted while processing "remove" or latest by the exit function. | |||
2014-12-10 | Correcting typo in apt.conf.d directory name, thanks to jnqnfe ↵ | Daniel Baumann | |
<jnqnfe@gmail.com> (Closes: #771392). | |||
2014-12-10 | Cleaning up from python removal (LIVE_IMAGE_ARCHIVE_AREAS). | Daniel Baumann | |
2014-12-10 | Cleaning up from python removal (LIVE_IMAGE_ARCHITECTURE). | Daniel Baumann | |
2014-11-10 | Applying patch from Gabriele Gristina <gabriele.gristina@gmail.com> to fix ↵ | Daniel Baumann | |
automated checks for using aptitude. | |||
2014-02-08 | Updating copyright notices for 2014. | Daniel Baumann | |
2013-09-18 | Selectively remove chroot-only APT configuration and preferences instead of ↵ | Jan Blunck | |
wiping everything. | |||
2013-09-18 | Remove chroot-only configured apt sources in chroot_archives remove. | Jan Blunck | |
If an archive is configured with *.chroot extension remove it when deconfiguring chroot/etc/apt/sources.list.d directory. | |||
2013-07-01 | Removing some leftovers in chroot_archives from --archives removal. | Daniel Baumann | |
2013-06-25 | Dropping global archive definitions shipped in ↵ | Daniel Baumann | |
/usr/share/live/build/archives (same as with packagelists, hidden archive 'magic' is gone now in favour of explicit config tree configuration). | |||
2013-05-06 | Dropping dedicated updates (formerly volatile) mirror handling, not needed ↵ | Daniel Baumann | |
anymore. | |||
2013-05-06 | Dropping dedicated backports mirror handling, not needed anymore with the ↵ | Daniel Baumann | |
move of backports.d.o into ftp.d.o. | |||
2013-05-06 | Debranding package for derivatives. | Daniel Baumann | |
2013-05-06 | Removing all references to my old email address. | Daniel Baumann | |
2013-05-06 | Harmonize handling of pre-existing gnupg dotfiles in chroot when handling ↵ | Daniel Baumann | |
fake signing keys for local repository. | |||
2013-05-06 | Adding bootrap_archive-keys to establish secure trust-chain on top of ↵ | Daniel Baumann | |
debian-keyring for derivatives. | |||
2013-05-06 | Correcting apt-key cleanup of local dummy signing keys when using local ↵ | Daniel Baumann | |
packages, thanks to jhcha54008 <jhcha54008@free.fr>. | |||
2013-05-06 | Updating year in all copyright notices. | Daniel Baumann | |
2013-05-06 | Moving off binary image parent archive areas into new config tree format. | Daniel Baumann | |
2013-05-06 | Moving off binary image archive areas into new config tree format. | Daniel Baumann | |
2013-05-06 | Moving off binary image architecture into new config tree format. | Daniel Baumann | |
2013-05-06 | Removing kubuntu mode, it's not different anymore to standard ubuntu mode. | Daniel Baumann | |
2013-05-06 | Adding support for local apt conf.d snippets in archive definitions (Closes: ↵ | Daniel Baumann | |
#685791). | |||
2013-05-06 | Harmonizing apt configuration handling in chroot_archives. | Daniel Baumann | |
2013-05-06 | Adding debian version 4.0~a1-1.debian/4.0_a1-1 | Daniel Baumann | |
2013-04-09 | Harmonize handling of pre-existing gnupg dotfiles in chroot when handling ↵ | Daniel Baumann | |
fake signing keys for local repository. | |||
2013-02-08 | Adding bootrap_archive-keys to establish secure trust-chain on top of ↵ | Daniel Baumann | |
debian-keyring for derivatives. | |||
2013-01-19 | Correcting apt-key cleanup of local dummy signing keys when using local ↵ | Daniel Baumann | |
packages, thanks to jhcha54008 <jhcha54008@free.fr>. | |||
2013-01-01 | Updating year in all copyright notices. | Daniel Baumann | |
2012-12-17 | Removing kubuntu mode, it's not different anymore to standard ubuntu mode. | Daniel Baumann | |
2012-12-04 | Adding support for local apt conf.d snippets in archive definitions (Closes: ↵ | Daniel Baumann | |
#685791). | |||
2012-12-04 | Harmonizing apt configuration handling in chroot_archives. | Daniel Baumann | |
2012-11-14 | Correcting copying of archive specific apt preferences files, thanks to ↵ | Daniel Baumann | |
Thanatermesis <thanatermesis@gmail.com> (Closes: #693250). | |||
2012-10-25 | Removing unecessary removal of apt preferences. | Daniel Baumann | |
When we rebuild an image with changed local archives, we would preferably remove the already existing preferences files. However, there's no way to make sure that we remove enough or too much, hence we don't remove any at all and stay with the dogma: "If you change something in the config tree affecting $stage, you need to rebuild that stage from scratch." So for pinning changes for local archives, this means, since it's affecting the chroot stage, we'll have to rebuild the chroot stage: "lb clean --chroot && lb chroot" | |||
2012-10-25 | Renaming progress mode to progress-linux to match the used naming scheme. | Daniel Baumann | |
2012-09-30 | Supporting parent distribution as a variable field in archive definitions. | Daniel Baumann | |
2012-09-26 | Renaming volatile options refering to volatile archive to updates to match ↵ | Daniel Baumann | |
current archive namings. | |||
2012-08-27 | Dropping 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. |