Closed wiseindy closed 2 weeks ago
Can probably probe /etc/os-release
and make the logic in the post install script conditional.
I'm doing something like that in our new linux build script: https://github.com/LizardByte/Sunshine/blob/master/scripts/linux_build.sh
Nice, yeah I'll try to find some time to put up a PR soon
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
Installing the rpm fails on Fedora atomic desktops due to a read-only filesystem. The %post script here https://github.com/LizardByte/Sunshine/blob/master/src_assets/linux/misc/postinst is the cause of the failure.
Workaround
One workaround is to repackage the rpm and remove the
%post
step from therpm
altogetherIf you don't have
rpmrebuild
installed, you can use distrobox or toolbx and install it usingsudo dnf install rpmrebuild
. You may also need to installnano
.Once the new package is built, install the modified package and reboot.
Note: The systemd service needs to be manually updated/enabled https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/setup.html
Expected Behavior
No response
Additional Context
No response
Host Operating System
Linux
Operating System Version
Fedora Kinoite 40
Architecture
64 bit
Sunshine commit or version
v2024.805.184417
Package
Linux - rpm
GPU Type
Intel
GPU Model
Intel UHD Graphics 630
GPU Driver/Mesa Version
Mesa Intel(R) UHD Graphics 630 (CFL GT2)
Capture Method
X11 (Linux)
Config
Apps
No response
Relevant log output