summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap
AgeCommit message (Collapse)Author
2020-04-23bootstrap_archives: remove useless paramLyndon Brown
2020-04-23chroot_prep: expand coverageLyndon Brown
it now covers: - `lb chroot_apt install-binary` - `lb chroot_archives {chroot|binary|source} {install|remove}` by expanding usage from: `lb chroot_prep {install|remove} HELPERS [ARGS]` to: `lb chroot_prep {install|remove} HELPERS [MODE[ MODE..]] [ARGS]` where `[MODE[ MODE..]]` is an optional set of one or more of: - archives-chroot, which specifies to use 'chroot' as the first param to the chroot_archives script - archives-binary, which specifies to use 'binary' - archives-source, which specifies to use 'source' - apt-install-binary, which specified to pass 'install-binary' instead of 'install' to chroot_apt thus _all_ chroot prep scripts can be run through this helper now! note, in the case of the binary stage, 'archives' is deliberately not added to CHROOT_PREP_OTHER, this is not a mistake! Gbp-Dch: Short
2020-04-23add bulk chroot preparation script execution helperLyndon Brown
rather than explicitly running one helper after another in the major build stages, or by hand (e.g. while testing things during development), they can be run in bulk via this new helper. it essentially just takes a list of helpers to run and runs them one by one. it supports running all helpers except chroot_archives because that one has different parameter requirements to the rest and supporting it would make things messier. helper scripts can either be named by their full script name or without the 'chroot_' prefix for brevity. you can also just specify 'all' to refer to all helpers (except chroot_archives, per above). it automatically reverses the order of the list when run in remove mode. Gbp-Dch: Short
2020-04-23fix $@ parameter expansion issuesLyndon Brown
$@ when unquoted is subject to further word splitting. this fixes a bunch of instances where it was incorrectly being used unquoted. Gbp-Dch: Short
2020-03-16add build & build stage success messagesLyndon Brown
2020-03-11amend copyright & licensing blocksLyndon Brown
Current versions of the project files are built upon versions published and licensed by Daniel Baumann, but are modified copies of those files and thus need to be marked as such per licensing requirements (afaik he did not pass along ownership / licensing rights to anyone when he left the project). We should also be careful to not be misrepresenting such modified copies as being attributed to Daniel. Adding a new copyright line referring to "The Debian Live team" should suffice for this. The authorship block in man pages has also similarly been updated. Notes: - tweaked a copy of daniel copyright lines stating 2014 instead of 2015. both of these cases were in files that i had personally introduced in some of my past merged commits that moved some code around. i don't know why they stated 2014. - binary_onie was introduced in 2018, so that has a 2018 date instead of 2016 unlike the rest. - 'efi-image' is a 3rd-party (Canonical Ltd) work that we bundle, but it has been modified by 674794a8f4d61a729d2dbd6d99385d2826138694 and 36a3ba76347ef72df1c316312ed3a26aa4b0c816 so I similarly added a debian live copyright line. - 'grub-cpmodules' is similar. it was only changed by the indentation fix of 36a3ba76347ef72df1c316312ed3a26aa4b0c816 but modification is modification, and this does help cover any possible future changes that might be made.
2020-03-10help/usage: remove pointless varsLyndon Brown
build scripts never call Help() and so the empty HELP strings are pointless. (when called with --help they call Man()). Closes: #952859 Gbp-Dch: Short
2020-03-10tidy script init (2/4) - build stage scriptsjnqnfe
Partial fix for #952919 Gbp-Dch: Short
2020-03-10tidy script init (1/4) - arg and config processingjnqnfe
Partial fix for #952919 Gbp-Dch: Short
2020-03-05help/usage: fix overly complex script description handlingjnqnfe
Closes: #952887
2016-11-28Get rid of useless bootstrap_archive-keys scriptRaphaël Hertzog
Closes: #773775
2015-05-03Dropping support for upstart.Daniel Baumann
Ubuntu switched to systemd too, no point in keeping upstart support arround anymore.
2015-01-04Updating year in copyright notices to 2015.Daniel Baumann
2014-12-23Dropping cdebootstrap support (Closes: #773657).Daniel Baumann
debootstrap is the official tool to bootstrap debian, cdebootstrap has had the one or other bug making it broken for times during the release cycles. The extra effort of supporting both debootstrap and cdebootstrap is hardly worth it since the bootstrap stage is cached anyway.
2014-08-28Moving partial python rewrite to separate branch, let's do it in the ↵Daniel Baumann
jessie+1 cycle rather than go with the current mixed code.
2014-02-08Updating copyright notices for 2014.Daniel Baumann
2013-11-04Adding bootstrap-includes.Daniel Baumann
2013-11-04Switching to later submodule naming scheme for python stubs.Daniel Baumann
2013-11-04Handling bootstrap cache inside the bootstrap stubs itself.Daniel Baumann
2013-11-04Stuffing bootstrapping of archive-keys for derivatives into lb_config, it's ↵Daniel Baumann
not a runtime thing and its logic should not be embedded in live-build but the config directory.
2013-10-15Adding bootstrap hooks.Daniel Baumann
2013-08-07Calling bootstrap_archives with correct pass argument.Daniel Baumann
2013-07-01Moving caching out of bootstrap_{c,}debootstrap to own helper for future ↵Daniel Baumann
unification with chroot caches helper.
2013-07-01Handling dist-upgrade right after bootstrap with copy of chroot_archives as ↵Daniel Baumann
bootstrap_archives in preparation for a future multi-archive bootstrap. It is important for derivatives that the bootstrap cache is setup completely, it is re-used in several places and thus cannot consist of the parent distribution only. Until there's a supportable way to bootstrap from multiple archives at the same time (and multistrap doesn't work for that as discussed in the past), we're going to run a lot of duplicated code here to massage the apt sources for the time being.
2013-05-06Removing bootstrap_cache, not needed anymore.Daniel Baumann
2013-05-06Updating bootstrap for Python stubs.Daniel Baumann
2013-05-06Removing all references to my old email address.Daniel Baumann
2013-05-06Adding bootrap_archive-keys to establish secure trust-chain on top of ↵Daniel Baumann
debian-keyring for derivatives.
2013-05-06Updating year in all copyright notices.Daniel Baumann
2013-05-06Adding debian version 4.0~a1-1.debian/4.0_a1-1Daniel Baumann
2013-02-08Adding bootrap_archive-keys to establish secure trust-chain on top of ↵Daniel Baumann
debian-keyring for derivatives.
2013-01-01Updating year in all copyright notices.Daniel Baumann
2012-10-25Renaming progress mode to progress-linux to match the used naming scheme.Daniel Baumann
2012-10-03Removing unsupported and unsupportable bootstrap_copy.Daniel Baumann
2012-08-30Updating base-files hack for plymouth in progress mode.Daniel Baumann
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.
2011-03-09Prefixing helper scripts to make 'out of source' usage usable (Closes: #572455).Daniel Baumann
2011-03-09Updating internal variables from lh to lb scheme, should be the last piece ↵Daniel Baumann
to finish the live-helper to live-build rename.
2011-03-09Updating internal calls to use live-build instead of live-helper.Daniel Baumann
2011-03-09Updating copyright headers for live-build.Daniel Baumann
2011-03-09Moving /usr/share/live-helper to /usr/share/live/build.Daniel Baumann
2011-03-09Rearranging helpers scripts in source tree.Daniel Baumann