heads icon indicating copy to clipboard operation
heads copied to clipboard

Setting a TPM DUK on Ubuntu 24.04 fails at unpacking initramfs

Open tlaurion opened this issue 1 year ago • 2 comments

PXL_20240420_023355792.jpg

Otherwise boots on x230 on master with DRK. So #1641 specific to nv41 @alex-nitrokey @daringer @nestire

tlaurion avatar Apr 20 '24 04:04 tlaurion

@JonathonHall-Purism what on hell is type 02214c18b266 will be subject to another PR down the path...

tlaurion avatar Apr 20 '24 04:04 tlaurion

It's LZ4. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/lib/decompress.c#n58

We'd need to ship an LZ4 decompressor (if we don't already), then add it to unpack_initramfs.sh: https://github.com/linuxboot/heads/blob/master/initrd/bin/unpack_initramfs.sh#L67.

JonathonHall-Purism avatar Apr 22 '24 12:04 JonathonHall-Purism