FS#77909 - [cryptsetup] Add support for Plymouth

Attached to Project: Arch Linux
Opened by Balló György (City-busz) - Sunday, 19 March 2023, 21:11 GMT
Last edited by Toolybird (Toolybird) - Thursday, 23 March 2023, 20:26 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

I'm in the process of adding Playmouth (the boot splash screen) to the official repositories, which means initcpio hooks will not able to write directly to the screen on systems where Plymouth is enabled. The encrypt hook should check if Plymouth is available and running, and send a request to it to ask the password from the user.

Please apply the attached patch which implements this support.

The implementation is based on the similar feature in Dracut:
https://github.com/dracutdevs/dracut/blob/08b63a25296d689186c6343f96e764bf893367cb/modules.d/90crypt/crypt-lib.sh#L108-L113
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 23 March 2023, 20:26 GMT
Reason for closing:  Implemented
Additional comments about closing:  cryptsetup 2.6.1-2

Loading...