Commit Graph

34 Commits

Author SHA1 Message Date
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
Lyndon Brown 7a4a9f94b8 amend copyright & licensing blocks
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 674794a8f4 and
   36a3ba7634 so I similarly added a
   debian live copyright line.
 - 'grub-cpmodules' is similar. it was only changed by the indentation fix
   of 36a3ba7634 but modification is
   modification, and this does help cover any possible future changes that
   might be made.
2020-03-11 13:51:19 +00:00
Daniel Baumann 242aef5d83 Updating year in copyright notices to 2015. 2015-01-04 20:05:44 +01:00
Daniel Baumann eb336bb782 Updating copyright notices for 2014. 2014-02-08 17:47:24 +01:00
Daniel Baumann 0aa8289a37 Switching from global lock file to config tree specific one. 2013-11-04 09:07:51 +01:00
Daniel Baumann 59ce459f40 Removing all references to my old email address. 2013-05-06 14:50:06 +02:00
Daniel Baumann 62d94a4454 Updating year in all copyright notices. 2013-05-06 14:50:03 +02:00
Daniel Baumann d1047e809a Adding debian version 4.0~a1-1. 2013-05-06 14:48:46 +02:00
Daniel Baumann a203b86fdd Updating year in all copyright notices. 2013-01-01 00:13:01 +01:00
Daniel Baumann 508510e097 Updating GPL standard header in all files. 2012-07-30 18:19:27 +02:00
Daniel Baumann 822dc2c028 Updating year in copyright notices for 2012. 2012-02-06 23:15:12 +01:00
Daniel Baumann 18eeaae602 Updating year in hooks and script files. 2011-03-09 19:20:42 +01:00
Daniel Baumann c5c3f6133a Adding debian version 3.0~a1-1. 2011-03-09 19:19:23 +01:00
Daniel Baumann 2ddc0cef5d Updating year in manpage, hooks, script and template files. 2011-03-09 19:17:33 +01:00
Daniel Baumann 4d22ca948a Updating copyright headers for live-build. 2011-03-09 19:17:18 +01:00
Daniel Baumann 54518852c8 Updating year to 2010 in copyright notices. 2011-03-09 19:17:04 +01:00
Daniel Baumann 989f26d87b Updating year in copyright notices for 2009. 2011-03-09 19:09:40 +01:00
Daniel Baumann db5d2b0dcd Syncing internal lockfile functions. 2011-03-09 19:03:43 +01:00
Daniel Baumann 425f88e9ec Updating signals in exit and lockfile traps. 2011-03-09 19:03:43 +01:00
Daniel Baumann 37d2fb4b0f Don't use set -e in sourced functions, this is the job of the actual executed script. 2011-03-09 19:03:43 +01:00
Daniel Baumann c5a91189a0 Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
Daniel Baumann 9ce7afd0b3 Removing the unmounting of pseudo filesystems from the trap call, needs some other changes before it can safely be done. 2011-03-09 18:22:29 +01:00
Daniel Baumann 7bbb741e1c Extending --force to also cover lockfiles to avoid recursive loop within trap. 2011-03-09 18:22:29 +01:00
Daniel Baumann 2a90796447 Making umount calls check if they are actually necessary. 2011-03-09 18:22:29 +01:00
Daniel Baumann 7059380cd8 Fixing trap call, thanks to An-Cheng Huang <ancheng@vyatta.com>. 2011-03-09 18:22:29 +01:00
Daniel Baumann 041a054462 Improving trap call to unmount pseudo filesystem when failing as suggested by Justin Pryzby <jpryzby@quoininc.com>. 2011-03-09 18:22:29 +01:00
Daniel Baumann 74a5575d5a Fixing trap call as suggested by Justin Pryzby <jpryzby@quoininc.com> (Closes: #431160, #449087). 2011-03-09 18:22:28 +01:00
Daniel Baumann f2734daf0a Replacing backticks with POSIX expression. 2011-03-09 18:22:27 +01:00
Daniel Baumann 85c342c299 Adding live-helper 1.0~a13-1. 2011-03-09 18:18:30 +01:00
Daniel Baumann 1863ed8874 Adding live-helper 1.0~a5-1. 2011-03-09 18:18:29 +01:00
Daniel Baumann da353a5231 Adding live-helper 1.0~a4-1. 2011-03-09 18:18:29 +01:00
Daniel Baumann 799d4bfb31 Adding live-helper 1.0~a3-1. 2011-03-09 18:18:28 +01:00
Daniel Baumann 677415f6d7 Adding live-helper 1.0~a2-1. 2011-03-09 18:18:28 +01:00
Daniel Baumann fe6eb1c593 Adding live-helper 1.0~a1-1. 2011-03-09 18:14:51 +01:00