Thomas Hipp
d4c62c74ac
generators: Extend generators by Run() command
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 17:04:47 +01:00
Stéphane Graber
f7cbbc9f1d
Merge pull request #50 from monstermunchkin/master
...
definition: Remove default for source.Variant
2018-03-08 16:21:34 +01:00
Thomas Hipp
5183b20b78
definition: Remove default for source.Variant
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 16:19:20 +01:00
Stéphane Graber
b1b53d058f
Merge pull request #48 from monstermunchkin/actions
...
make actions more flexible
2018-03-08 16:08:35 +01:00
Stéphane Graber
b40ce12a68
Merge pull request #49 from monstermunchkin/master
...
Update README.md
2018-03-08 16:07:54 +01:00
Thomas Hipp
4244c14dc0
Update README.md
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 15:54:18 +01:00
Thomas Hipp
03fd590d2c
main: Use list of actions
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 15:51:01 +01:00
Thomas Hipp
f4d8b692ff
main: Make actions more flexible
...
Resolves #44
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 14:55:41 +01:00
Thomas Hipp
78262d4dde
main: Run all post actions inside chroot
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 14:34:25 +01:00
Stéphane Graber
1994fa00e1
Merge pull request #47 from monstermunchkin/master
...
shared,chroot: Set environment variables
2018-03-08 11:37:17 +01:00
Thomas Hipp
913d0aaa69
shared,chroot: Set environment variables
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 11:30:42 +01:00
Stéphane Graber
e3724965c8
Merge pull request #45 from monstermunchkin/issues/43
...
sources: Require GPG keys for HTTP downloads
2018-03-08 09:44:04 +01:00
Stéphane Graber
5eeb8a9aca
Merge pull request #46 from monstermunchkin/master
...
shared: Set default variant
2018-03-08 09:43:11 +01:00
Thomas Hipp
beaf55f0db
shared: Set default variant
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 09:42:14 +01:00
Thomas Hipp
c42f1e7e1b
sources: Require GPG keys for HTTP downloads
...
Resolves #43
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 09:27:35 +01:00
Stéphane Graber
c9510554e4
Merge pull request #42 from monstermunchkin/actions
...
distrobuilder: Add actions
2018-03-07 22:44:01 +01:00
Thomas Hipp
b76ca478bb
distrobuilder: Use pipe for running scripts
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 18:43:10 +01:00
Stéphane Graber
866753078c
Merge pull request #40 from monstermunchkin/issues/38
...
Add more generators
2018-03-07 18:21:04 +01:00
Stéphane Graber
5b257da159
Merge pull request #41 from monstermunchkin/debootstrap
...
shared: Make debootstrap noninteractive
2018-03-07 18:17:13 +01:00
Thomas Hipp
bf4056918e
distrobuilder: Add actions
...
Resolves #37
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 18:09:55 +01:00
Thomas Hipp
e003b23773
shared: Make debootstrap noninteractive
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 17:42:45 +01:00
Thomas Hipp
23c736ba58
generators: Add dump generator
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 17:35:28 +01:00
Thomas Hipp
64ca66571f
generators: Add generator for removing files
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 17:24:41 +01:00
Thomas Hipp
ba33cd231c
generators: Change interface functions
...
Rename to RunLX{C,D} since they are not only for file creation.
Change signature for possible future arguments.
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 17:10:37 +01:00
Stéphane Graber
dcb62d4666
Merge pull request #39 from monstermunchkin/issues/30
...
Add support for compat level overrides
2018-03-07 16:30:07 +01:00
Thomas Hipp
0c7e50de7c
tests: Update lxc config tests
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 15:52:55 +01:00
Thomas Hipp
f412fc349d
*: Add support for compat level overrides
...
Resolves #30
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 15:52:55 +01:00
Stéphane Graber
6f606fed8f
Merge pull request #35 from monstermunchkin/issues/31
...
Add AptSources
2018-03-07 13:45:29 +01:00
Stéphane Graber
1d20e0a821
Merge pull request #36 from monstermunchkin/master
...
Update README.md
2018-03-07 13:43:46 +01:00
Thomas Hipp
c1d1d8fd5d
Update README.md
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 13:40:48 +01:00
Thomas Hipp
b36650d5c9
sources: Add AptSources
...
This allows the apt sources to be templated after the image has been
unpacked.
This resolves #31
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 12:22:13 +01:00
Thomas Hipp
81501c9220
*: Move renderTemplate to shared/utils
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 12:11:19 +01:00
Stéphane Graber
72c0e5ff08
Merge pull request #34 from monstermunchkin/master
...
Use proper source directory
2018-03-07 11:09:25 +01:00
Thomas Hipp
3520763f54
Update tests
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 11:01:36 +01:00
Thomas Hipp
f70b4107b0
*: Fix tarballs and add compression
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 11:01:21 +01:00
Thomas Hipp
a5efaa581b
distrobuilder: Get absolute source directory
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 09:40:20 +01:00
Thomas Hipp
b759ae35ce
image: Build correct images
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 09:39:35 +01:00
Thomas Hipp
5164681635
generators: Add sourceDir to generators
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 09:38:23 +01:00
Thomas Hipp
cff68bec61
sources: Handle rootfs properly
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-06 17:05:58 +01:00
Thomas Hipp
17b0573f1e
distrobuilder: Do not use "rootfs" directory with build-dir sub-command
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-06 15:24:31 +01:00
Stéphane Graber
5968b35025
Merge pull request #29 from monstermunchkin/gpg
...
shared: Fix GPG
2018-03-06 14:50:54 +01:00
Thomas Hipp
4ad8b8959b
shared: Fix GPG
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-06 14:36:52 +01:00
Stéphane Graber
bc279f1333
Merge pull request #28 from monstermunchkin/master
...
debootstrap: Support both gpg1 and gpg2
2018-03-06 12:33:38 +01:00
Thomas Hipp
cc2ac6bbcb
debootstrap: Support both gpg1 and gpg2
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-06 12:31:02 +01:00
Stéphane Graber
501ff22c41
Merge pull request #26 from monstermunchkin/issues/13
...
*: Switch to cobra CLI
2018-03-06 11:33:57 +01:00
Stéphane Graber
a91e101510
Merge pull request #27 from monstermunchkin/formatting
...
*: Fix imports
2018-03-06 11:32:44 +01:00
Thomas Hipp
3530b9b87d
*: Fix imports
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-06 11:16:22 +01:00
Thomas Hipp
c8d8bb8435
main: Fix formatting
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-06 11:12:11 +01:00
Thomas Hipp
5f4b4b25c5
*: Switch to cobra CLI
...
Resolves #13
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-05 17:49:56 +01:00
Stéphane Graber
c3d2bc0315
Merge pull request #25 from monstermunchkin/testing
...
generators: Fix Restore and add tests
2018-03-05 06:46:32 -05:00