Commit Graph

40 Commits

Author SHA1 Message Date
jnqnfe 061d7cb340 tidy script init (2/4) - build stage scripts
Partial fix for #952919

Gbp-Dch: Short
2020-03-10 12:39:37 +00:00
jnqnfe 055907592c cache: clarify and simplify package cache save/restore
These functions are specific to handling packages stored in the
cache, not other files. They are also always used with the same
`cache/packages.` prefix to the path.

Gbp-Dch: Short
Closes: #952916
2020-03-05 22:09:20 +00:00
Lyndon Brown 2511fff259 don't unnecessarily convert exit codes to strings
Closes: #952861
2020-03-05 11:33:12 +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 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
Ben Armstrong 8286f7d73c Fixing typo in cache directory names, thanks to Thanatermesis <thanatermesis@gmail.com>. 2012-11-14 21:51:38 +01:00
Daniel Baumann 508510e097 Updating GPL standard header in all files. 2012-07-30 18:19:27 +02:00
Daniel Baumann aa0c0fb107 Renaming internal .stage to .build for consistency within the configuration tree. 2012-06-03 22:42:41 +02:00
Daniel Baumann 822dc2c028 Updating year in copyright notices for 2012. 2012-02-06 23:15:12 +01:00
Daniel Baumann ee58b8ab8d Applying patch from Ivailo Monev to remove stage files for pseudo-filesystems helpers in exit function. 2012-02-06 23:15:10 +01:00
Matthijs Kooijman 02b9dc3ea9 Unmount /root/config in case of error.
When there is an error, the Exit() handler unmounts filesystems within
the chroot. This adds /root/config to the list used when /proc/mounts is
not available.
2012-01-10 21:54:58 +01:00
Daniel Baumann 80fa0406d9 Correcting wrong spelling of cache in exit function, thanks to David Endler for spotting it. 2011-09-07 20:00:40 +02:00
Daniel Baumann eb2a305a5f Saving packages in cache even when failing or interrupting a build (Closes: #586929). 2011-07-19 11:13:17 +02:00
Daniel Baumann 18eeaae602 Updating year in hooks and script files. 2011-03-09 19:20:42 +01:00
Daniel Baumann 772e2ad4bf Removing last live-helper remains in internal variables. 2011-03-09 19:20:39 +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 48f6f2105f Removing last live-helper remains in internal variables. 2011-03-09 19:17:31 +01:00
Daniel Baumann 4d22ca948a Updating copyright headers for live-build. 2011-03-09 19:17:18 +01:00
Daniel Baumann 3479891830 Also (try) unmounting /dev/shm in exit function. 2011-03-09 19:17:09 +01:00
Daniel Baumann 54518852c8 Updating year to 2010 in copyright notices. 2011-03-09 19:17:04 +01:00
Daniel Baumann 45406a5c98 Making unmount routines a bit more robust. 2011-03-09 19:17:03 +01:00
Daniel Baumann 701b5affd4 For consistency, using true|false instead of enabled|disabled in configuration options. 2011-03-09 19:17:03 +01:00
Daniel Baumann 5611d7306e Returning error value of the last process before exiting (Closes: #527331). 2011-03-09 19:09:47 +01:00
Cody A.W. Somerville 6d1a6c1854 Unmounting all mounts in chroot. 2011-03-09 19:09:44 +01:00
Daniel Baumann 989f26d87b Updating year in copyright notices for 2009. 2011-03-09 19:09:40 +01:00
Daniel Baumann 3ff1c8050b Generalizing internal LH_DEBUG variable. 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
Chris Lamb f2d0d81ad0 Print message when Exit is called. 2011-03-09 19:03:43 +01:00
Chris Lamb 4c485f1853 Add utility function to call 'Exit' when script exits. 2011-03-09 19:03:43 +01:00
Daniel Baumann 4f9797c893 Adding unmount calls for pseudo-filesystems in Exit();. 2011-03-09 19:03:43 +01:00
Daniel Baumann ce7c2e2fe1 Removing LIVE_* grep from Exit(); as we have switched to LH_* variables long time ago. 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 8a4a50fdb6 Adding live-helper 1.0~a7-1. 2011-03-09 18:18:29 +01:00
Daniel Baumann 4739146fc6 Adding live-helper 1.0~a6-1. 2011-03-09 18:18:29 +01:00