mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-11 06:40:42 +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
|
fi
|
||||||
|
|
||||||
if [[ $INITRAMFS =~ "disabled" ]]; then
|
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
|
rpm-ostree initramfs --enable --arg=-I --arg=/etc/crypttab
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "$NEEDED_KARGS" ]]; then
|
if [[ -n "$NEEDED_KARGS" ]]; then
|
||||||
echo "Found needed karg changes, applying the following: $NEEDED_KARGS"
|
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
|
rpm-ostree kargs ${NEEDED_KARGS} --reboot || exit 1
|
||||||
else
|
else
|
||||||
echo "No karg changes needed"
|
echo "No karg changes needed"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user