live-build/scripts/build
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
..
binary amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
binary_checksums locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_chroot locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_disk locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_grub-efi locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_grub-legacy locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_grub-pc locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_hdd locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_hooks locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_includes locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_iso locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_linux-image locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_loadlin locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_loopback_cfg locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_manifest locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_memtest locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_netboot locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_onie locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_package-lists locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_rootfs locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_syslinux locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_tar locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_win32-loader locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
binary_zsync locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
bootstrap amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
bootstrap_archives locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
bootstrap_cache locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
bootstrap_debootstrap locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
build amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_apt locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_archives locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_cache locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_debianchroot locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_devpts locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_dpkg locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_firmware locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_hacks locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_hooks locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_hostname locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_hosts locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_includes locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_install-packages locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_interactive locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_linux-image locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_package-lists locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_preseed locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_proc locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_resolv locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_selinuxfs locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_sysfs locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_sysv-rc locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
chroot_tmpfs locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
clean locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
config Revert "Test for executables: replace 'which' with more robust 'command -v'" 2020-03-12 12:32:26 +00:00
efi-image amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
grub-cpmodules amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
installer amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
installer_debian-installer locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
installer_preseed locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
source amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
source_checksums locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
source_debian locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
source_disk locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
source_hdd locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
source_hooks locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
source_iso locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
source_live locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
source_tar locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00