diff options
author | Richard Laager <[email protected]> | 2019-12-16 18:54:51 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-12-16 16:54:51 -0800 |
commit | ad976437738c67751d97732e12ad5df54b6b518f (patch) | |
tree | d545870b3a625f13e0fa2c4523ca893abc69fd06 /tests | |
parent | ba434b18ec6bcedb9d9eb39fa234fbba55032381 (diff) |
initramfs: setup keymapping and video for prompts
From Steve Langasek <[email protected]>:
> The poorly-named 'FRAMEBUFFER' option in initramfs-tools controls
> whether the console_setup and plymouth scripts are included and used
> in the initramfs. These are required for any initramfs which will be
> prompting for user input: console_setup because without it the user's
> configured keymap will not be set up, and plymouth because you are
> not guaranteed to have working video output in the initramfs without
> it (e.g. some nvidia+UEFI configurations with the default GRUB
> behavior).
> The zfs initramfs script may need to prompt the user for passphrases
> for encrypted zfs datasets, and we don't know definitively whether
> this is the case or not at the time the initramfs is constructed (and
> it's difficult to dynamically populate initramfs config variables
> anyway), therefore the zfs-initramfs package should just set
> FRAMEBUFFER=yes in a conf snippet the same way that the
> cryptsetup-initramfs package does
> (/usr/share/initramfs-tools/conf-hooks.d/cryptsetup).
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1856408
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Kjeld Schouten <[email protected]>
Signed-off-by: Steve Langasek <[email protected]>
Signed-off-by: Richard Laager <[email protected]>
Closes #9723
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions