Skip to content

Commit

Permalink
feat: Add message to plymouth during long bazzite-hardware-setup steps
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Oct 15, 2023
1 parent a1dbc27 commit b3bae53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system_files/desktop/shared/usr/bin/bazzite-hardware-setup
Expand Up @@ -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"
Expand Down

0 comments on commit b3bae53

Please sign in to comment.