fix: custom initramfs args actually get applied

rpm-ostree initramfs is very temperamental.
This commit is contained in:
m2 2024-03-09 18:26:54 -05:00 committed by GitHub
parent ba7261081a
commit 2bef48a149
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