Skip to content

Commit

Permalink
fix: custom initramfs args actually get applied
Browse files Browse the repository at this point in the history
rpm-ostree initramfs is very temperamental.
  • Loading branch information
m2Giles authored Mar 9, 2024
1 parent ba72610 commit 2bef48a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ if $NEEDS_INITRAMFS_APPLICATION; then
INITRAMFS_BAZZITE_ARGS=$(cat $INITRAMFS_BAZZITE_ARG_FILE)
echo "Building initramfs with following custom args: $INITRAMFS_CUSTOM_ARGS"
plymouth display-message --text="Updating initramfs - Please wait, this may take a while" || true
rpm-ostree initramfs --enable "$INITRAMFS_BAZZITE_ARGS" "$INITRAMFS_CUSTOM_ARGS"
rpm-ostree initramfs --enable "${INITRAMFS_BAZZITE_ARGS} ${INITRAMFS_CUSTOM_ARGS}"
else
echo "No initramfs changes needed"
fi
Expand Down

0 comments on commit 2bef48a

Please sign in to comment.