Skip to content

fix(sunshine): fix brew sunshine losing KMS capture#4598

Merged
KyleGospo merged 5 commits intoublue-os:testingfrom
ykshek:brew-sunshine
Apr 13, 2026
Merged

fix(sunshine): fix brew sunshine losing KMS capture#4598
KyleGospo merged 5 commits intoublue-os:testingfrom
ykshek:brew-sunshine

Conversation

@ykshek
Copy link
Copy Markdown
Contributor

@ykshek ykshek commented Apr 9, 2026

Sort of a refactor of brew update sunshine

I guess a temp fix would be to pin the install
otherwise we would need setcap each time sunshine is updated
actually doesn't seem like that bad of an idea
we could add the postinst script as a git submodule subtree? ghcurl it and put it somewhere like /usr/libexec
then add a update|upgrade option in the sunshine ujust
and pin it by default
hell yeah

ykshek added 4 commits April 9, 2026 17:17
from sunshine repo; for use with 82-bazzite-sunshine.just to set kernel modesetting permissions.

currently curl'ed from a commit, should be get from the master branch or as a tag once it is merged from sunshine's side.
fix sunshine losing kernel modesetting capture after an update by disabling updates
update brew sunshine in a way that doesn't break kernel modesetting capture, by running the sourced postinst script.
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 9, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

brew sunshine also doesn't carry their service file, and their build system is way too complicated for me to add it for them upstream to add a 5 second delay...

Just override it locally instead, with the contents on their repo
@ykshek
Copy link
Copy Markdown
Contributor Author

ykshek commented Apr 10, 2026

one more commit to fix xdg portal capture because brew sunshine doesn't carry the service file, and their build system is way too complicated for me to add it for them upstream to add a 5 second delay. Therefore just override it locally instead, with the same contents on their repo

The service file exists as a .service.in on their repo, which seems to be auto-generated by gh actions for the actual file so unfortunately had to hardcode this instead of ghcurling like the postinst script.

@KyleGospo KyleGospo merged commit f45d06e into ublue-os:testing Apr 13, 2026
2 checks passed
KyleGospo pushed a commit that referenced this pull request Apr 14, 2026
* feat(Containerfile): grab postinst script...

from sunshine repo; for use with 82-bazzite-sunshine.just to set kernel modesetting permissions.

currently curl'ed from a commit, should be get from the master branch or as a tag once it is merged from sunshine's side.

* fix(sunshine): pin sunshine on install

fix sunshine losing kernel modesetting capture after an update by disabling updates

* feat(sunshine): add updating function in ujust

update brew sunshine in a way that doesn't break kernel modesetting capture, by running the sourced postinst script.

* feat(yafti): add sunshine update button

* feat(sunshine): also fix xdg portal capture

brew sunshine also doesn't carry their service file, and their build system is way too complicated for me to add it for them upstream to add a 5 second delay...

Just override it locally instead, with the contents on their repo
@ykshek ykshek deleted the brew-sunshine branch April 16, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants