~raharper/curtin:feature/s390x-zkey

Last commit made on 2019-06-21
Get this branch:
git clone -b feature/s390x-zkey https://git.launchpad.net/~raharper/curtin
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
feature/s390x-zkey
Repository:
lp:~raharper/curtin

Recent commits

55a46eb... by Ryan Harper

Reword logged error when strict=False to not trip up vmtest error detection.

5d5667b... by Ryan Harper

Only install s390-tools-zkey if zkey_used

7b4fd22... by Ryan Harper

fix typo in copy_zkey_repository log message.

534f51b... by Ryan Harper

zkey: add strict boolean to toggle log level in error paths.

292872b... by Ryan Harper

Drop debug in dm_crypt handler

5375f2e... by Ryan Harper

zkey: fix issues found during testing

- zkey requires 'pkey' module loaded, add this to zkey_supported() check
- zkey generate needs a file, not a tempdir, use NamedTemporaryFile
- block_meta: write out 'zkey_used' file in state to indicate to curthooks
  that zkey encryption was used
- curthooks: implement copy_zkey_repository
- curthooks: add s390-tools-zkey to the arch specific missing packages

1008c9c... by Ryan Harper

curthooks: copy zkey repository if present

b8d2a79... by Ryan Harper

zkey: add --name and use by-id path:dm_name to reference volume

Generate a volume name from the by-id path and dm_name provided
in the dm_crypt configuration. This makes finding the zkey and
understanding to which device the key is releavant simpler.

8b517cc... by Ryan Harper

block: add disk_to_bypath_path method, extract bypath for zkey description.

c697e46... by Ryan Harper

block: Add zkey_supported to verify working zkey generate command