Merge pull request #868 from m2Giles/patch-1

fix: custom initramfs args actually get applied
This commit is contained in:
RJ Trujillo 2024-03-09 18:36:52 -05:00 committed by GitHub
commit c26f4b247b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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