live-build/functions
jnqnfe b27927724a locks: tidy lock acquisition
Combine the check+create done in each script. (The original functions
are still callable as before, but a new combined `Aquire_lockfile`
function can be called instead, as now used).

Note, a further simplification could be done in removing the passing of
the lock filename in as a parameter since every use of the functions is
with ".lock". The lock functions already have a fallback to ".build/lock"
though. Checking the history, the fallback used to be for a system wide
lock, which was then replaced with this config-tree specific one. As long
as that is not used implicitly by 3rd-party hooks then surely we are free
to change the fallback to ".lock" and further remove passing in a name as
a param...?

history:
db5d2b0dcd
0aa8289a37

Gbp-Dch: Short
Closes: #952918
2020-03-13 15:37:38 +00:00
..
aliases.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
architectures.sh strip useless multi-arch separate directory stuff 2020-03-13 13:56:21 +00:00
arguments.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
bootloaders.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
breakpoints.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
cache.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_bind_path.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
color.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
common.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
conffile.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
configuration.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
defaults.sh Revert "Test for executables: replace 'which' with more robust 'command -v'" 2020-03-12 12:32:26 +00:00
echo.sh fix colouring of notice type message prefixes 2020-03-13 15:23:13 +00:00
exit.sh exit: ensure an appropriate message is printed on unexpected exit 2020-03-13 15:10:29 +00:00
firmwarelists.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
help.sh "Live Systems" -> "Debian Live" 2020-03-11 15:23:31 +00:00
init.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
lockfile.sh locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
losetup.sh Revert "Test for executables: replace 'which' with more robust 'command -v'" 2020-03-12 12:32:26 +00:00
man.sh Revert "Test for executables: replace 'which' with more robust 'command -v'" 2020-03-12 12:32:26 +00:00
packagelists.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
packages.sh Revert "Test for executables: replace 'which' with more robust 'command -v'" 2020-03-12 12:32:26 +00:00
sourcelist.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
stagefile.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
usage.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
wrapper.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00