21 Commits

Author SHA1 Message Date
Stéphane Graber
c43c070130
Allow full templating in AptSources
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-15 00:14:15 -04:00
Stéphane Graber
cf9a51df82
More consistent new-line handling
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-14 21:26:50 -04:00
Thomas Hipp
e317214c48
debootstrap: Fix GPG dir removal
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-09 09:09:22 +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
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
cff68bec61
sources: Handle rootfs properly
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-06 17:05:58 +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
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
Thomas Hipp
3530b9b87d
*: Fix imports
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-06 11:16:22 +01:00
Thomas Hipp
e85a2eda7b
sources,shared: Add Suite option to Source
The Suite option is used by debootstrap, and will create a temporary
symlink in /usr/share/debootstrap/scripts. This allows realeased images
which aren't yet in debootstrap to be used.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-01 09:05:34 +01:00
Thomas Hipp
b6c1538356
sources: Add separate variant for downloaders
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-28 18:31:48 +01:00
Thomas Hipp
1ffed3de3e
sources: Support GPG keys in debootstrap
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-28 18:31:47 +01:00
Stéphane Graber
4e2b66ab8b
debootstrap: Drop trailing whiteline
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-02-20 03:40:11 -05:00
Thomas Hipp
4b91f650a4
*: add keys and keyserver to source
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-16 17:17:25 +01:00
Thomas Hipp
a9d5584932
sources: Verify CentOS
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-15 18:25:08 +01:00
Thomas Hipp
85fbc517cc
sources: Verify Arch Linux
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-15 18:25:08 +01:00
Thomas Hipp
3b72f2ab97
sources: Verify Alpine Linux
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-15 18:25:07 +01:00
Thomas Hipp
328bb89569
sources: Verify Ubuntu
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-15 18:25:07 +01:00
Thomas Hipp
cb872c3637
sources: fix debootstrap condition
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-09 18:50:09 +01:00
Thomas Hipp
2424094b17
*: get correct arch
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-09 18:50:09 +01:00
Thomas Hipp
64c04995b3
initial commit
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-06 15:24:32 +01:00