Skip to content

Commit b3bae53

Browse files
authored
feat: Add message to plymouth during long bazzite-hardware-setup steps
1 parent a1dbc27 commit b3bae53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

system_files/desktop/shared/usr/bin/bazzite-hardware-setup

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,14 @@ if [[ ! $KARGS =~ "rd.luks.options" ]]; then
130130
fi
131131

132132
if [[ $INITRAMFS =~ "disabled" ]]; then
133+
echo "Found needed initramfs changes, applying."
134+
plymouth display-message --text="Updating initramfs - Please wait" || true
133135
rpm-ostree initramfs --enable --arg=-I --arg=/etc/crypttab
134136
fi
135137

136138
if [[ -n "$NEEDED_KARGS" ]]; then
137139
echo "Found needed karg changes, applying the following: $NEEDED_KARGS"
140+
plymouth display-message --text="Updating kargs - Please wait" || true
138141
rpm-ostree kargs ${NEEDED_KARGS} --reboot || exit 1
139142
else
140143
echo "No karg changes needed"

0 commit comments

Comments
 (0)