-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2278 from OliverO2/feature-rawdisk-and-opalpba-im…
…provements Feature RAWDISK and OPALPBA improvements: RAWDISK: include additional Grub modules from /boot/grub (and /boot/grub2) which had formerly been missing OPALPBA: improve Plymouth boot animation on Ubuntu, provide integration capabilities for other distros RAWDISK: add support for distros which use 'grub2' naming, see #2275
- Loading branch information
Showing
6 changed files
with
93 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
PROGS=( "${PROGS[@]}" initctl MAKEDEV ) | ||
|
||
##### | ||
# TCG Opal 2 PBA system only: Include Plymouth graphical boot animation | ||
|
||
OPAL_PBA_PROGS+=( plymouth plymouthd ) | ||
|
||
OPAL_PBA_COPY_AS_IS+=( /etc/alternatives/*plymouth* /usr/lib/x86_64-linux-gnu/plymouth /usr/share/plymouth /usr/share/fonts/truetype/ubuntu ) | ||
|
||
# NOTE: 'build/GNU/Linux/100_copy_as_is.sh' auto-detects shared libraries referenced by executables from COPY_AS_IS | ||
# but fails to consider shared libraries (*.so) from COPY_AS_IS. Adding those to LIBS gets them covered. | ||
OPAL_PBA_LIBS+=( /usr/lib/x86_64-linux-gnu/plymouth/*.so /usr/lib/x86_64-linux-gnu/plymouth/renderers/*.so ) | ||
|
||
if grep --quiet 'vt.handoff=1' /proc/cmdline; then | ||
# vt.handoff=1 triggers an Ubuntu-specifc mechanism to ensure a smooth boot splash transition | ||
# Cf. https://help.ubuntu.com/community/vt.handoff | ||
# Only do this on systems where it was originally enabled, otherwise the PBA might boot into a black screen. | ||
# (In case of the latter, pressing ESC helps). | ||
OPAL_PBA_KERNEL_CMDLINE+=" vt.handoff=1" | ||
fi | ||
|
||
OPAL_PBA_USE_SERIAL_CONSOLE="No" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters