ublue-os / config

A layer to provide configuration files (udev rules, service units, etc)
https://universal-blue.org
Apache License 2.0
38 stars 26 forks source link

add luks tpm2 lock/unlock scripts with ujust recipes #264

Closed bsherman closed 2 months ago

bsherman commented 2 months ago

@KyleGospo has already added a version of my scripts to Bazzite since Bazzite and Bluefin now have pre-generated initramfs which adds tmp2.

I suggest we add these scripts to config, but make them smart enough to detect if the initramfs has tpm2 (eg, lsinitrd |grep tpm2) and only run the rpm-ostree initramfs commands if needed.

The scripts should be accessible via ujust recipes.

Links reference: