bazzite/Containerfile

822 lines
39 KiB
Plaintext
Raw Normal View History

#
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
# %%%%%%====%%%%%%%%%%
# %%%%%%%% %%%%%%%%%%%%%%
# %%%%%%%%% %%%%%%%%%%%%%%%%
# %%%%%%%%% %%%%%%%%%%%%%%%###
# %%%%%%%%% %%%%%%%%%%%%%######
# == =======######
# == =========#####
# %%%%%%%%% %%%%%%%####======#####
# %%%%%%%%% %%%%%#######=====#####
# %%%%%%%%% %%%#########=====#####
# %%%%%%%%% %%##########=====#####
# %%%%%%%%%====###########=====######
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
# %%%%%%%%====#########======######
# %%%%%%%=====#####========######
# %%%%###===============#######
# %#######==========#########
# #######################
# ###################
# ###########
#
# Welcome to Bazzite! If you're looking to
# build your own, we highly recommend you
# use our custom image template. Forking
# the main repo provides more control, but
# is often unnecessary.
#
# https://github.com/ublue-os/image-template
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}"
ARG BASE_IMAGE_FLAVOR="${BASE_IMAGE_FLAVOR:-main}"
ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-main}"
2024-10-08 14:50:18 -07:00
ARG NVIDIA_FLAVOR="${NVIDIA_FLAVOR:-nvidia}"
ARG NVIDIA_BASE="${NVIDIA_BASE:-bazzite}"
2024-10-18 23:55:13 -07:00
ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-bazzite}"
ARG KERNEL_VERSION="${KERNEL_VERSION:-6.12.5-204.bazzite.fc41.x86_64}"
ARG IMAGE_BRANCH="${IMAGE_BRANCH:-main}"
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-$BASE_IMAGE_NAME-$BASE_IMAGE_FLAVOR}"
ARG BASE_IMAGE="ghcr.io/ublue-os/${SOURCE_IMAGE}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-41}"
ARG JUPITER_FIRMWARE_VERSION="${JUPITER_FIRMWARE_VERSION:-jupiter-20241205.1}"
ARG SHA_HEAD_SHORT="${SHA_HEAD_SHORT}"
ARG VERSION_TAG="${VERSION_TAG}"
ARG VERSION_PRETTY="${VERSION_PRETTY}"
2024-10-18 23:55:13 -07:00
FROM ghcr.io/ublue-os/${KERNEL_FLAVOR}-kernel:${FEDORA_MAJOR_VERSION}-${KERNEL_VERSION} AS kernel
FROM ghcr.io/ublue-os/akmods:${KERNEL_FLAVOR}-${FEDORA_MAJOR_VERSION}-${KERNEL_VERSION} AS akmods
FROM ghcr.io/ublue-os/akmods-extra:${KERNEL_FLAVOR}-${FEDORA_MAJOR_VERSION}-${KERNEL_VERSION} AS akmods-extra
FROM scratch AS ctx
COPY build_files /
################
# DESKTOP BUILDS
################
FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS bazzite
ARG IMAGE_NAME="${IMAGE_NAME:-bazzite}"
ARG IMAGE_VENDOR="${IMAGE_VENDOR:-ublue-os}"
ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-main}"
2024-10-08 14:50:18 -07:00
ARG NVIDIA_FLAVOR="${NVIDIA_FLAVOR:-nvidia}"
ARG NVIDIA_BASE="${NVIDIA_BASE:-bazzite}"
2024-10-18 23:55:13 -07:00
ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-bazzite}"
ARG KERNEL_VERSION="${KERNEL_VERSION:-6.12.5-204.bazzite.fc41.x86_64}"
ARG IMAGE_BRANCH="${IMAGE_BRANCH:-main}"
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-41}"
ARG JUPITER_FIRMWARE_VERSION="${JUPITER_FIRMWARE_VERSION:-jupiter-20241205.1}"
ARG SHA_HEAD_SHORT="${SHA_HEAD_SHORT}"
ARG VERSION_TAG="${VERSION_TAG}"
ARG VERSION_PRETTY="${VERSION_PRETTY}"
2023-02-09 11:08:39 -08:00
COPY system_files/desktop/shared system_files/desktop/${BASE_IMAGE_NAME} /
# Setup Copr repos
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
/ctx/unwrap && \
dnf5 -y install dnf5-plugins && \
for copr in \
kylegospo/bazzite \
kylegospo/bazzite-multilib \
ublue-os/staging \
kylegospo/LatencyFleX \
kylegospo/obs-vkcapture \
kylegospo/wallpaper-engine-kde-plugin \
ycollet/audinux \
kylegospo/rom-properties \
kylegospo/webapp-manager \
hhd-dev/hhd \
che/nerd-fonts \
hikariknight/looking-glass-kvmfr \
mavit/discover-overlay \
lizardbyte/beta \
rok/cdemu \
rodoma92/kde-cdemu-manager \
rodoma92/rmlint \
ilyaz/LACT; \
do \
dnf5 -y copr enable $copr; \
dnf5 -y config-manager setopt copr:copr.fedorainfracloud.org:${copr////:}.priority=98 ;\
done && unset -v copr && \
dnf5 -y install --nogpgcheck --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' terra-release{,-extras} && \
dnf5 -y config-manager addrepo --overwrite --from-repofile=https://pkgs.tailscale.com/stable/fedora/tailscale.repo && \
dnf5 -y install \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm && \
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo && \
dnf5 -y config-manager addrepo --from-repofile=https://negativo17.org/repos/fedora-steam.repo && \
dnf5 -y config-manager addrepo --from-repofile=https://negativo17.org/repos/fedora-rar.repo && \
dnf5 -y config-manager setopt "*bazzite*".priority=1 && \
dnf5 -y config-manager setopt "*terra*".priority=2 && \
eval "$(/ctx/dnf5-setopt setopt '*negativo17*' priority=3 exclude='mesa-*')" && \
dnf5 -y config-manager setopt "*rpmfusion*".priority=4 "*rpmfusion*".exclude="mesa-*" && \
dnf5 -y config-manager setopt "*fedora*".exclude="mesa-* kernel-core-* kernel-modules-* kernel-uki-virt-*" && \
/ctx/cleanup
2024-10-18 23:55:13 -07:00
# Install kernel
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
2024-10-18 23:55:13 -07:00
--mount=type=bind,from=kernel,src=/tmp/rpms,dst=/tmp/kernel-rpms \
--mount=type=bind,from=akmods,src=/rpms,dst=/tmp/akmods-rpms \
--mount=type=bind,from=akmods-extra,src=/rpms,dst=/tmp/akmods-extra-rpms \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
/ctx/install-kernel-akmods && \
dnf5 -y config-manager setopt "*rpmfusion*".enabled=0 && \
dnf5 -y install \
scx-scheds && \
for toswap in rpm-ostree bootc; do \
dnf5 -y swap --repo copr:copr.fedorainfracloud.org:kylegospo:bazzite $toswap $toswap; \
done && unset -v toswap && \
/ctx/cleanup
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
# Setup firmware
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
if [[ "${IMAGE_FLAVOR}" =~ "asus" ]]; then \
dnf5 -y copr enable lukenukem/asus-linux && \
dnf5 -y install \
asusctl \
asusctl-rog-gui && \
dnf5 copr disable -y lukenukem/asus-linux \
; elif [[ "${IMAGE_FLAVOR}" == "surface" ]]; then \
dnf5 -y config-manager addrepo --from-repofile=https://pkg.surfacelinux.com/fedora/linux-surface.repo && \
dnf5 -y swap \
--allowerasing \
libwacom-data libwacom-surface-data && \
dnf5 -y install \
iptsd \
libcamera \
libcamera-tools \
libcamera-gstreamer \
libcamera-ipa \
pipewire-plugin-libcamera && \
dnf5 -y config-manager setopt "linux-surface".enabled=0 \
; fi && \
/ctx/install-firmware && \
/ctx/cleanup
# Install patched fwupd
# Install Valve's patched Mesa, Pipewire, Bluez, and Xwayland
# Install patched switcheroo control with proper discrete GPU support
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
declare -A toswap=( \
["copr:copr.fedorainfracloud.org:kylegospo:bazzite-multilib"]="pipewire bluez xorg-x11-server-Xwayland" \
["terra-extras"]="switcheroo-control mesa-filesystem" \
["copr:copr.fedorainfracloud.org:ublue-os:staging"]="fwupd" \
) && \
for repo in "${!toswap[@]}"; do \
2025-01-30 19:46:43 +01:00
for package in ${toswap[$repo]}; do dnf5 -y swap --repo=$repo $package $package; done; \
done && unset -v toswap repo package && \
dnf5 -y install --enable-repo="*rpmfusion*" \
libaacs \
2024-05-23 23:08:07 -07:00
libbdplus \
2024-12-27 18:22:52 -08:00
libbluray \
libbluray-utils && \
/ctx/cleanup
# Remove unneeded packages
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
dnf5 -y remove \
ublue-os-update-services \
firefox \
firefox-langpacks \
2024-01-18 12:00:03 -08:00
htop && \
/ctx/cleanup
2023-02-09 11:08:39 -08:00
# Install new packages
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
dnf5 -y install \
discover-overlay \
2025-01-01 01:32:53 -08:00
sunshine \
python3-pip \
libadwaita \
duperemove \
cpulimit \
sqlite \
xwininfo \
xrandr \
compsize \
ryzenadj \
2024-07-01 23:28:42 -07:00
input-remapper \
tuned-profiles-cpu-partitioning \
2024-02-16 19:33:38 -08:00
i2c-tools \
udica \
ladspa-caps-plugins \
ladspa-noise-suppression-for-voice \
pipewire-module-filter-chain-sofa \
python3-icoextract \
tailscale \
2023-12-29 23:12:22 -08:00
webapp-manager \
btop \
duf \
fish \
2024-01-01 15:09:07 -08:00
lshw \
xdotool \
wmctrl \
libcec \
yad \
f3 \
2024-06-24 23:40:09 -07:00
pulseaudio-utils \
lzip \
2024-10-08 01:06:15 -07:00
rar \
libxcrypt-compat \
vulkan-tools \
glibc.i686 \
2023-11-08 00:58:55 -08:00
extest.i686 \
xwiimote-ng \
twitter-twemoji-fonts \
google-noto-sans-cjk-fonts \
lato-fonts \
fira-code-fonts \
nerd-fonts \
fastfetch \
glow \
gum \
vim \
cockpit-networkmanager \
cockpit-podman \
cockpit-selinux \
cockpit-system \
cockpit-navigator \
cockpit-storaged \
2024-07-27 22:40:28 -07:00
topgrade \
2024-06-23 08:16:06 +03:00
ydotool \
yafti \
2024-08-02 11:38:57 -07:00
stress-ng \
btrfs-assistant \
2025-01-08 09:33:34 -08:00
podman-compose \
2024-12-22 08:53:05 -08:00
edk2-ovmf \
qemu \
libvirt \
lsb_release \
ublue-update \
rocm-hip \
rocm-opencl \
rocm-clinfo \
waydroid \
cage \
wlr-randr && \
2024-08-07 10:02:32 -07:00
mkdir -p /etc/xdg/autostart && \
sed -i~ -E 's/=.\$\(command -v (nft|ip6?tables-legacy).*/=/g' /usr/lib/waydroid/data/scripts/waydroid-net.sh && \
sed -i '1s/^/[include]\npaths = ["\/etc\/ublue-os\/topgrade.toml"]\n\n/' /usr/share/ublue-update/topgrade-user.toml && \
2024-08-07 10:02:32 -07:00
sed -i 's/min_battery_percent.*/min_battery_percent = 20.0/' /etc/ublue-update/ublue-update.toml && \
sed -i 's/max_cpu_load_percent.*/max_cpu_load_percent = 100.0/' /etc/ublue-update/ublue-update.toml && \
sed -i 's/max_mem_percent.*/max_mem_percent = 90.0/' /etc/ublue-update/ublue-update.toml && \
sed -i 's/dbus_notify.*/dbus_notify = false/' /etc/ublue-update/ublue-update.toml && \
sed -i 's/ --xdg-runtime=\\"${XDG_RUNTIME_DIR}\\"//g' /usr/bin/btrfs-assistant-launcher && \
2024-04-15 17:20:25 -07:00
curl -Lo /usr/bin/installcab https://raw.githubusercontent.com/KyleGospo/steam-proton-mf-wmv/master/installcab.py && \
chmod +x /usr/bin/installcab && \
curl -Lo /usr/bin/install-mf-wmv https://github.com/KyleGospo/steam-proton-mf-wmv/blob/master/install-mf-wmv.sh && \
chmod +x /usr/bin/install-mf-wmv && \
curl -Lo /tmp/ls-iommu.tar.gz $(curl https://api.github.com/repos/HikariKnight/ls-iommu/releases/latest | jq -r '.assets[] | select(.name| test(".*x86_64.tar.gz$")).browser_download_url') && \
mkdir -p /tmp/ls-iommu && \
tar --no-same-owner --no-same-permissions --no-overwrite-dir -xvzf /tmp/ls-iommu.tar.gz -C /tmp/ls-iommu && \
rm -f /tmp/ls-iommu.tar.gz && \
cp -r /tmp/ls-iommu/ls-iommu /usr/bin/ && \
/ctx/cleanup
2023-12-05 22:59:31 -08:00
# Install Steam & Lutris, plus supporting packages
# Downgrade ibus to fix an issue with the Steam keyboard
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
dnf5 -y swap \
--repo copr:copr.fedorainfracloud.org:kylegospo:bazzite \
ibus ibus && \
dnf5 -y install \
gamescope.x86_64 \
2025-01-14 21:27:21 -08:00
gamescope-libs.x86_64 \
gamescope-libs.i686 \
gamescope-shaders \
jupiter-sd-mounting-btrfs \
steam \
lutris \
umu-launcher \
wine-core.x86_64 \
wine-core.i686 \
wine-pulseaudio.x86_64 \
wine-pulseaudio.i686 \
2024-09-08 00:14:00 -07:00
libFAudio.x86_64 \
libFAudio.i686 \
winetricks \
latencyflex-vulkan-layer \
vkBasalt.x86_64 \
vkBasalt.i686 \
mangohud.x86_64 \
mangohud.i686 \
libobs_vkcapture.x86_64 \
2024-10-08 10:39:17 -07:00
libobs_glcapture.x86_64 \
libobs_vkcapture.i686 \
libobs_glcapture.i686 && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/winetricks.desktop && \
2024-04-15 17:20:25 -07:00
curl -Lo /tmp/latencyflex.tar.xz $(curl https://api.github.com/repos/ishitatsuyuki/LatencyFleX/releases/latest | jq -r '.assets[] | select(.name| test(".*.tar.xz$")).browser_download_url') && \
mkdir -p /tmp/latencyflex && \
2024-04-17 19:27:03 -07:00
tar --no-same-owner --no-same-permissions --no-overwrite-dir --strip-components 1 -xvf /tmp/latencyflex.tar.xz -C /tmp/latencyflex && \
rm -f /tmp/latencyflex.tar.xz && \
2023-10-30 10:47:22 -07:00
cp -r /tmp/latencyflex/wine/usr/lib/wine/* /usr/lib64/wine/ && \
2024-04-15 17:20:25 -07:00
curl -Lo /usr/bin/latencyflex https://raw.githubusercontent.com/KyleGospo/LatencyFleX-Installer/main/install.sh && \
chmod +x /usr/bin/latencyflex && \
sed -i 's@/usr/lib/wine/@/usr/lib64/wine/@g' /usr/bin/latencyflex && \
sed -i 's@"dxvk.conf"@"/usr/share/latencyflex/dxvk.conf"@g' /usr/bin/latencyflex && \
chmod +x /usr/bin/latencyflex && \
/ctx/cleanup
# Configure KDE & GNOME
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
dnf5 -y install \
2024-06-22 12:40:49 -07:00
qt \
krdp \
2024-04-10 12:20:41 -07:00
steamdeck-kde-presets-desktop \
wallpaper-engine-kde-plugin \
2024-04-10 12:20:41 -07:00
kdeconnectd \
kdeplasma-addons \
rom-properties-kf6 \
2024-04-10 12:20:41 -07:00
joystickwake \
fcitx5-mozc \
fcitx5-chinese-addons \
fcitx5-hangul \
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
kcm-fcitx5 \
2024-04-10 12:20:41 -07:00
ptyxis && \
dnf5 -y remove \
plasma-welcome \
plasma-welcome-fedora && \
dnf5 -y swap \
--repo terra-extras \
kf6-kio-core kf6-kio-core && \
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --depth 1 --branch main /tmp/wallpaper-engine-kde-plugin && \
kpackagetool6 --type=Plasma/Wallpaper --global --install /tmp/wallpaper-engine-kde-plugin/plugin && \
2024-04-10 12:20:41 -07:00
sed -i '/<entry name="launchers" type="StringList">/,/<\/entry>/ s/<default>[^<]*<\/default>/<default>preferred:\/\/browser,applications:steam.desktop,applications:net.lutris.Lutris.desktop,applications:org.gnome.Ptyxis.desktop,applications:org.kde.discover.desktop,preferred:\/\/filemanager<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml && \
sed -i '/<entry name="favorites" type="StringList">/,/<\/entry>/ s/<default>[^<]*<\/default>/<default>preferred:\/\/browser,steam.desktop,net.lutris.Lutris.desktop,systemsettings.desktop,org.kde.dolphin.desktop,org.kde.kate.desktop,org.gnome.Ptyxis.desktop,org.kde.discover.desktop,system-update.desktop<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/config/main.xml && \
sed -i 's@\[Desktop Action new-window\]@\[Desktop Action new-window\]\nX-KDE-Shortcuts=Ctrl+Alt+T@g' /usr/share/applications/org.gnome.Ptyxis.desktop && \
sed -i '/^Comment/d' /usr/share/applications/org.gnome.Ptyxis.desktop && \
2024-04-10 12:20:41 -07:00
sed -i 's@Exec=ptyxis@Exec=kde-ptyxis@g' /usr/share/applications/org.gnome.Ptyxis.desktop && \
sed -i 's@Keywords=@Keywords=konsole;console;@g' /usr/share/applications/org.gnome.Ptyxis.desktop && \
cp /usr/share/applications/org.gnome.Ptyxis.desktop /usr/share/kglobalaccel/org.gnome.Ptyxis.desktop && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.kde.konsole.desktop && \
rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop && \
setcap 'cap_net_raw+ep' /usr/libexec/ksysguard/ksgrd_network_helper \
2024-04-10 12:20:41 -07:00
; else \
dnf5 -y swap \
--repo terra-extras \
gnome-shell gnome-shell && \
dnf5 -y install \
2024-04-10 12:20:41 -07:00
nautilus-gsconnect \
steamdeck-backgrounds \
gnome-randr-rust \
gnome-shell-extension-user-theme \
gnome-shell-extension-gsconnect \
gnome-shell-extension-compiz-windows-effect \
gnome-shell-extension-compiz-alike-magic-lamp-effect \
2024-04-10 12:20:41 -07:00
gnome-shell-extension-just-perfection \
gnome-shell-extension-blur-my-shell \
2024-04-10 12:20:41 -07:00
gnome-shell-extension-hanabi \
gnome-shell-extension-gamerzilla \
gnome-shell-extension-bazzite-menu \
gnome-shell-extension-hotedge \
gnome-shell-extension-caffeine \
rom-properties-gtk3 \
ibus-mozc \
openssh-askpass \
firewall-config && \
dnf5 -y remove \
2024-04-10 12:20:41 -07:00
gnome-classic-session \
gnome-tour \
gnome-extensions-app \
gnome-system-monitor \
gnome-initial-setup \
gnome-shell-extension-background-logo \
gnome-shell-extension-apps-menu && \
mkdir -p /tmp/tilingshell && \
curl -s https://api.github.com/repos/domferr/tilingshell/releases/latest | \
jq -r '.assets | sort_by(.created_at) | .[] | select (.name|test("^tilingshell@.*zip$")) | .browser_download_url' | \
wget -qi - -O /tmp/tilingshell/tilingshell@ferrarodomenico.com.zip && \
curl -Lo /usr/share/thumbnailers/exe-thumbnailer.thumbnailer https://raw.githubusercontent.com/jlu5/icoextract/master/exe-thumbnailer.thumbnailer && \
unzip /tmp/tilingshell/tilingshell@ferrarodomenico.com.zip -d /usr/share/gnome-shell/extensions/tilingshell@ferrarodomenico.com && \
2024-04-10 12:20:41 -07:00
systemctl enable dconf-update.service \
; fi && \
/ctx/cleanup
# Homebrew & Bash Prexec
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
touch /.dockerenv && \
2024-05-16 00:49:40 -04:00
mkdir -p /var/home && \
mkdir -p /var/roothome && \
curl -Lo /tmp/brew-install https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh && \
chmod +x /tmp/brew-install && \
/tmp/brew-install && \
2024-05-16 08:57:49 -04:00
tar --zstd -cvf /usr/share/homebrew.tar.zst /home/linuxbrew/.linuxbrew && \
curl -Lo /usr/share/bash-prexec https://raw.githubusercontent.com/ublue-os/bash-preexec/master/bash-preexec.sh &&\
/ctx/cleanup
# Cleanup & Finalize
2024-04-11 11:59:50 -07:00
COPY system_files/overrides /
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
rm -f /etc/profile.d/toolbox.sh && \
mkdir -p /var/tmp && chmod 1777 /var/tmp && \
cp --no-dereference --preserve=links /usr/lib/libdrm.so.2 /usr/lib/libdrm.so && \
cp --no-dereference --preserve=links /usr/lib64/libdrm.so.2 /usr/lib64/libdrm.so && \
sed -i 's@/usr/bin/steam@/usr/bin/bazzite-steam@g' /usr/share/applications/steam.desktop && \
sed -i 's@Exec=steam steam://open/bigpicture@Exec=/usr/bin/bazzite-steam-bpm@g' /usr/share/applications/steam.desktop && \
2024-08-07 10:02:32 -07:00
mkdir -p /etc/skel/.config/autostart/ && \
cp "/usr/share/applications/steam.desktop" "/etc/skel/.config/autostart/steam.desktop" && \
sed -i 's@/usr/bin/bazzite-steam %U@/usr/bin/bazzite-steam -silent %U@g' /etc/skel/.config/autostart/steam.desktop && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/fish.desktop && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/nvtop.desktop && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/btop.desktop && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/yad-icon-browser.desktop && \
2024-06-24 14:20:20 -07:00
sed -i 's/#UserspaceHID.*/UserspaceHID=true/' /etc/bluetooth/input.conf && \
sed -i "s/^SCX_SCHEDULER=.*/SCX_SCHEDULER=scx_lavd/" /etc/default/scx && \
rm -f /usr/share/vulkan/icd.d/lvp_icd.*.json && \
2024-08-07 10:02:32 -07:00
mkdir -p "/etc/profile.d/" && \
ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \
2024-08-07 10:02:32 -07:00
"/etc/profile.d/ublue-firstboot.sh" && \
mkdir -p "/etc/xdg/autostart" && \
cp "/usr/share/applications/discover_overlay.desktop" "/etc/xdg/autostart/discover_overlay.desktop" && \
sed -i 's@Exec=discover-overlay@Exec=/usr/bin/bazzite-discover-overlay@g' /etc/xdg/autostart/discover_overlay.desktop && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/discover_overlay.desktop && \
cp "/usr/share/ublue-os/firstboot/yafti.yml" "/etc/yafti.yml" && \
2024-01-14 14:43:57 -08:00
echo "import \"/usr/share/ublue-os/just/80-bazzite.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/81-bazzite-fixes.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/82-bazzite-apps.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/82-bazzite-cdemu.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/82-bazzite-sunshine.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/82-bazzite-rmlint.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/82-bazzite-waydroid.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/83-bazzite-audio.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/84-bazzite-virt.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/85-bazzite-image.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/86-bazzite-windows.just\"" >> /usr/share/ublue-os/justfile && \
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
echo "import \"/usr/share/ublue-os/just/87-bazzite-framegen.just\"" >> /usr/share/ublue-os/justfile && \
echo "import \"/usr/share/ublue-os/just/90-bazzite-de.just\"" >> /usr/share/ublue-os/justfile && \
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
systemctl enable usr-share-sddm-themes.mount && \
mkdir -p "/usr/share/ublue-os/dconfs/desktop-kinoite/" && \
cp "/usr/share/glib-2.0/schemas/zz0-"*"-bazzite-desktop-kinoite-"*".gschema.override" "/usr/share/ublue-os/dconfs/desktop-kinoite/" && \
find "/etc/dconf/db/distro.d/" -maxdepth 1 -type f -exec cp {} "/usr/share/ublue-os/dconfs/desktop-kinoite/" \; && \
dconf-override-converter to-dconf "/usr/share/ublue-os/dconfs/desktop-kinoite/zz0-"*"-bazzite-desktop-kinoite-"*".gschema.override" && \
2024-10-08 14:50:18 -07:00
rm "/usr/share/ublue-os/dconfs/desktop-kinoite/zz0-"*"-bazzite-desktop-kinoite-"*".gschema.override" \
; else \
mkdir -p "/usr/share/ublue-os/dconfs/desktop-silverblue/" && \
cp "/usr/share/glib-2.0/schemas/zz0-"*"-bazzite-desktop-silverblue-"*".gschema.override" "/usr/share/ublue-os/dconfs/desktop-silverblue/" && \
find "/etc/dconf/db/distro.d/" -maxdepth 1 -type f -exec cp {} "/usr/share/ublue-os/dconfs/desktop-silverblue/" \; && \
dconf-override-converter to-dconf "/usr/share/ublue-os/dconfs/desktop-silverblue/zz0-"*"-bazzite-desktop-silverblue-"*".gschema.override" && \
sed -i 's/\[org.gtk.Settings.FileChooser\]/\[org\/gtk\/settings\/file-chooser\]/g; s/\[org.gtk.gtk4.Settings.FileChooser\]/\[org\/gtk\/gtk4\/settings\/file-chooser\]/g' "/usr/share/ublue-os/dconfs/desktop-silverblue/zz0-00-bazzite-desktop-silverblue-global" && \
2024-10-08 14:50:18 -07:00
rm "/usr/share/ublue-os/dconfs/desktop-silverblue/zz0-"*"-bazzite-desktop-silverblue-"*".gschema.override" \
; fi && \
mkdir -p /tmp/bazzite-schema-test && \
find "/usr/share/glib-2.0/schemas/" -type f ! -name "*.gschema.override" -exec cp {} "/tmp/bazzite-schema-test/" \; && \
cp "/usr/share/glib-2.0/schemas/zz0-"*".gschema.override" "/tmp/bazzite-schema-test/" && \
glib-compile-schemas --strict /tmp/bazzite-schema-test && \
glib-compile-schemas /usr/share/glib-2.0/schemas &>/dev/null && \
rm -r /tmp/bazzite-schema-test && \
sed -i 's/stage/none/g' /etc/rpm-ostreed.conf && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
for copr in \
kylegospo/bazzite \
kylegospo/bazzite-multilib \
ublue-os/staging \
kylegospo/LatencyFleX \
kylegospo/obs-vkcapture \
kylegospo/wallpaper-engine-kde-plugin \
ycollet/audinux \
kylegospo/rom-properties \
kylegospo/webapp-manager \
hhd-dev/hhd \
che/nerd-fonts \
mavit/discover-overlay \
lizardbyte/beta \
hikariknight/looking-glass-kvmfr; \
do \
dnf5 -y copr disable $copr; \
done && unset -v copr && \
dnf5 config-manager setopt "*tailscale*".enabled=0 && \
dnf5 config-manager setopt "*charm*".enabled=0 && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo && \
eval "$(/ctx/dnf5-setopt setopt '*negativo17*' enabled=0)" && \
sed -i 's#/var/lib/selinux#/etc/selinux#g' /usr/lib/python3.*/site-packages/setroubleshoot/util.py && \
2024-08-07 10:02:32 -07:00
mkdir -p /etc/flatpak/remotes.d && \
curl -Lo /etc/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo && \
systemctl enable brew-dir-fix.service && \
2024-05-15 20:47:05 -04:00
systemctl enable brew-setup.service && \
systemctl disable brew-upgrade.timer && \
systemctl disable brew-update.timer && \
systemctl disable displaylink.service && \
systemctl enable input-remapper.service && \
systemctl enable bazzite-flatpak-manager.service && \
systemctl disable rpm-ostreed-automatic.timer && \
systemctl enable ublue-update.timer && \
2024-01-22 19:01:16 -08:00
systemctl enable incus-workaround.service && \
systemctl enable bazzite-hardware-setup.service && \
systemctl disable tailscaled.service && \
systemctl enable dev-hugepages1G.mount && \
systemctl --global enable bazzite-user-setup.service && \
systemctl --global enable podman.socket && \
systemctl --global enable systemd-tmpfiles-setup.service && \
systemctl --global disable sunshine.service && \
systemctl disable waydroid-container.service && \
2024-08-07 10:02:32 -07:00
curl -Lo /etc/dxvk-example.conf https://raw.githubusercontent.com/doitsujin/dxvk/master/dxvk.conf && \
2024-04-15 17:20:25 -07:00
curl -Lo /usr/bin/waydroid-choose-gpu https://raw.githubusercontent.com/KyleGospo/waydroid-scripts/main/waydroid-choose-gpu.sh && \
chmod +x /usr/bin/waydroid-choose-gpu && \
2024-06-22 14:15:08 -07:00
curl -Lo /usr/lib/sysctl.d/99-bore-scheduler.conf https://github.com/CachyOS/CachyOS-Settings/raw/master/usr/lib/sysctl.d/99-bore-scheduler.conf && \
curl -Lo /etc/distrobox/docker.ini https://github.com/ublue-os/toolboxes/raw/refs/heads/main/apps/docker/distrobox.ini && \
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
curl -Lo /etc/distrobox/incus.ini https://github.com/ublue-os/toolboxes/raw/refs/heads/main/apps/incus/distrobox.ini && \
/ctx/image-info && \
/ctx/build-initramfs && \
/ctx/finalize
################
# DECK BUILDS
################
FROM bazzite AS bazzite-deck
ARG IMAGE_NAME="${IMAGE_NAME:-bazzite-deck}"
ARG IMAGE_VENDOR="${IMAGE_VENDOR:-ublue-os}"
ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-main}"
2024-10-08 14:50:18 -07:00
ARG NVIDIA_FLAVOR="${NVIDIA_FLAVOR:-nvidia}"
ARG NVIDIA_BASE="${NVIDIA_BASE:-bazzite}"
2024-10-18 23:55:13 -07:00
ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-bazzite}"
ARG KERNEL_VERSION="${KERNEL_VERSION:-6.12.5-204.bazzite.fc41.x86_64}"
2024-01-06 19:50:50 -08:00
ARG IMAGE_BRANCH="${IMAGE_BRANCH:-main}"
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-41}"
ARG VERSION_TAG="${VERSION_TAG}"
ARG VERSION_PRETTY="${VERSION_PRETTY}"
COPY system_files/deck/shared system_files/deck/${BASE_IMAGE_NAME} /
# Setup Copr repos
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
dnf5 -y copr enable kylegospo/bazzite && \
dnf5 -y copr enable kylegospo/bazzite-multilib && \
dnf5 -y copr enable kylegospo/LatencyFleX && \
dnf5 -y copr enable kylegospo/obs-vkcapture && \
dnf5 -y copr enable kylegospo/wallpaper-engine-kde-plugin && \
dnf5 -y copr enable hhd-dev/hhd && \
dnf5 -y copr enable ycollet/audinux && \
/ctx/cleanup
# Configure KDE & GNOME
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
dnf5 -y remove \
jupiter-sd-mounting-btrfs && \
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
dnf5 -y remove \
steamdeck-kde-presets-desktop && \
dnf5 -y install \
2024-04-10 12:20:41 -07:00
steamdeck-kde-presets \
; else \
dnf5 -y install \
2024-04-10 12:20:41 -07:00
steamdeck-gnome-presets \
gnome-shell-extension-caribou-blocker \
sddm \
2024-04-10 12:20:41 -07:00
; fi && \
/ctx/cleanup
# Install new packages
# Dock updater - done manually due to proprietary parts preventing it from being on Copr
# Neptune firmware - done manually due to "TBD" license on needed audio firmware
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
dnf5 -y install \
jupiter-fan-control \
jupiter-hw-support-btrfs \
2025-01-14 20:36:30 -08:00
galileo-mura \
steamdeck-dsp \
powerbuttond \
hhd \
hhd-ui \
adjustor \
acpica-tools \
vpower \
ds-inhibit \
steam_notif_daemon \
sdgyrodsu \
ibus-pinyin \
ibus-table-chinese-cangjie \
ibus-table-chinese-quick \
socat \
zstd \
zenity \
newt \
qt6-qtvirtualkeyboard \
xorg-x11-server-Xvfb \
python-vdf \
python-crcmod && \
git clone https://gitlab.com/evlaV/jupiter-dock-updater-bin.git \
--depth 1 \
/tmp/jupiter-dock-updater-bin && \
mv -v /tmp/jupiter-dock-updater-bin/packaged/usr/lib/jupiter-dock-updater /usr/libexec/jupiter-dock-updater && \
2024-06-24 23:45:37 -07:00
ln -s /usr/bin/steamos-logger /usr/bin/steamos-info && \
ln -s /usr/bin/steamos-logger /usr/bin/steamos-notice && \
ln -s /usr/bin/steamos-logger /usr/bin/steamos-warning && \
/ctx/cleanup
2023-02-09 11:08:39 -08:00
# Install Steam Deck patched UPower, remove Tuned GUI
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
dnf5 -y swap \
--repo copr:copr.fedorainfracloud.org:kylegospo:bazzite \
upower upower && \
/ctx/cleanup
# Install Gamescope Session & Supporting changes
# Add bootstrap_steam.tar.gz used by gamescope-session (Thanks GE & Nobara Project!)
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
mkdir -p /usr/share/gamescope-session-plus/ && \
curl -Lo /usr/share/gamescope-session-plus/bootstrap_steam.tar.gz https://large-package-sources.nobaraproject.org/bootstrap_steam.tar.gz && \
dnf5 -y install \
--repo copr:copr.fedorainfracloud.org:kylegospo:bazzite \
gamescope-session-plus \
2024-04-10 12:20:41 -07:00
gamescope-session-steam && \
/ctx/cleanup
2023-02-09 11:08:39 -08:00
# Cleanup & Finalize
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
/ctx/image-info && \
2024-08-07 10:02:32 -07:00
mkdir -p "/etc/xdg/autostart" && \
mv "/etc/skel/.config/autostart/steam.desktop" "/etc/xdg/autostart/steam.desktop" && \
sed -i 's@Exec=waydroid first-launch@Exec=/usr/bin/waydroid-launcher first-launch\nX-Steam-Library-Capsule=/usr/share/applications/Waydroid/capsule.png\nX-Steam-Library-Hero=/usr/share/applications/Waydroid/hero.png\nX-Steam-Library-Logo=/usr/share/applications/Waydroid/logo.png\nX-Steam-Library-StoreCapsule=/usr/share/applications/Waydroid/store-logo.png\nX-Steam-Controller-Template=Desktop@g' /usr/share/applications/Waydroid.desktop && \
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
sed -i 's/Exec=.*/Exec=systemctl start return-to-gamemode.service/' /etc/skel/Desktop/Return.desktop && \
mkdir -p /usr/share/ublue-os/backup && \
mv /usr/share/applications/com.github.maliit.keyboard.desktop /usr/share/ublue-os/backup/com.github.maliit.keyboard.desktop \
; fi && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/input-remapper-gtk.desktop && \
2024-08-07 10:02:32 -07:00
cp "/usr/share/ublue-os/firstboot/yafti.yml" "/etc/yafti.yml" && \
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
for copr in \
kylegospo/bazzite \
kylegospo/bazzite-multilib \
kylegospo/LatencyFleX \
kylegospo/obs-vkcapture \
kylegospo/wallpaper-engine-kde-plugin \
hhd-dev/hhd \
ycollet/audinux; \
do \
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
dnf5 -y copr disable -y $copr; \
done && unset -v copr && \
if grep -q "silverblue" <<< "${BASE_IMAGE_NAME}"; then \
systemctl disable gdm.service && \
systemctl enable sddm.service \
2023-08-01 23:05:06 -07:00
; fi && \
if grep -q "silverblue" <<< "${BASE_IMAGE_NAME}"; then \
mkdir -p "/usr/share/ublue-os/dconfs/deck-silverblue/" && \
cp "/usr/share/glib-2.0/schemas/zz0-"*"-bazzite-deck-silverblue-"*".gschema.override" "/usr/share/ublue-os/dconfs/deck-silverblue/" && \
find "/etc/dconf/db/distro.d/" -maxdepth 1 -type f -exec cp {} "/usr/share/ublue-os/dconfs/deck-silverblue/" \; && \
dconf-override-converter to-dconf "/usr/share/ublue-os/dconfs/deck-silverblue/zz0-"*"-bazzite-deck-silverblue-"*".gschema.override" && \
2024-10-08 14:50:18 -07:00
rm "/usr/share/ublue-os/dconfs/deck-silverblue/zz0-"*"-bazzite-deck-silverblue-"*".gschema.override" \
; else \
systemctl disable usr-share-sddm-themes.mount \
; fi && \
mkdir -p /tmp/bazzite-schema-test && \
find "/usr/share/glib-2.0/schemas/" -type f ! -name "*.gschema.override" -exec cp {} "/tmp/bazzite-schema-test/" \; && \
cp "/usr/share/glib-2.0/schemas/zz0-"*".gschema.override" "/tmp/bazzite-schema-test/" && \
glib-compile-schemas --strict /tmp/bazzite-schema-test && \
glib-compile-schemas /usr/share/glib-2.0/schemas &>/dev/null && \
rm -r /tmp/bazzite-schema-test && \
{ rm -v /usr/share/applications/bazzite-steam-bpm.desktop || true; } && \
systemctl enable bazzite-autologin.service && \
2024-04-18 23:36:15 -07:00
systemctl enable wireplumber-workaround.service && \
systemctl enable wireplumber-sysconf.service && \
2024-04-23 16:35:31 -07:00
systemctl enable pipewire-workaround.service && \
systemctl enable pipewire-sysconf.service && \
systemctl enable ds-inhibit.service && \
systemctl enable cec-onboot.service && \
systemctl enable cec-onpoweroff.service && \
systemctl enable cec-onsleep.service && \
systemctl enable bazzite-tdpfix.service && \
systemctl enable bazzite-grub-boot-success.timer && \
systemctl enable bazzite-grub-boot-success.service && \
systemctl --global disable sdgyrodsu.service && \
systemctl --global disable grub-boot-success.timer && \
systemctl disable grub-boot-indeterminate.service && \
systemctl disable input-remapper.service && \
systemctl disable ublue-update.timer && \
systemctl disable jupiter-fan-control.service && \
systemctl disable vpower.service && \
systemctl disable jupiter-biosupdate.service && \
systemctl disable jupiter-controller-update.service && \
systemctl disable batterylimit.service && \
/ctx/finalize
FROM ghcr.io/ublue-os/akmods-${NVIDIA_FLAVOR}:${KERNEL_FLAVOR}-${FEDORA_MAJOR_VERSION}-${KERNEL_VERSION} AS nvidia-akmods
################
# NVIDIA BUILDS
################
FROM ${NVIDIA_BASE} AS bazzite-nvidia
ARG IMAGE_NAME="${IMAGE_NAME:-bazzite-nvidia}"
ARG IMAGE_VENDOR="${IMAGE_VENDOR:-ublue-os}"
ARG IMAGE_FLAVOR="${IMAGE_FLAVOR:-nvidia}"
2024-10-08 14:50:18 -07:00
ARG NVIDIA_FLAVOR="${NVIDIA_FLAVOR:-nvidia}"
ARG NVIDIA_BASE="${NVIDIA_BASE:-bazzite}"
2024-10-18 23:55:13 -07:00
ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-bazzite}"
ARG KERNEL_VERSION="${KERNEL_VERSION:-6.12.5-204.bazzite.fc41.x86_64}"
ARG IMAGE_BRANCH="${IMAGE_BRANCH:-main}"
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-41}"
ARG VERSION_TAG="${VERSION_TAG}"
ARG VERSION_PRETTY="${VERSION_PRETTY}"
# Fetch NVIDIA driver
COPY system_files/nvidia/shared system_files/nvidia/${BASE_IMAGE_NAME} /
# Remove everything that doesn't work well with NVIDIA
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
dnf5 -y remove \
rocm-hip \
rocm-opencl \
rocm-clinfo && \
/ctx/cleanup
# Install NVIDIA driver
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=bind,from=nvidia-akmods,src=/rpms,dst=/tmp/akmods-rpms \
--mount=type=tmpfs,dst=/tmp \
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
dnf5 -y copr enable ublue-os/staging && \
dnf5 -y install \
mesa-vdpau-drivers.x86_64 \
mesa-vdpau-drivers.i686 && \
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
curl -Lo /tmp/nvidia-install.sh https://raw.githubusercontent.com/ublue-os/hwe/b3a3dbddf4af81cfbfa7526c1918c9b9f014f86b/nvidia-install.sh && \
chmod +x /tmp/nvidia-install.sh && \
IMAGE_NAME="${BASE_IMAGE_NAME}" /tmp/nvidia-install.sh && \
2024-06-25 12:46:36 -07:00
rm -f /usr/share/vulkan/icd.d/nouveau_icd.*.json && \
ln -s libnvidia-ml.so.1 /usr/lib64/libnvidia-ml.so && \
chore: Bring latest changes to unstable with dnf5 (#2222) * chore(deps): update dataaxiom/ghcr-cleanup-action action to v1.0.16 * chore(yafti): Remove scrcpy from the Bazzite Portal (#2139) * Remove scrcpy from Bazzite Portal (desktop) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * Remove scrcpy from Bazzite Portal (deck) Too large of a download to setup a container for a first-time setup utility which confuses new users when the device goes to sleep and it breaks among other issues. * fix(docs): Replace offline docs build action (attempt 3) (#2112) * fix(deck): Add new override videos to the just (#2100) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add new override videos --------- Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(docs): Replace offline docs build action (attempt 3) This centralizes the logic to build the docs in a single repo (https://github.com/KyleGospo/docs.bazzite.gg) and fixes offline docs not building --------- Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation (#2153) * Revert "chore: Remove stb from fallbacks" This reverts commit 0f6d85ef1037945c3fea3a139e06f4e8fc1d39f5. * Revert "fix(gamescope): add more fallbacks, remove force fallback, use latest again (#2062)" This reverts commit 06bec935d796435bb9b777f2c5bff5d0a5d85458. * Revert "chore: Update gamescope commit" This reverts commit 1fece8b72edcc283a6a6f1e07ff147945583dad8. * feat(gamescope): add legion, cherry hotkey patch, fix externals on Intel rotation * feat(hhd): add new legion dmi (#2154) * chore(docs): download github-pages artifacts instead of building them (#2149) Way simpler than relying in the docs build action across repos * feat: more readable ujust changelogs (#2137) * feat: more readable ujust changelogs * fix: simplified just recipe * feat(waydroid): add force waydroid restart shortcut (#2131) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues #2073) (#2145) * feat(fixes): add toggle-i915-sleep-fix script for power-saving issues (#2073) * chore: syntax cleanup * chore: forgot a commented out line * feat: add missing kargs for higher power saving * rm DS_store * feat: change openrazer just recipe (#2136) * feat: change openrazer just recipe and use polychromatic and razer genie from flathub * fix: small things on openrabtledriver recipe * fix(virt): Enhance service setup and restrict root execution for virtualization script (#2116) * fix(service): enhance bazzite-libvirtd-setup.service to restore SELinux context * fix(virt): ensure user doesnt run setup-virtualization as root * fix(virt): create /var/log/libvirt * feat: update kvmfr selinux type enforcement rules & give qemu/libvirt access to read ISO files from users home directory when enabling virtualization (#2111) * feat: update selinux type enforcement for kvmfr existing setups not affected, if they complain about it appearing in the logs, all they have to do is just re-run the ujust for kvmfr * fix: let qemu/libvirt access ISO files from users home directory when enabling virtualization * feat: added ujust get-decky-bazzite-buddy to view changelogs in game mode (#2108) * chore(repo): Update opengraph images * Revert "feat: Update to kernel 6.12.8-207" This reverts commit b645716f84e71cb2cbd4725a1d333657fb99b6ba. * chore(deps): update wandalen/wretry.action action to v3.8.0 (#2095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update bazzite-steam (#2099) * feat: ujust install-bazzite-buddy to view changelogs in game mode * fix: moved install-bazzite-buddy to deck specific just file * fix: rename get-decky-bazzite-buddy, move to 80-bazzite.just * remove script from 85-bazzite-image * chore(deps): bump dataaxiom/ghcr-cleanup-action from 1.0.15 to 1.0.16 (#2124) Bumps [dataaxiom/ghcr-cleanup-action](https://github.com/dataaxiom/ghcr-cleanup-action) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/dataaxiom/ghcr-cleanup-action/releases) - [Commits](https://github.com/dataaxiom/ghcr-cleanup-action/compare/v1.0.15...v1.0.16) --- updated-dependencies: - dependency-name: dataaxiom/ghcr-cleanup-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump hhd-dev/rechunk from 1.1.1 to 1.1.2 (#2123) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v1.1.1...v1.1.2) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): Complete rechunker update * feat: change opentabletdriver installation to flathub version (#2128) * Revert "Merge branch 'ublue-os:main' into changelog-decky" This reverts commit b3f692a64236166d8d9d38dab853081e2fd9376a, reversing changes made to 315f8132600398131acd4553322fdb2a85bd031f. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> * fix typo (#2157) * fix(deck): Work around Steam marking some non-deck devices as pre-release hardware * chore: Fix patch name * chore: Use valve script in hwsupport * fix: Add hhd.steamos to polkit * chore: pkexec when selecting branch * chore: Update default wallpaper for lockscreen * chore: Use specific version * fix: Drop asus-firmware since it's been killed upstream * chore(ci): Always update openldap * chore(deps): update hhd-dev/rechunk action to v1.1.2 (#2117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(ci): Update rechunk to 1.1.2 * feat: add rocm-smi to non-nvidia images (#2165) * fix(deck): don't force scaling each time desktop loads (#2166) It is now set once and not touched unless `~/.config/bazzite/fixups/scaling_fixup` is removed. * fix: Don't allow tuned to enforce an audio timeout * add more legion go s variants and dedup (#2175) * feat: Update to kernel 6.12.10-202 * chore: Update mesa to 24.3.4 * chore: Update valve patch for Mesa * chore: Downgrade mesa to 24.3.3 * fix: Drop nct6687 due to crashes on some hardware * feat: Update kernel to 6.12.11-202 * fix: Whole github 404 page was fetched into `/etc/distrobox/incus`.ini (#2189) Because filename changes from origin * feat: easier troubleshooting with 'ujust get-logs', depreciate gamescope-logs (#2118) * resolve conflicts * chore: fix merge issues * fix: add source to get-logs * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro (#2186) * Adding X1 Pro to the OneXPlayer block in the Kernel Arguments section to fix panel rotation. * fix(X1 Pro): fix screen rotation on OneXPlayer X1Pro * fix (justfile): Add '--reinstall' flag (#2171) This ensure us that we replace preinstalled fedora flatpaks instead of suffering collision. Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * fix (docs): Missing GH_TOKEN for pulling offline docs (#2168) github-cli requires be given a token in order work inside github actions Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> * feat: add wake on lan toggle ujust per (#1708) (#2151) * feat: add wake on lan toggle ujust per (#1708) * chore: fix just syntax post conflict merge * feat: add systemd service for persistant WOL * fix: adjusted service option description * fix: revert option name change, parens breaks stuff * Update 81-bazzite-fixes.just Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> --------- Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> * feat: 'ujust ssh-toggle' to enable persistent SSH and display Hostname and IP (#2129) * add toggle-ssh script w ugum picker * feat: add color, improve readability * chore: fix just syntax * chore: remove dupe color declarations * chore: fix bold syntax * chore: refine syntax * Revert "Merge branch 'ublue-os:main' into ssh-toggle" This reverts commit c75d214c2a92d6801f76edc6d4e85e4dc52259cd, reversing changes made to 5c7265c37e8a6f4c2b9a22e2a00b96eed52b9e18. * Add ametrine art (#2198) * chore(ci): delete .github/dependabot.yml (#2197) renovate is doing this for us, removing this to avoid duplicate PRs. * feat: add ujust get-framegen (#2208) * feat: add get-framegen ujust groundwork * add new ujust script file to containerfile * feat: add ugum styling, install, uninstall, exit options * add decky plugin opt * chore: re-arranged options * add status checks, ugum styling colors * chore: lint just syntax * chore: styling and readability * chore: more minor spacing fixes * fix: restore arguments, add to yafti for baz portal integration * chore: spacing * chore: rm linebreaks for linter * fix: Correct path of Tuned profiles * feat: add `kcm-fcitx5` for better integration with KDE (#2205) * fix(ujust): fix suspend video override ujust (#2211) Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> * feat: Update to kernel 6.12.11-203 * feat: Update Kernel to 6.12.11-205 * Update 80-bazzite.just (#2216) * Plugin check again (#2215) * fix: restore-gnome-de-settings - indent syntax, handle empty dirs, add error checks (#2217) * fix: indent syntax, handle empty dirs, add error checks * fix: rm set -e to fail gracefully * chore(repo): Move ISSUE_TEMPLATE back * fix: rm sudo -A causing plugin install to root (#2220) * fix(Containerfile): restore stranded setup firmware step * chore: Remove now redundant asus firmware git pull * fix(Containerfile): Add missing escaping char * fix(install-kernel-akmods): Use dnf5 to remove kernel * chore(build-initramfs): Use dnf5 to query qualified kernel * fix (install-kernel-akmods): Exclude kernel-devel and kernel-core when installing kmods * Update install-kernel-akmods * fix (install-kernel-akmods): remove redundant package exclusion * Update install-kernel-akmods * fix: remove versionlock for kernel-headers * fix: use patched nvidia-install.sh * fix: Nvidia repos * fix: spelling --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch> Co-authored-by: Pat Connors <121328689+nicknamenamenick@users.noreply.github.com> Co-authored-by: Sean <SuperRiderTH@users.noreply.github.com> Co-authored-by: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Co-authored-by: JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> Co-authored-by: Aarron Lee <lee.aarron.c@gmail.com> Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com> Co-authored-by: dreamyuki <49896401+dreamyukii@users.noreply.github.com> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Girón <contacto@duhowpi.net> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: COxDE <63153334+coxde@users.noreply.github.com> Co-authored-by: pk-kampanart <43566401+pk-kampanart@users.noreply.github.com> Co-authored-by: Jay <42806800+jRob2k@users.noreply.github.com> Co-authored-by: Valerie <155010216+valerie-tar-gz@users.noreply.github.com> Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
2025-02-03 06:57:34 +01:00
dnf5 -y copr disable ublue-os/staging && \
/ctx/cleanup
# Cleanup & Finalize
RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
echo "import \"/usr/share/ublue-os/just/95-bazzite-nvidia.just\"" >> /usr/share/ublue-os/justfile && \
if grep -q "silverblue" <<< "${BASE_IMAGE_NAME}"; then \
mkdir -p "/usr/share/ublue-os/dconfs/nvidia-silverblue/" && \
cp "/usr/share/glib-2.0/schemas/zz0-"*"-bazzite-nvidia-silverblue-"*".gschema.override" "/usr/share/ublue-os/dconfs/nvidia-silverblue/" && \
dconf-override-converter to-dconf "/usr/share/ublue-os/dconfs/nvidia-silverblue/zz0-"*"-bazzite-nvidia-silverblue-"*".gschema.override" && \
2024-10-08 14:50:18 -07:00
rm "/usr/share/ublue-os/dconfs/nvidia-silverblue/zz0-"*"-bazzite-nvidia-silverblue-"*".gschema.override" \
; fi && \
mkdir -p /tmp/bazzite-schema-test && \
find "/usr/share/glib-2.0/schemas/" -type f ! -name "*.gschema.override" -exec cp {} "/tmp/bazzite-schema-test/" \; && \
cp "/usr/share/glib-2.0/schemas/zz0-"*".gschema.override" "/tmp/bazzite-schema-test/" && \
glib-compile-schemas --strict /tmp/bazzite-schema-test && \
glib-compile-schemas /usr/share/glib-2.0/schemas &>/dev/null && \
rm -r /tmp/bazzite-schema-test && \
/ctx/image-info && \
/ctx/build-initramfs && \
/ctx/finalize