~ogayot/curtin:install-step-by-step

Last commit made on 2022-08-08
Get this branch:
git clone -b install-step-by-step https://git.launchpad.net/~ogayot/curtin
Only Olivier Gayot can upload to this branch. If you are Olivier Gayot please log in for upload directions.

Branch merges

Branch information

Name:
install-step-by-step
Repository:
lp:~ogayot/curtin

Recent commits

b33c2e8... by Olivier Gayot

install: add option to append to log file

Signed-off-by: Olivier Gayot <email address hidden>

0727f62... by Olivier Gayot

install: use a single configuration directive to handle resume data

Instead of using two directives (i.e., one to export and one to import)
to handle the resume data, we now use a single directive.

if the directive specifies a file that does not exist, it counts as
exporting resume data.

If the directive specifies a file tat already exists, it counts as
importing resume data.

Signed-off-by: Olivier Gayot <email address hidden>

a03035c... by Olivier Gayot

install: use attr decorator for WorkingDir

Signed-off-by: Olivier Gayot <email address hidden>

9e659df... by Olivier Gayot

install: allow to perform an install in incremental invocations

In order to perform a more "step-by-step" install, we want the ability
to run `curtin install` multiple times with different stage(s)
specified.

We now support a mechanism to "resume" an installation, through two new
configuration fields:

 * export_resume_data
 * import_resume_data

If more than one invocation of curtin install is planned, the
export_resume_data field should be specified. curtin install will then
create the file and fill it with internal data that will be needed to
resume the installation later.

In subsequent invocations of curtin, the export_resume_data should be
specified to load the internal data and resume the installation.

Signed-off-by: Olivier Gayot <email address hidden>

16a0c5c... by Olivier Gayot

usage: fix help that showed invalid JSON in examples

The usage showed examples to override the stages that are
executed when running curtin install. That said, JSON only
accepts strings surrounded by double quotes and the examples use
single quotes. This leads to invalid JSON syntax if the examples
are copied.

Fixed by inverting the quotes used in the examples so that the
examples are valid.

d986f00... by Michael Hudson-Doyle

tests: use 'ip route' and 'ss' instead of 'route' and 'netstat'

net-tools is (a) ancient (b) apparently not installed on some CI hosts

dda5299... by Dan Bungert

block/v2: gpt preserve uuid,name,attrs,first-lba

0415942... by Olivier Gayot

doc: remove duplicate section about extract subcommand

867a142... by Dan Bungert

version to 22.1

1ffe23d... by Dan Bungert

deb: fix dependencies

Required for bionic build, also more correct anyhow.