mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 02:38:07 +02:00
use grubby to add a new boot entry
This commit is contained in:
parent
6e65b02035
commit
36c3e8e2bd
1 changed files with 8 additions and 0 deletions
|
|
@ -46,3 +46,11 @@ TMPDIR="$(mktemp -d $PWD/initrd.XXXXXXXXXX)"
|
|||
)
|
||||
|
||||
rm -rf "$TMPDIR"
|
||||
|
||||
CURRENT_KERNEL=$(/sbin/grubby --default-kernel)
|
||||
|
||||
/sbin/grubby --title="Graphical Bootup" \
|
||||
--add-kernel="$CURRENT_KERNEL" \
|
||||
--copy-default \
|
||||
--args="vga=0x318 rhgb quiet" \
|
||||
--initrd="$NEW_INITRD"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue