Skip to content

Commit

Permalink
ERL-294: nemos-images-reference-lunar: qemu-*: use EFI pstore backend
Browse files Browse the repository at this point in the history
This allows saving crashed kernel logs to EFI variables.

Signed-off-by: Isaac True <isaac.true@canonical.com>
  • Loading branch information
IsaacJT committed Aug 8, 2023
1 parent cca72c0 commit 89b917d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nemos-images-reference-lunar/qemu-amd64/appliance.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
overlayroot="true" overlayroot_write_partition="true"
overlayroot_readonly_partsize="1024" squashfscompression="zstd"
bootpartition="true" bootpartsize="256" bootfilesystem="ext4" format="qcow2"
kernelcmdline="console=ttyS0 rd.systemd.verity=1 root=overlay:MAPPER=verityRoot verityroot=/dev/disk/by-partlabel/p.lxreadonly rd.root.overlay.write=/dev/mapper/luks rd.luks=yes rootwait"
kernelcmdline="console=ttyS0 rd.systemd.verity=1 root=overlay:MAPPER=verityRoot verityroot=/dev/disk/by-partlabel/p.lxreadonly rd.root.overlay.write=/dev/mapper/luks rd.luks=yes rootwait pstore.backend=efi"
verity_blocks="all" embed_verity_metadata="true" luks_version="luks2" luks="insecure">
<bootloader name="grub2" console="console" timeout="0" />
<oemconfig>
Expand Down
2 changes: 1 addition & 1 deletion nemos-images-reference-lunar/qemu-arm64/appliance.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
overlayroot="true" overlayroot_write_partition="true"
overlayroot_readonly_partsize="1024" squashfscompression="zstd"
bootpartition="true" bootpartsize="256" bootfilesystem="ext4" format="qcow2"
kernelcmdline="console=ttyS0 rd.systemd.verity=1 root=overlay:MAPPER=verityRoot verityroot=/dev/disk/by-partlabel/p.lxreadonly rd.root.overlay.write=/dev/mapper/luks rd.luks=yes"
kernelcmdline="console=ttyS0 rd.systemd.verity=1 root=overlay:MAPPER=verityRoot verityroot=/dev/disk/by-partlabel/p.lxreadonly rd.root.overlay.write=/dev/mapper/luks rd.luks=yes pstore.backend=efi"
verity_blocks="all" embed_verity_metadata="true" luks_version="luks2" luks="insecure">
<bootloader name="grub2" console="console" timeout="0" />
<oemconfig>
Expand Down

0 comments on commit 89b917d

Please sign in to comment.