Commit graph

23 commits

Author SHA1 Message Date
Anders Ingemann
be96e4c13f Move code into proper package folder 2014-04-02 21:26:13 +02:00
Jay Bonci
c8b916b5a2 Abstracted some of the copy_tree stuff out 2014-04-01 01:19:40 +00:00
Anders Ingemann
5cff8f9b1d Use `type' to check if command available. Fixes #11 2014-02-27 23:03:23 +01:00
Anders Ingemann
46dbe9e8c6 Move AKI info into JSON file. Fixes #13
Also introduced config_get() to retrieve a specific value from
these JSON files. Comments are now supported in those files as well
2014-02-27 23:02:58 +01:00
Anders Ingemann
150073e354 Log stdin in log_call 2014-01-15 21:15:06 +01:00
Anders Ingemann
1c93094833 Integrated package plugin with base system
New phase introduced "package installation" (fixes #114)
Apt source lines are now parsed, this allows to verify the target release of added packages.
All packages (except locales) are now installed *after* bootstrapping (fixes #123)
Added env argument to log_(check_)call
HostDependencies have been refactored a little
2013-12-29 20:58:06 +01:00
Anders Ingemann
a60715e710 Simplify sed_i by using fileinput module
This also fixes the problem with the owner:group being set to root
2013-11-22 09:03:48 +01:00
Anders Ingemann
c917c3bd65 Log commands executed 2013-10-27 18:11:13 +01:00
Anders Ingemann
c1e931df5e Fix bug where log_call would not read all lines 2013-10-27 18:10:44 +01:00
Anders Ingemann
4b293db5d6 Merge pull request #98 from JamesBromberger/python
Do a regular expression replace instead of exact string search and replace
2013-09-23 11:49:29 -07:00
root
e04541587a Do a regular expression replace instead of exact string search and replace. 2013-09-23 16:14:38 +00:00
Anders Ingemann
b5c5acf5b1 PEP8-ify things. 2013-08-17 17:28:46 +02:00
Anders Ingemann
d7f4849877 Rename input argument to stdin 2013-08-17 16:04:20 +02:00
James Bromberger
d716baadfb Do permissions changes in a nicer way for sed_i. 2013-08-17 08:23:51 +00:00
Olivier Sallou
cd6e10c6a1 Merge branch 'python' of https://github.com/andsens/build-debian-cloud into python 2013-07-31 08:03:08 +02:00
Anders Ingemann
135ebfbb95 Return stdout in log_check_call 2013-07-13 15:12:45 +02:00
Olivier Sallou
6c81ee2f8c allow to PIPE some input to command 2013-07-10 16:33:35 +02:00
Anders Ingemann
f0e3d45e21 Logging fixes 2013-07-08 23:14:04 +02:00
Anders Ingemann
0fc535cb29 log_call uses own logger now 2013-07-08 23:14:04 +02:00
Anders Ingemann
a26c83fc93 use log_check_call everywhere 2013-07-08 23:14:04 +02:00
Anders Ingemann
0ed091ca1c Implemented GenerateLocales and SetTimezone 2013-07-08 23:14:04 +02:00
Anders Ingemann
1565514018 Trim loglines in log_command() 2013-07-08 23:14:02 +02:00
Anders Ingemann
b92f70e548 bootstrap task implemented 2013-07-08 23:14:01 +02:00