kiwi-el8/test/unit/utils
Marcus Schäfer d5e7e546ca
Add support for standalone dm integrity
There is support in kiwi to use dm_integrity in combination
with the LUKS header and dm_crypt. However there is also the
use case to setup dm_integrity in standalone mode. This commit
allows to create the dm_integrity layer outside of LUKS using
/etc/integritytab to activate the map through a systemd
generator if systemd is used.

Regarding systemd it's required to use a version of system which
provides: system-generators/systemd-integritysetup-generator.
If this generator does not exist in the distribution it will
also be missing in the dracut generated initrd and the boot
will not be able to succeed. It's mentioned here because even
newer distributions might be missing the generator

Along with the implementation there are two new optional
attributes in the <type> section:

    standalone_integrity="true|false"
    embed_integrity_metadata="true|false"

standalone_integrity activates/deactivates the dm_integrity map
on top of the root filesystem. Similar to the veritysetup support
there is the opportunity to create an embedded magic metadata
block at the end of the device containing the root
filesystem via embed_integrity_metadata
2022-04-25 15:40:32 +02:00
..
__init__.py Re-structure unit tests folders 2019-10-21 14:00:05 +02:00
block_test.py Make blkid call more robust 2022-03-25 12:07:23 +01:00
checksum_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
codec_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
command_capabilities_test.py Make CommandCapabilities.check_version take the longest match 2020-04-16 10:25:21 +02:00
compress_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
fstab_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
output_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
primes_test.py Drop usage of factor from coreutils 2021-11-11 09:23:46 +01:00
rpm_database_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
rpm_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
signature_test.py Add support for standalone dm integrity 2022-04-25 15:40:32 +02:00
size_test.py Re-structure unit tests folders 2019-10-21 14:00:05 +02:00
sync_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
sysconfig_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
temporary_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
veritysetup_test.py Add support for standalone dm integrity 2022-04-25 15:40:32 +02:00