From 98d2c922cd6a781623c567fb4917785600311cb3 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sun, 28 Apr 2024 19:52:08 -0700 Subject: [PATCH] chore: Add potentially needed permission fix from Bluefin --- .../desktop/shared/usr/libexec/containerbuild/build-initramfs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system_files/desktop/shared/usr/libexec/containerbuild/build-initramfs b/system_files/desktop/shared/usr/libexec/containerbuild/build-initramfs index 214e2102..0c852570 100755 --- a/system_files/desktop/shared/usr/libexec/containerbuild/build-initramfs +++ b/system_files/desktop/shared/usr/libexec/containerbuild/build-initramfs @@ -9,4 +9,6 @@ else fi QUALIFIED_KERNEL="$(rpm -qa | grep -P 'kernel-(|'"$KERNEL_SUFFIX"'-)(\d+\.\d+\.\d+)' | sed -E 's/kernel-(|'"$KERNEL_SUFFIX"'-)//')" -/usr/libexec/rpm-ostree/wrapped/dracut --no-hostonly --kver "$QUALIFIED_KERNEL" --reproducible -v --add ostree -f "/lib/modules/$QUALIFIED_KERNEL/initramfs.img" \ No newline at end of file +/usr/libexec/rpm-ostree/wrapped/dracut --no-hostonly --kver "$QUALIFIED_KERNEL" --reproducible -v --add ostree -f "/lib/modules/$QUALIFIED_KERNEL/initramfs.img" + +chmod 0600 /lib/modules/$QUALIFIED_KERNEL/initramfs.img \ No newline at end of file