|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | - |
| 2 | +<!-- OBS-Profiles: @BUILD_FLAVOR@ --> |
3 | 3 | <image schemaversion="7.5" name="kiwi-test-image-luks"> |
4 | 4 | <description type="system"> |
5 | 5 | <author>Marcus Schäfer</author> |
6 | 6 | < contact> [email protected]</ contact> |
7 | 7 | <specification>Disk full encryption disk test build</specification> |
8 | 8 | </description> |
| 9 | + <profiles> |
| 10 | + <profile name="Insecure" description="Encrypted no reencryption"/> |
| 11 | + <profile name="ReEncryptExtraBootEmptyPass" description="Run reencryption with extra boot partition and empty passphrase"/> |
| 12 | + <profile name="ReEncryptExtraBootWithPass" description="Run reencryption with extra boot partition and passphrase"/> |
| 13 | + <profile name="ReEncryptFullDisk" description="Run full disk reencryption with passphrase"/> |
| 14 | + </profiles> |
9 | 15 | <preferences> |
10 | 16 | <version>1.15.1</version> |
11 | 17 | <packagemanager>zypper</packagemanager> |
|
16 | 22 | <rpm-check-signatures>false</rpm-check-signatures> |
17 | 23 | <bootsplash-theme>breeze</bootsplash-theme> |
18 | 24 | <bootloader-theme>openSUSE</bootloader-theme> |
| 25 | + </preferences> |
| 26 | + <preferences profiles="Insecure"> |
19 | 27 | <type image="oem" filesystem="ext4" kernelcmdline="console=ttyS0" firmware="uefi" luks="linux" luks_version="luks2" luks_pbkdf="pbkdf2" bootpartition="false"> |
20 | 28 | <luksformat> |
21 | 29 | <option name="--cipher" value="aes-xts-plain64"/> |
22 | 30 | <option name="--key-size" value="256"/> |
23 | 31 | </luksformat> |
24 | 32 | <oemconfig> |
25 | | - <oem-resize>false</oem-resize> |
| 33 | + <oem-resize>true</oem-resize> |
| 34 | + </oemconfig> |
| 35 | + <bootloader name="grub2" console="serial" timeout="10"/> |
| 36 | + </type> |
| 37 | + </preferences> |
| 38 | + <preferences profiles="ReEncryptExtraBootEmptyPass"> |
| 39 | + <type image="oem" filesystem="ext4" kernelcmdline="console=ttyS0 rd.kiwi.oem.luks.reencrypt" firmware="uefi" luks="" luks_version="luks2" luks_pbkdf="pbkdf2" bootpartition="true"> |
| 40 | + <luksformat> |
| 41 | + <option name="--cipher" value="aes-xts-plain64"/> |
| 42 | + <option name="--key-size" value="256"/> |
| 43 | + </luksformat> |
| 44 | + <oemconfig> |
| 45 | + <oem-resize>true</oem-resize> |
| 46 | + </oemconfig> |
| 47 | + <bootloader name="grub2" console="serial" timeout="10"/> |
| 48 | + </type> |
| 49 | + </preferences> |
| 50 | + <preferences profiles="ReEncryptExtraBootWithPass"> |
| 51 | + <type image="oem" filesystem="ext4" kernelcmdline="console=ttyS0 rd.kiwi.oem.luks.reencrypt" firmware="uefi" luks="linux" luks_version="luks2" luks_pbkdf="pbkdf2" bootpartition="true"> |
| 52 | + <luksformat> |
| 53 | + <option name="--cipher" value="aes-xts-plain64"/> |
| 54 | + <option name="--key-size" value="256"/> |
| 55 | + </luksformat> |
| 56 | + <oemconfig> |
| 57 | + <oem-resize>true</oem-resize> |
| 58 | + </oemconfig> |
| 59 | + <bootloader name="grub2" console="serial" timeout="10"/> |
| 60 | + </type> |
| 61 | + </preferences> |
| 62 | + <preferences profiles="ReEncryptFullDisk"> |
| 63 | + <type image="oem" filesystem="ext4" kernelcmdline="console=ttyS0 rd.kiwi.oem.luks.reencrypt" firmware="uefi" luks="linux" luks_version="luks2" luks_pbkdf="pbkdf2" bootpartition="false"> |
| 64 | + <luksformat> |
| 65 | + <option name="--cipher" value="aes-xts-plain64"/> |
| 66 | + <option name="--key-size" value="256"/> |
| 67 | + </luksformat> |
| 68 | + <oemconfig> |
| 69 | + <oem-resize>true</oem-resize> |
26 | 70 | </oemconfig> |
27 | 71 | <bootloader name="grub2" console="serial" timeout="10"/> |
28 | 72 | </type> |
|
61 | 105 | <package name="shim"/> |
62 | 106 | <package name="timezone"/> |
63 | 107 | <package name="cryptsetup"/> |
| 108 | + <package name="dracut-kiwi-oem-repart"/> |
64 | 109 | </packages> |
65 | 110 | <packages type="bootstrap"> |
66 | 111 | <package name="gawk"/> |
|
0 commit comments