Skip to content

Commit 2cf61c0

Browse files
committed
Adding "azure-fde" option to post installation script
"azure-fde" will become a standalone kernel, thus command line parameters must be passed to this kernel, along with regular "azure" as well to maintain backward compatibility Signed-off-by: John Cabaj <john.cabaj@canonical.com>
1 parent 7e53019 commit 2cf61c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postinst.d/ubuntu-core-initramfs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ubuntu-core-initramfs create-initrd --kernelver $version
2222
case `dpkg --print-architecture` in
2323
amd64|arm64)
2424
case $version in
25-
*-azure)
25+
*-azure | *-azure-fde)
2626
# Currently nullboot doesn't seal cmdline, thus it must be baked in for azure
2727
ubuntu-core-initramfs create-efi --unsigned --kernelver $version --cmdline "snapd_recovery_mode=cloudimg-rootfs console=tty1 console=ttyS0 earlyprintk=ttyS0"
2828
;;

0 commit comments

Comments
 (0)