mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-06 00:39:52 +00:00
feat: Add message to plymouth during long bazzite-hardware-setup steps
This commit is contained in:
parent
a1dbc27047
commit
b3bae538f4
@ -130,11 +130,14 @@ if [[ ! $KARGS =~ "rd.luks.options" ]]; then
|
||||
fi
|
||||
|
||||
if [[ $INITRAMFS =~ "disabled" ]]; then
|
||||
echo "Found needed initramfs changes, applying."
|
||||
plymouth display-message --text="Updating initramfs - Please wait" || true
|
||||
rpm-ostree initramfs --enable --arg=-I --arg=/etc/crypttab
|
||||
fi
|
||||
|
||||
if [[ -n "$NEEDED_KARGS" ]]; then
|
||||
echo "Found needed karg changes, applying the following: $NEEDED_KARGS"
|
||||
plymouth display-message --text="Updating kargs - Please wait" || true
|
||||
rpm-ostree kargs ${NEEDED_KARGS} --reboot || exit 1
|
||||
else
|
||||
echo "No karg changes needed"
|
||||
|
Loading…
x
Reference in New Issue
Block a user