Builder for live images based on Debian
Go to file
Lyndon Brown 3d30597e93 frontend: avoid trying to load /scripts/build.sh
unless `LIVE_BUILD` is set in the environment when running live-build,
this var will be empty. this will result in the frontend trying to load
the file '/scripts/build.sh', which is doubtful the file intended to be
loaded, if it exists. the intention of checking the path
"${LIVE_BUILD}/scripts/build.sh" is really only to do so if the var is
actually used, so let's only do so if it's non-empty.

since we use `set -e`, if build.sh is not found in either location then
failure will occur. if it is found, presuming it is the real file that we
expect to be found, this file sets the var to a default if it was an empty
string, thus we need not worry about use of the var later in the frontend
script.

also, the var is exported prior to exec'ing the command script, so we know
that in the command scripts it is not going to be empty, and those in
themselves loading build.sh which again exports the var ensures that it
will be set for subsequent loads of component scripts (which happens to
go through the frontend again, not that that matters. so except for at the
start of execution, it should never be found to be empty.

Gbp-Dch: Short
2020-03-20 08:36:17 +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: avoid trying to load /scripts/build.sh 2020-03-20 08:36:17 +00:00
functions fix -h|--help component script man page redirection 2020-03-19 22:42:01 +00:00
manpages manpages: correct date & version 2020-03-17 02:46:13 +00:00
scripts stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +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