Builder for live images based on Debian
Go to file
Lyndon Brown fe9195b59c stagefiles: further robustify with auto filenames
as suggested by Raphaël

rather than have fixed stagefile filename strings at all in the scripts,
use `$(basename $0)` to use the name of the script (which is the same for
almost all cases anyway, and the stage files are supposed to be almost
exclusively unique per-script). we can thus simplify things by determining
the filename for most use cases within the functions themselves.

this does change the file used by a couple of scripts, affecting backwards
compatibility of executing live-build upon an existing partially or fully
completed build:
 - binary_grub-pc used "binary_grub"
 - chroot_includes used "includes.chroot"

care had to be taken for the following cases:
 - there are some cases like bootstrap_cache, source_debian and
   bootstrap_debootstrap which are dealing with more than one file, and/or
   otherwise a filename that is not specific to the script itself exactly,
   or should not be based upon its name.
 - some cases like chroot_cache, bootstrap_cache and
   chroot_install-packages need to append something to the end of the name
   depending upon which pass/action mode the script is being executed with.
 - furthermore in the bootstrap_cache case one of the filenames is used
   within the bootstrap_debootstrap and thus needs very careful handling
   to be certain that a change in filename of bootstrap_cache does not
   break bootstrap_debootstrap.

Gbp-Dch: Short
2020-03-17 18:57:02 +00:00
data/debian-cd We should add buster for release 2019-02-17 14:51:24 +00:00
debian CI: deploy from the build stage, rather than rebuilding from scratch 2020-03-15 21:13:31 +00:00
examples amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
frontend frontend: tidy 2020-03-13 14:20:12 +00:00
functions stagefiles: further robustify with auto filenames 2020-03-17 18:57:02 +00:00
manpages manpages: correct date & version 2020-03-17 02:46:13 +00:00
scripts stagefiles: further robustify with auto filenames 2020-03-17 18:57:02 +00:00
share syslinux: use more dynamic memtest menu config file 2020-03-16 23:08:26 +00:00
COPYING Switching to GPL3+. 2011-03-09 18:22:29 +01:00
Makefile fix capitalisation of some output messages 2020-03-05 20:36:54 +00:00