Commit Graph

31 Commits

Author SHA1 Message Date
Daniel Baumann
23b8ec4ff8 Setting default distribution to jessie. 2014-08-24 00:56:56 +02:00
Kiel Christofferson
846e8a0795 Replace subprocess.call() with subprocess.check_call().
Using check_call(), a non-zero return value from the subprocess will cause the
desired behavior of an aborted build with a stack trace.
2014-06-17 13:32:37 -04:00
Daniel Baumann
21ada8a348 Correcting os.chmod usage in lb init. 2014-04-28 19:48:33 +02:00
Daniel Baumann
7ae8b0a130 Ensuring correct include directory permissions avoiding tainting of target system in lb init. 2014-04-26 08:05:32 +02:00
Simon McVittie
c3bd85f0de Run hooks in sorted order (Closes: #745839).
glob.glob() returns files in filesystem order, which is unpredictable
on many modern filesystems.
2014-04-26 08:05:32 +02:00
Daniel Baumann
eb336bb782 Updating copyright notices for 2014. 2014-02-08 17:47:24 +01:00
Daniel Baumann
30d2c54194 Pre-emptively removing occurances of the short name of the Debian derivative from Canonical that cannot be named. 2013-11-10 09:33:47 +01:00
Daniel Baumann
aaa3b7382f Correcting a few copy/paste errors in *-includes python stubs. 2013-11-10 08:06:45 +01:00
Daniel Baumann
e9b5682936 Correcting file open modes in lb-init. 2013-11-07 08:43:33 +01:00
Daniel Baumann
aeaaf8709e Moving live-build development disclaimer message from lb-config to lb-init. 2013-11-06 09:48:30 +01:00
Daniel Baumann
038b1fa8f6 Moving bootstrapping of derivative archive-keys from config to init. 2013-11-06 08:16:31 +01:00
Daniel Baumann
0225cd6023 Correcting comment in bootstrap-cdebootstrap. 2013-11-05 19:43:54 +01:00
Daniel Baumann
8245c7d0fc Adding --distribution to lb-init. 2013-11-05 12:20:17 +01:00
Daniel Baumann
960de852b7 Adding initial stub for lb init.
In the past, we had lb config for both creating a configuration directory
and updating settings in there. With the rewrite in Python, we're now
changing this finally to the more sane 'init' (create initial 'sample'
configuration directory tree, taking most arguments that lb config did)
and 'config' which will only be a get/set program to work on top of
an already initialized configuration tree.
2013-11-05 12:20:11 +01:00
Daniel Baumann
0495570394 Correcting error message when no includes have been found in *-includes commands. 2013-11-04 19:00:56 +01:00
Daniel Baumann
4fa62f53fa Adding bootstrap-includes. 2013-11-04 18:59:23 +01:00
Daniel Baumann
8e0188c72c Adding sources-includes. 2013-11-04 18:46:56 +01:00
Daniel Baumann
1e04939721 Rewriting binary_includes in python. 2013-11-04 18:33:48 +01:00
Daniel Baumann
0c72f37533 Completing incomplete verbose message when copying files in chroot-includes. 2013-11-04 18:31:55 +01:00
Daniel Baumann
00b2ea2d8a Correcting spelling typo in python stubs (s/optained/obtained/). 2013-11-04 18:29:12 +01:00
Daniel Baumann
e9d44e95a5 Adding dependency check for cpio in chroot-includes. 2013-11-04 18:27:57 +01:00
Daniel Baumann
941f178173 Updating program description of *-hook commands. 2013-11-04 17:51:38 +01:00
Daniel Baumann
fee4e8b349 Rewriting chroot_includes in python. 2013-11-04 17:51:36 +01:00
Daniel Baumann
9987bdcc1a Updating todos in python stubs. 2013-11-04 17:21:06 +01:00
Daniel Baumann
9e3863aa8f Switching to later submodule naming scheme for python stubs. 2013-11-04 17:10:22 +01:00
Daniel Baumann
8d7c992858 Streamlineing a few comments in the python stubs. 2013-11-04 14:44:45 +01:00
Daniel Baumann
5603355e1d Handling bootstrap cache inside the bootstrap stubs itself. 2013-11-04 14:02:40 +01:00
Daniel Baumann
1a33b7a585 Simplifying package cache stanza in python bootstrap stubs. 2013-11-04 09:44:01 +01:00
Daniel Baumann
7bb90e9f5f Replacing os.link calls for hooks with shutil.copy to properly dereference symlinks in python stubs. 2013-11-04 07:40:05 +01:00
Daniel Baumann
a5bd371568 Manually adding --version to argparse in python stub since python 3.3 dropped the version keyword. 2013-11-04 07:16:28 +01:00
Daniel Baumann
52122b2845 Moving python stubs to their own subdirectory within the source tree. 2013-11-04 07:06:08 +01:00