Commit Graph

331 Commits

Author SHA1 Message Date
Stéphane Graber
e1c547b4df
Merge pull request #133 from monstermunchkin/features/architecture-specific-package-sets
Support architecture specific package sets
2019-02-15 11:09:22 -05:00
Thomas Hipp
8fa1835ee6
distrobuilder: Architecture specific package sets
This adds support for architecture specific package sets. If the field
is unset, packages will be installed/removed on all architectures.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-02-15 08:24:48 +01:00
Thomas Hipp
8b80b8840f
shared: Add Architecture to package set definition
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-02-15 08:24:32 +01:00
Stéphane Graber
74cdc6c09f
Merge pull request #132 from monstermunchkin/issues/131-debian-cloud-init
doc: Fix debian-cloud-init example
2019-02-14 10:58:46 -05:00
Thomas Hipp
ac1421c044
doc: Fix debian-cloud-init example
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-02-14 11:08:57 +01:00
Stéphane Graber
d2f776369d
Merge pull request #130 from monstermunchkin/issues/129-archlinuxarm
Support Arch Linux ARM
2019-02-13 09:49:12 -05:00
Thomas Hipp
d9aa951b84
pacman: Support Arch Linux ARM
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-02-13 14:29:09 +01:00
Thomas Hipp
1618bc5f62
sources: Support Arch Linux ARM
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-02-13 13:08:14 +01:00
Thomas Hipp
071d0b9212
shared: Add Arch Linux mapping
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-02-13 13:05:35 +01:00
Stéphane Graber
73706bff65
gentoo: Tweak source image parsing
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-02-11 22:22:45 -05:00
Stéphane Graber
117055b3ed
Merge pull request #127 from monstermunchkin/issues/126-archlinux-latest-iso
sources: Get latest Arch Linux release by default
2019-02-11 09:10:31 -05:00
Thomas Hipp
c5c899607d
sources: Get latest Arch Linux release by default
If image.release is empty or not set, the latest release will be used.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-02-11 14:26:13 +01:00
Stéphane Graber
369472bd92
shared: Tweak DownloadHash
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-02-10 00:58:50 -05:00
Stéphane Graber
281d0028a6
gentoo: Add support for .tar.bz2
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-02-10 00:10:46 -05:00
Stéphane Graber
56a1201f4f
shared: Add gentoo to list of valid mappings
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-02-10 00:03:21 -05:00
Stéphane Graber
ece542ece3
gentoo: Fix foreign architectures
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-02-09 23:42:45 -05:00
Stéphane Graber
f660bfd95e
shared: Add gentoo architecture entries
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-02-09 23:37:27 -05:00
Stéphane Graber
bef1bd3fde
gentoo: Use stage3
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-02-09 22:41:35 -05:00
Stéphane Graber
a7f1a578f8
Update for LXD Unpack change
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-02-03 09:10:53 +01:00
Stéphane Graber
0d35ba9d20
centos: Fix bad shell script
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-01-24 12:38:51 -05:00
Stéphane Graber
d6c5f85de3
Merge pull request #125 from monstermunchkin/fixes/centos
sources: Support raw images in CentOS
2019-01-24 19:30:01 +02:00
Thomas Hipp
d4a336be69
sources: Support raw images in CentOS
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-01-22 10:33:38 +01:00
Stéphane Graber
ff4f3592fd
Merge pull request #124 from monstermunchkin/fixes/examples
doc: Sync examples with lxc-ci definitions
2019-01-19 00:08:20 +02:00
Thomas Hipp
d29bfc5f81
doc: Sync examples with lxc-ci definitions
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-01-18 20:20:50 +01:00
Thomas Hipp
b731b4b95c
Merge pull request #123 from stgraber/master
centos: Fix AltArch
2019-01-18 13:06:29 +01:00
Stéphane Graber
7778349089
centos: Fix AltArch
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-01-18 13:49:16 +02:00
Stéphane Graber
45092e6afd
Merge pull request #121 from monstermunchkin/fixes/arch
sources: Remove temporary root directory in Arch
2019-01-16 15:50:06 +02:00
Thomas Hipp
586ef95258
sources: Remove temporary root directory in Arch
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-01-16 14:45:35 +01:00
Stéphane Graber
fdc7af4949
centos: Install centos-release
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-01-12 23:07:07 +02:00
Stéphane Graber
be0f1011c6
Allow dump generator to add LXC templates
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2019-01-12 12:52:22 +02:00
Stéphane Graber
c3047d252d
Merge pull request #120 from monstermunchkin/fixes/centos
Fix CentOS
2019-01-11 14:20:17 -05:00
Thomas Hipp
b15ff82831
doc: Update CentOS example
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-01-11 19:50:22 +01:00
Thomas Hipp
58d1c25ad4
sources: Have CentOS create a minimal rootfs
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-01-11 19:43:01 +01:00
Thomas Hipp
c2254721ce
Merge pull request #114 from geaaru/master
Add sabayon support and new features
2018-12-28 12:52:11 -08:00
Daniele Rondina
13aadefee7
Add docker downloader
Signed-off-by: Daniele Rondina <geaaru@sabayonlinux.org>
2018-12-28 21:46:38 +01:00
Daniele Rondina
aeaad0a6db
Added sabayon amd64 support
Signed-off-by: Daniele Rondina <geaaru@sabayonlinux.org>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-12-28 21:46:38 +01:00
Daniele Rondina
cbb9007f5d
Integrate repositories handler function
Signed-off-by: Daniele Rondina <geaaru@sabayonlinux.org>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-12-28 21:46:38 +01:00
Daniele Rondina
d1e8bdc2d7 Permit definition of environment vars on image file
Signed-off-by: Daniele Rondina <geaaru@sabayonlinux.org>
2018-12-22 16:37:37 +01:00
Stéphane Graber
28e594456d
Fix hashing function
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-12-20 16:01:09 -05:00
Stéphane Graber
40dceebbd7
Merge pull request #119 from monstermunchkin/fixes/hash
shared/net: Fix hash matching
2018-12-20 15:06:49 -05:00
Thomas Hipp
9f09f83c14
shared/net: Fix hash matching
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-12-20 20:59:34 +01:00
Stéphane Graber
663e5bff80
Merge pull request #117 from monstermunchkin/fixes/download-hash
Export function DownloadHash
2018-12-20 12:20:17 -05:00
Stéphane Graber
53bd6679b4
Merge pull request #118 from monstermunchkin/fixes/extend-package-def
Extend package definition
2018-12-20 12:20:01 -05:00
Thomas Hipp
3df563acc4
Update examples
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-12-20 15:27:41 +01:00
Thomas Hipp
fdf56fc247
test: Test new package definition
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-12-20 15:27:41 +01:00
Thomas Hipp
bd4eabd4b3
Extend package definition
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-12-20 15:27:41 +01:00
Thomas Hipp
f0b6939540
sources: Use exported function DownloadHash
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-12-20 10:14:45 +01:00
Thomas Hipp
10b518a04d
shared/net: Export function DownloadHash
This removes the functions DownloadSha{256,512} in favor of DownloadHash
which lets you specify a hash function.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-12-20 10:14:45 +01:00
Stéphane Graber
7fb5fcfa83
Port to new DownloadFileHash
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-12-20 00:42:39 -05:00
Stéphane Graber
05705b6dea
Merge pull request #116 from monstermunchkin/fixes/env-vars
Use map for environment variables
2018-12-19 15:08:30 -05:00