Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InitramFS Generation with Paired Bluetooth Device Metadata #4214

Open
tunix opened this issue Dec 13, 2022 · 1 comment
Open

InitramFS Generation with Paired Bluetooth Device Metadata #4214

tunix opened this issue Dec 13, 2022 · 1 comment

Comments

@tunix
Copy link

tunix commented Dec 13, 2022

    > > > Would this also work for allowing bluetooth at LUKS decryption screen?

For that, I think you'd be better served by rpm-ostree initramfs --enable. And you'll likely also want to add --arg=--add --arg=bluetooth.

Unfortunetely that only includes files inside /etc but not /var/lib/bluetooth so you miss the paired device metadata.

Gotcha. Thanks for bringing this up. We currently don't expose /var to dracut but it could make sense to do so for use cases like this. Can you file a separate issue for this?

Originally posted by @jlebon in #1930 (comment)

As we discussed in above thread, currently it's possible for us to include bluetooth modules inside the generated initramfs image. Since it doesn't include files inside /var/lib/bluetooth, it's not possible to use bluetooth keyboards during LUKS decryption.

@cgwalters
Copy link
Member

One complexity here is that inherently you end up with two copies of the data. And so anytime the bluetooth pairing is changed, the initramfs would need to be regenerated - even outside an OS update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants