mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-27 21:35:24 +00:00
commit
f35f960ad2
@ -9,8 +9,12 @@ FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS bazzite
|
||||
ARG IMAGE_NAME="${IMAGE_NAME}"
|
||||
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
|
||||
|
||||
COPY etc /etc
|
||||
COPY usr /usr
|
||||
COPY system_files/desktop/etc /etc
|
||||
COPY system_files/desktop/usr /usr
|
||||
|
||||
# Add ublue-update
|
||||
COPY --from=ghcr.io/gerblesh/ublue-update:latest /rpms/ublue-update.noarch.rpm /tmp/rpms/
|
||||
RUN rpm-ostree install /tmp/rpms/ublue-update.noarch.rpm
|
||||
|
||||
# Add Copr repos
|
||||
RUN wget https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/repo/fedora-$(rpm -E %fedora)/kylegospo-bazzite-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
||||
@ -19,6 +23,8 @@ RUN wget https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/repo/fedora-$
|
||||
|
||||
# Install new packages
|
||||
RUN rpm-ostree install \
|
||||
python3-pip \
|
||||
libadwaita \
|
||||
distrobox \
|
||||
steamdeck-kde-themes \
|
||||
sddm-sugar-steamOS \
|
||||
@ -29,22 +35,31 @@ RUN rpm-ostree install \
|
||||
system76-scheduler \
|
||||
hl2linux-selinux \
|
||||
btop \
|
||||
fish
|
||||
fish \
|
||||
python3-pip
|
||||
|
||||
# Remove unneeded packages
|
||||
RUN rpm-ostree override remove \
|
||||
firefox \
|
||||
firefox-langpacks \
|
||||
plasma-welcome \
|
||||
toolbox
|
||||
|
||||
# Run firstboot script per-profile
|
||||
RUN mkdir -p "/usr/etc/profile.d/"
|
||||
RUN ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \
|
||||
"/usr/etc/profile.d/ublue-firstboot.sh"
|
||||
|
||||
# Cleanup & Finalize
|
||||
RUN sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
||||
RUN pip install --prefix=/usr yafti && \
|
||||
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
||||
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-system76-scheduler.repo && \
|
||||
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
|
||||
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/user.conf && \
|
||||
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/system.conf && \
|
||||
sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf && \
|
||||
systemctl enable rpm-ostreed-automatic.timer && \
|
||||
systemctl disable rpm-ostreed-automatic.timer && \
|
||||
systemctl disable flatpak-system-update.timer && \
|
||||
systemctl --global enable ublue-update.timer && \
|
||||
systemctl enable input-remapper.service && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
@ -59,30 +74,32 @@ FROM bazzite as bazzite-deck
|
||||
ARG IMAGE_NAME="${IMAGE_NAME}"
|
||||
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION}"
|
||||
|
||||
# Add LatencyFlex Copr
|
||||
# Add LatencyFleX Copr
|
||||
RUN wget https://copr.fedorainfracloud.org/coprs/kylegospo/LatencyFleX/repo/fedora-$(rpm -E %fedora)/kylegospo-LatencyFleX-fedora-$(rpm -E %fedora).repo -O \
|
||||
/etc/yum.repos.d/_copr_kylegospo-latencyflex.repo
|
||||
|
||||
# Re-enable Copr
|
||||
# Re-enable Copr repos
|
||||
RUN sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
|
||||
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo
|
||||
|
||||
# Remove system76-scheduler
|
||||
RUN rpm-ostree override remove system76-scheduler
|
||||
RUN rm -f /usr/bin/system76-scheduler-dbus-proxy.sh
|
||||
RUN rm -f /etc/systemd/user/com.system76.Scheduler.dbusproxy.service
|
||||
RUN rm -f /usr/bin/system76-scheduler-dbus-proxy
|
||||
|
||||
# Remove steamdeck-kde-themes
|
||||
RUN rpm-ostree override remove steamdeck-kde-themes
|
||||
|
||||
# Remove mesa-va-drivers-freeworld
|
||||
RUN rpm-ostree override remove mesa-va-drivers-freeworld
|
||||
|
||||
COPY deck/etc /etc
|
||||
COPY deck/usr /usr
|
||||
COPY system_files/deck/etc /etc
|
||||
COPY system_files/deck/usr /usr
|
||||
RUN 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
|
||||
|
||||
# Install mesa-va-drivers shim (Needed due to dependency issues in Steam package)
|
||||
RUN rpm-ostree install \
|
||||
mesa-va-drivers
|
||||
|
||||
# Install new packages
|
||||
RUN rpm-ostree install \
|
||||
steam \
|
||||
@ -96,11 +113,12 @@ RUN rpm-ostree install \
|
||||
latencyflex-vulkan-layer \
|
||||
vkBasalt \
|
||||
mangohud \
|
||||
sdgyrodsu \
|
||||
skopeo
|
||||
|
||||
# Install dock updater, this is done manually as it has proprietary parts and cannot be built in Copr.
|
||||
RUN git clone https://github.com/KyleGospo/jupiter-dock-updater-bin.git && \
|
||||
mv -v jupiter-dock-updater-bin/packaged/usr/lib/jupiter-dock-updater /usr/lib/jupiter-dock-updater
|
||||
# Install dock updater, this is done manually due to proprietary parts preventing it from being on Copr.
|
||||
RUN git clone https://gitlab.com/evlaV/jupiter-dock-updater-bin.git --single-branch /tmp/jupiter-dock-updater-bin && \
|
||||
mv -v /tmp/jupiter-dock-updater-bin/packaged/usr/lib/jupiter-dock-updater /usr/lib/jupiter-dock-updater
|
||||
|
||||
# Suspend using power button
|
||||
RUN sed -i 's/#HandlePowerKey=poweroff/HandlePowerKey=suspend/g' /etc/systemd/logind.conf
|
||||
@ -110,7 +128,7 @@ RUN sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.re
|
||||
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-latencyflex.repo && \
|
||||
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-hl2linux-selinux.repo && \
|
||||
systemctl enable set-cfs-tweaks.service && \
|
||||
systemctl enable gamescope-autologin.service && \
|
||||
systemctl disable input-remapper.service && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/* && \
|
||||
|
34
README.md
34
README.md
@ -2,35 +2,26 @@
|
||||
|
||||
[![build-bazzite](https://github.com/ublue-os/bazzite/actions/workflows/build.yml/badge.svg)](https://github.com/ublue-os/bazzite/actions/workflows/build.yml)
|
||||
|
||||
Bazzite is an OCI based off of [ublue-os/kinoite](https://github.com/ublue-os/main) that is intended to be an alternative OS for the [Steam Deck](https://www.steamdeck.com/) and is a SteamOS-alike for desktops.
|
||||
|
||||
### Bazzite is currently in development and should not be used on real hardware under any circumstance. Feel free to test in a VM.
|
||||
### Bazzite is not associated with Valve Software in any way, and maintainers of the Bazzite project are not liable for any damage that may occur during use of the operating system.
|
||||
Bazzite is an OCI that serves as an alternative OS for the [Steam Deck](https://www.steamdeck.com/), and a ready-to-game SteamOS-like for desktop computers.
|
||||
|
||||
## Usage
|
||||
|
||||
Warning: This is an experimental feature and should not be used in production, try it in a VM for a while, you have been warned!
|
||||
|
||||
sudo rpm-ostree rebase --experimental ostree-unverified-registry:ghcr.io/ublue-os/bazzite:latest
|
||||
|
||||
We build date tags as well, so if you want to rebase to a particular day's release:
|
||||
|
||||
sudo rpm-ostree rebase --experimental ostree-unverified-registry:ghcr.io/ublue-os/bazzite:20230209
|
||||
|
||||
The `latest` tag will automatically point to the latest build.
|
||||
TODO
|
||||
|
||||
## Features
|
||||
|
||||
- Start with a base [ublue-os/kinoite](https://github.com/ublue-os/main) image
|
||||
- Built from a base [ublue-os/kinoite](https://github.com/ublue-os/main) or [ublue-os/kinoite-nvidia](https://github.com/ublue-os/nvidia) image
|
||||
- Initial setup wizard provides [Decky Loader](https://github.com/SteamDeckHomebrew/decky-loader), [EmuDeck](https://www.emudeck.com/), and an assortment of useful Flatpaks.
|
||||
- Adds ported versions of Valve's Steam Deck packages
|
||||
- Adds h264 decoding out of the box via RPM Fusion
|
||||
- Supports LatencyFleX & vkBasalt out of the box
|
||||
- Ships with Distrobox already installed
|
||||
- Comes with services for automatic system, distrobox, and flatpak updates.
|
||||
- Built in duperemove
|
||||
- BTRFS by default, including the SD card
|
||||
- Matches SteamOS 1:1 whenever possible
|
||||
- Ships with [Distrobox](https://github.com/89luca89/distrobox) installed and ready to use
|
||||
- Desktop variant uses [ublue-os/bazzite-arch](https://github.com/ublue-os/bazzite-arch) [![build-bazzite-arch](https://github.com/ublue-os/bazzite-arch/actions/workflows/build.yml/badge.svg)](https://github.com/ublue-os/bazzite-arch/actions/workflows/build.yml) in Distrobox to run Steam and other gaming workloads.
|
||||
- Adds h264 decoding out of the box via [RPM Fusion](https://rpmfusion.org/)
|
||||
- Supports [LatencyFleX](https://github.com/ishitatsuyuki/LatencyFleX) and [vkBasalt](https://github.com/DadSchoorse/vkBasalt) out of the box
|
||||
- Comes with services for automatic system, distrobox, and flatpak updates.
|
||||
- BTRFS by default, including the SD card
|
||||
- Built in duperemove services
|
||||
- Pre-tuned for gaming workloads
|
||||
- Matches SteamOS as closely as possible
|
||||
|
||||
## Copr
|
||||
|
||||
@ -46,6 +37,7 @@ Ported SteamOS and ChimeraOS packages, among others used by Bazzite, are built o
|
||||
|python3-hid|![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/python3-hid/status_image/last_build.png?)|
|
||||
|ryzenadj|![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/ryzenadj/status_image/last_build.png?)|
|
||||
|sddm-sugar-steamOS|![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/sddm-sugar-steamOS/status_image/last_build.png?)|
|
||||
|sdgyrodsu|![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/sdgyrodsu/status_image/last_build.png?)|
|
||||
|steamdeck-kde-presets|![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/steamdeck-kde-presets/status_image/last_build.png?)|
|
||||
|steamdeck-kde-themes|![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/steamdeck-kde-themes/status_image/last_build.png?)|
|
||||
|wallpaper-engine-kde-plugin|![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/wallpaper-engine-kde-plugin/status_image/last_build.png?)|
|
||||
|
@ -1,4 +0,0 @@
|
||||
vm.page-cluster=0
|
||||
vm.max_map_count=1048576
|
||||
net.core.default_qdisc=fq
|
||||
net.ipv4.tcp_congestion_control=bbr
|
@ -1,7 +0,0 @@
|
||||
[Unit]
|
||||
Description=distrobox-upgrade Automatic Update
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/distrobox-upgrade --all
|
||||
StandardOutput=null
|
@ -1,5 +0,0 @@
|
||||
vm.page-cluster=0
|
||||
vm.swappiness=35
|
||||
vm.max_map_count=1048576
|
||||
net.core.default_qdisc=fq
|
||||
net.ipv4.tcp_congestion_control=bbr
|
@ -1,8 +0,0 @@
|
||||
[Unit]
|
||||
Description=distrobox-upgrade Automatic Update
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/distrobox-upgrade --all
|
||||
ExecStartPost=/usr/bin/distrobox-enter -n bazzite-arch -- ' paru -Syu --noconfirm'
|
||||
StandardOutput=null
|
@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=distrobox-upgrade Automatic Update Trigger
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1h
|
||||
OnUnitInactiveSec=1d
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=flatpak Automatic Update
|
||||
Documentation=man:flatpak(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/flatpak update -y
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=flatpak Automatic Update Trigger
|
||||
Documentation=man:flatpak(1)
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1h
|
||||
OnUnitInactiveSec=1d
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
280
spec_files/jupiter-hw-support/fedora.patch
Normal file
280
spec_files/jupiter-hw-support/fedora.patch
Normal file
@ -0,0 +1,280 @@
|
||||
diff --git usr/bin/amd_system_info usr/bin/amd_system_info
|
||||
index 586bad9..afcac43 100755
|
||||
--- usr/bin/amd_system_info
|
||||
+++ usr/bin/amd_system_info
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
# script from AMD to use when reporting bugs to them
|
||||
|
||||
diff --git usr/bin/jupiter-biosupdate usr/bin/jupiter-biosupdate
|
||||
index 5210249..29b7d0d 100755
|
||||
--- usr/bin/jupiter-biosupdate
|
||||
+++ usr/bin/jupiter-biosupdate
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
set -e
|
||||
|
||||
# If found, and --no-beta wasn't explicitly passed, use beta mode. Set by e.g. foxnet.
|
||||
diff --git usr/bin/jupiter-check-support usr/bin/jupiter-check-support
|
||||
index bd56a57..3e68422 100755
|
||||
--- usr/bin/jupiter-check-support
|
||||
+++ usr/bin/jupiter-check-support
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
diff --git usr/bin/jupiter-controller-update usr/bin/jupiter-controller-update
|
||||
index 7b4db11..c6017bc 100755
|
||||
--- usr/bin/jupiter-controller-update
|
||||
+++ usr/bin/jupiter-controller-update
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/jupiter-biosupdate usr/bin/steamos-polkit-helpers/jupiter-biosupdate
|
||||
index 1d7b792..3f8ef1e 100755
|
||||
--- usr/bin/steamos-polkit-helpers/jupiter-biosupdate
|
||||
+++ usr/bin/steamos-polkit-helpers/jupiter-biosupdate
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/jupiter-check-support usr/bin/steamos-polkit-helpers/jupiter-check-support
|
||||
index 9a442c8..e2ce0d3 100755
|
||||
--- usr/bin/steamos-polkit-helpers/jupiter-check-support
|
||||
+++ usr/bin/steamos-polkit-helpers/jupiter-check-support
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/jupiter-dock-updater usr/bin/steamos-polkit-helpers/jupiter-dock-updater
|
||||
index 15c695b..98bc850 100755
|
||||
--- usr/bin/steamos-polkit-helpers/jupiter-dock-updater
|
||||
+++ usr/bin/steamos-polkit-helpers/jupiter-dock-updater
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/jupiter-fan-control usr/bin/steamos-polkit-helpers/jupiter-fan-control
|
||||
index 2dfa176..4f5a94d 100755
|
||||
--- usr/bin/steamos-polkit-helpers/jupiter-fan-control
|
||||
+++ usr/bin/steamos-polkit-helpers/jupiter-fan-control
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/jupiter-get-als-gain usr/bin/steamos-polkit-helpers/jupiter-get-als-gain
|
||||
index 775b5f4..066de3b 100755
|
||||
--- usr/bin/steamos-polkit-helpers/jupiter-get-als-gain
|
||||
+++ usr/bin/steamos-polkit-helpers/jupiter-get-als-gain
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-devkit-mode usr/bin/steamos-polkit-helpers/steamos-devkit-mode
|
||||
index b93f523..f504ec3 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-devkit-mode
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-devkit-mode
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management
|
||||
index 82b602c..88f9359 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-enable-sshd usr/bin/steamos-polkit-helpers/steamos-enable-sshd
|
||||
index fa7698f..bc477d8 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-enable-sshd
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-enable-sshd
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-factory-reset-config usr/bin/steamos-polkit-helpers/steamos-factory-reset-config
|
||||
index 3a2a367..5fb1ae6 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-factory-reset-config
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-factory-reset-config
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-format-sdcard usr/bin/steamos-polkit-helpers/steamos-format-sdcard
|
||||
index 0e1e6cb..1d283d5 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-format-sdcard
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-format-sdcard
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-poweroff-now usr/bin/steamos-polkit-helpers/steamos-poweroff-now
|
||||
index 1841ce0..adfcd5c 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-poweroff-now
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-poweroff-now
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-priv-write usr/bin/steamos-polkit-helpers/steamos-priv-write
|
||||
index 907133b..894b022 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-priv-write
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-priv-write
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-reboot-now usr/bin/steamos-polkit-helpers/steamos-reboot-now
|
||||
index b4dcc81..cb9ff94 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-reboot-now
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-reboot-now
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-reboot-other usr/bin/steamos-polkit-helpers/steamos-reboot-other
|
||||
index ad466f2..c952512 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-reboot-other
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-reboot-other
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-restart-sddm usr/bin/steamos-polkit-helpers/steamos-restart-sddm
|
||||
index 9e08cd6..cab9ee0 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-restart-sddm
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-restart-sddm
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-select-branch usr/bin/steamos-polkit-helpers/steamos-select-branch
|
||||
index 1b1d6c1..3a43a84 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-select-branch
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-select-branch
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-set-hostname usr/bin/steamos-polkit-helpers/steamos-set-hostname
|
||||
index f63e164..9b83e8b 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-set-hostname
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-set-hostname
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-set-timezone usr/bin/steamos-polkit-helpers/steamos-set-timezone
|
||||
index 2811d82..5d4a213 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-set-timezone
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-set-timezone
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/bin/steamos-polkit-helpers/steamos-update usr/bin/steamos-polkit-helpers/steamos-update
|
||||
index bae7403..7097a9c 100755
|
||||
--- usr/bin/steamos-polkit-helpers/steamos-update
|
||||
+++ usr/bin/steamos-polkit-helpers/steamos-update
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
diff --git usr/lib/hwsupport/cirrus-fixup.sh usr/lib/hwsupport/cirrus-fixup.sh
|
||||
index b21b103..5dcacaf 100755
|
||||
--- usr/lib/hwsupport/cirrus-fixup.sh
|
||||
+++ usr/lib/hwsupport/cirrus-fixup.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
diff --git usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh
|
||||
index 995ec8d..3095777 100755
|
||||
--- usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh
|
||||
+++ usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
# These tend to persist, but they're not right on first boot
|
||||
# TODO call is_ev2.sh (doesn't exist yet) to only run it there?
|
||||
diff --git usr/lib/hwsupport/format-sdcard.sh usr/lib/hwsupport/format-sdcard.sh
|
||||
index 3210b23..2f621c8 100755
|
||||
--- usr/lib/hwsupport/format-sdcard.sh
|
||||
+++ usr/lib/hwsupport/format-sdcard.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
diff --git usr/lib/hwsupport/power-button-handler.py usr/lib/hwsupport/power-button-handler.py
|
||||
index 1a46251..cbf7857 100755
|
||||
--- usr/lib/hwsupport/power-button-handler.py
|
||||
+++ usr/lib/hwsupport/power-button-handler.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python
|
||||
+#!/bin/env python3 -u
|
||||
|
||||
import evdev
|
||||
import threading
|
||||
diff --git usr/lib/hwsupport/sdcard-mount.sh usr/lib/hwsupport/sdcard-mount.sh
|
||||
index 99b66ec..1861d3e 100755
|
||||
--- usr/lib/hwsupport/sdcard-mount.sh
|
||||
+++ usr/lib/hwsupport/sdcard-mount.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
# Originally from https://serverfault.com/a/767079
|
||||
|
165
spec_files/jupiter-hw-support/jupiter-hw-support-btrfs.spec
Normal file
165
spec_files/jupiter-hw-support/jupiter-hw-support-btrfs.spec
Normal file
@ -0,0 +1,165 @@
|
||||
Name: jupiter-hw-support-btrfs
|
||||
Version: {{{ git_dir_version }}}
|
||||
Release: 1%{?dist}
|
||||
Summary: Steam Deck Hardware Support Package
|
||||
License: GPLv3
|
||||
URL: https://github.com/ublue-os/bazzite
|
||||
|
||||
Source: https://gitlab.com/evlaV/%{name}/-/archive/master/%{name}-master.tar.gz
|
||||
Patch0: fedora.patch
|
||||
Patch1: https://gitlab.com/popsulfr/steamos-btrfs/-/raw/main/files/usr/lib/hwsupport/sdcard-mount.sh.patch
|
||||
Patch2: https://gitlab.com/popsulfr/steamos-btrfs/-/raw/main/files/usr/lib/hwsupport/format-sdcard.sh.patch
|
||||
|
||||
Requires: python3
|
||||
Requires: python3-libevdev
|
||||
Requires: python3-crcmod
|
||||
Requires: python3-click
|
||||
Requires: python3-progressbar2
|
||||
Requires: python3-hid
|
||||
Requires: hidapi
|
||||
Requires: dmidecode
|
||||
Requires: jq
|
||||
Requires: alsa-utils
|
||||
Requires: parted
|
||||
Requires: e2fsprogs
|
||||
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
%description
|
||||
SteamOS 3.0 Steam Deck Hardware Support Package
|
||||
|
||||
# Disable debug packages
|
||||
%define debug_package %{nil}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-master
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
export QA_RPATHS=0x0003
|
||||
mkdir -p %{buildroot}%{_datadir}/
|
||||
mkdir -p %{buildroot}%{_unitdir}/
|
||||
mkdir -p %{buildroot}%{_bindir}/
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/
|
||||
cp -rv usr/share/* %{buildroot}%{_datadir}
|
||||
cp -rv usr/lib/systemd/system/* %{buildroot}%{_unitdir}/
|
||||
cp -rv usr/lib/hwsupport %{buildroot}%{_prefix}/lib/hwsupport
|
||||
cp -rv usr/lib/udev %{buildroot}%{_prefix}/lib/udev
|
||||
cp -rv usr/bin/* %{buildroot}%{_bindir}
|
||||
cp -rv usr/lib/systemd/system/* %{buildroot}%{_unitdir}
|
||||
cp -rv etc/* %{buildroot}%{_sysconfdir}
|
||||
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/default/steamos-btrfs
|
||||
# Remove unneeded files
|
||||
rm %{buildroot}%{_sysconfdir}/default/grub-steamos
|
||||
rm %{buildroot}%{_datadir}/jupiter_bios_updater/h2offt-g
|
||||
rm %{buildroot}%{_datadir}/jupiter_bios_updater/H2OFFTx64-G.sh
|
||||
rm -rf %{buildroot}%{_datadir}/jupiter_bios_updater/driver
|
||||
rm -rf %{buildroot}%{_unitdir}/multi-user.target.wants
|
||||
|
||||
# Do post-installation
|
||||
%post
|
||||
%systemd_post jupiter-biosupdate.service
|
||||
%systemd_post jupiter-controller-update.service
|
||||
|
||||
# Do before uninstallation
|
||||
%preun
|
||||
%systemd_preun jupiter-biosupdate.service
|
||||
%systemd_preun jupiter-controller-update.service
|
||||
|
||||
# Do after uninstallation
|
||||
%postun
|
||||
%systemd_postun_with_restart jupiter-biosupdate.service
|
||||
%systemd_postun_with_restart jupiter-controller-update.service
|
||||
|
||||
# This lists all the files that are included in the rpm package and that
|
||||
# are going to be installed into target system where the rpm is installed.
|
||||
%files
|
||||
%license LICENSE
|
||||
# %%{_sysconfdir}/default/grub-steamos
|
||||
%{_sysconfdir}/default/steamos-btrfs
|
||||
%{_sysconfdir}/systemd/system/sdcard-mount@.service
|
||||
%{_sysconfdir}/systemd/system/alsa-restore.service
|
||||
%{_sysconfdir}/xdg/kded5rc
|
||||
%{_bindir}/amd_system_info
|
||||
%{_bindir}/foxnet-biosupdate
|
||||
%{_bindir}/jupiter-biosupdate
|
||||
%{_bindir}/jupiter-check-support
|
||||
%{_bindir}/jupiter-controller-update
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-biosupdate
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-check-support
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-dock-updater
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-fan-control
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-get-als-gain
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-devkit-mode
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-disable-wireless-power-management
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-enable-sshd
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-factory-reset-config
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-format-sdcard
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-poweroff-now
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-priv-write
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-reboot-now
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-reboot-other
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-restart-sddm
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-select-branch
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-set-hostname
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-set-timezone
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-update
|
||||
%{_bindir}/thumbstick_cal
|
||||
%{_bindir}/trigger_cal
|
||||
%{_prefix}/lib/hwsupport/cirrus-fixup.sh
|
||||
%{_prefix}/lib/hwsupport/ev2_cirrus_alsa_fixups.sh
|
||||
%{_prefix}/lib/hwsupport/format-sdcard.sh
|
||||
%{_prefix}/lib/hwsupport/power-button-handler.py
|
||||
%{_prefix}/lib/hwsupport/sdcard-mount.sh
|
||||
%{_prefix}/lib/systemd/system/jupiter-biosupdate.service
|
||||
%{_prefix}/lib/systemd/system/jupiter-controller-update.service
|
||||
%{_prefix}/lib/udev/rules.d/99-power-button.rules
|
||||
%{_prefix}/lib/udev/rules.d/99-sdcard-mount.rules
|
||||
%{_datadir}/alsa/ucm2/conf.d/acp5x/HiFi.conf
|
||||
%{_datadir}/alsa/ucm2/conf.d/acp5x/acp5x.conf
|
||||
%{_datadir}/icons/steam/index.theme
|
||||
%{_datadir}/icons/steam/cursors/arrow
|
||||
%{_datadir}/icons/steam/cursors/left_ptr
|
||||
%{_datadir}/icons/steam/cursors/left_ptr_help
|
||||
%{_datadir}/icons/steam/cursors/left_ptr_watch
|
||||
%{_datadir}/steamos/steamos.png
|
||||
%{_datadir}/jupiter_bios/F7A0110_sign.fd
|
||||
%{_datadir}/jupiter_bios_updater/BatCtrl
|
||||
# %%{_datadir}/jupiter_bios_updater/H2OFFTx64-G.sh
|
||||
%{_datadir}/jupiter_bios_updater/H2OFFTx64.sh
|
||||
%{_datadir}/jupiter_bios_updater/Logo.png
|
||||
# %%{_datadir}/jupiter_bios_updater/driver/Makefile
|
||||
# %%{_datadir}/jupiter_bios_updater/driver/phy_alloc.c
|
||||
# %%{_datadir}/jupiter_bios_updater/driver/phy_alloc.h
|
||||
%{_datadir}/jupiter_bios_updater/h2offt
|
||||
# %%{_datadir}/jupiter_bios_updater/h2offt-g
|
||||
%{_datadir}/jupiter_bios_updater/h2osde-lx64
|
||||
%{_datadir}/jupiter_bios_updater/msg_cht.ini
|
||||
%{_datadir}/jupiter_bios_updater/msg_eng.ini
|
||||
%{_datadir}/jupiter_bios_updater/platform.ini
|
||||
%{_datadir}/jupiter_controller_fw_updater/D20_APP_REL_631F5DF4.bin
|
||||
%{_datadir}/jupiter_controller_fw_updater/D21_APP_REL_631F5DF4.bin
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_APP_REL_631F5DF4.bin
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/boot_ra_Release.srec
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/BatCtrl
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/Devices.xml
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/License_Agreement.txt
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/Messages.xml
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/libRFP.so
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/rfp-cli
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/rfp_cli_linux.sh
|
||||
%{_datadir}/jupiter_controller_fw_updater/d20bootloader.py
|
||||
%{_datadir}/jupiter_controller_fw_updater/d21bootloader16.py
|
||||
%{_datadir}/plymouth/themes/steamos/steamos.plymouth
|
||||
%{_datadir}/plymouth/themes/steamos/steamos.png
|
||||
%{_datadir}/plymouth/themes/steamos/steamos.script
|
||||
%{_datadir}/polkit-1/actions/org.valve.steamos.policy
|
||||
%{_datadir}/polkit-1/rules.d/org.valve.steamos.rules
|
||||
%{_datadir}/steamos/steamos-cursor-config
|
||||
%{_datadir}/steamos/steamos-cursor.png
|
||||
|
||||
# Finally, changes from the latest release of your application are generated from
|
||||
# your project's Git history. It will be empty until you make first annotated Git tag.
|
||||
%changelog
|
||||
{{{ git_dir_changelog }}}
|
161
spec_files/jupiter-hw-support/jupiter-hw-support.spec
Normal file
161
spec_files/jupiter-hw-support/jupiter-hw-support.spec
Normal file
@ -0,0 +1,161 @@
|
||||
Name: jupiter-hw-support
|
||||
Version: {{{ git_dir_version }}}
|
||||
Release: 1%{?dist}
|
||||
Summary: Steam Deck Hardware Support Package
|
||||
License: MIT
|
||||
URL: https://github.com/ublue-os/bazzite
|
||||
|
||||
Source: https://gitlab.com/evlaV/%{name}/-/archive/master/%{name}-master.tar.gz
|
||||
Patch0: fedora.patch
|
||||
|
||||
Requires: python3
|
||||
Requires: python3-libevdev
|
||||
Requires: python3-crcmod
|
||||
Requires: python3-click
|
||||
Requires: python3-progressbar2
|
||||
Requires: python3-hid
|
||||
Requires: hidapi
|
||||
Requires: dmidecode
|
||||
Requires: jq
|
||||
Requires: alsa-utils
|
||||
Requires: parted
|
||||
Requires: e2fsprogs
|
||||
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
%description
|
||||
SteamOS 3.0 Steam Deck Hardware Support Package
|
||||
|
||||
# Disable debug packages
|
||||
%define debug_package %{nil}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-master
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
export QA_RPATHS=0x0003
|
||||
mkdir -p %{buildroot}%{_datadir}/
|
||||
mkdir -p %{buildroot}%{_unitdir}/
|
||||
mkdir -p %{buildroot}%{_bindir}/
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/
|
||||
cp -rv usr/share/* %{buildroot}%{_datadir}
|
||||
cp -rv usr/lib/systemd/system/* %{buildroot}%{_unitdir}/
|
||||
cp -rv usr/lib/hwsupport %{buildroot}%{_prefix}/lib/hwsupport
|
||||
cp -rv usr/lib/udev %{buildroot}%{_prefix}/lib/udev
|
||||
cp -rv usr/bin/* %{buildroot}%{_bindir}
|
||||
cp -rv usr/lib/systemd/system/* %{buildroot}%{_unitdir}
|
||||
cp -rv etc/* %{buildroot}%{_sysconfdir}
|
||||
# Remove unneeded files
|
||||
rm %{buildroot}%{_sysconfdir}/default/grub-steamos
|
||||
rm %{buildroot}%{_datadir}/jupiter_bios_updater/h2offt-g
|
||||
rm %{buildroot}%{_datadir}/jupiter_bios_updater/H2OFFTx64-G.sh
|
||||
rm -rf %{buildroot}%{_datadir}/jupiter_bios_updater/driver
|
||||
rm -rf %{buildroot}%{_unitdir}/multi-user.target.wants
|
||||
|
||||
# Do post-installation
|
||||
%post
|
||||
%systemd_post jupiter-biosupdate.service
|
||||
%systemd_post jupiter-controller-update.service
|
||||
|
||||
# Do before uninstallation
|
||||
%preun
|
||||
%systemd_preun jupiter-biosupdate.service
|
||||
%systemd_preun jupiter-controller-update.service
|
||||
|
||||
# Do after uninstallation
|
||||
%postun
|
||||
%systemd_postun_with_restart jupiter-biosupdate.service
|
||||
%systemd_postun_with_restart jupiter-controller-update.service
|
||||
|
||||
# This lists all the files that are included in the rpm package and that
|
||||
# are going to be installed into target system where the rpm is installed.
|
||||
%files
|
||||
%license LICENSE
|
||||
# %%{_sysconfdir}/default/grub-steamos
|
||||
%{_sysconfdir}/systemd/system/sdcard-mount@.service
|
||||
%{_sysconfdir}/systemd/system/alsa-restore.service
|
||||
%{_sysconfdir}/xdg/kded5rc
|
||||
%{_bindir}/amd_system_info
|
||||
%{_bindir}/foxnet-biosupdate
|
||||
%{_bindir}/jupiter-biosupdate
|
||||
%{_bindir}/jupiter-check-support
|
||||
%{_bindir}/jupiter-controller-update
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-biosupdate
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-check-support
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-dock-updater
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-fan-control
|
||||
%{_bindir}/steamos-polkit-helpers/jupiter-get-als-gain
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-devkit-mode
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-disable-wireless-power-management
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-enable-sshd
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-factory-reset-config
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-format-sdcard
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-poweroff-now
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-priv-write
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-reboot-now
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-reboot-other
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-restart-sddm
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-select-branch
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-set-hostname
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-set-timezone
|
||||
%{_bindir}/steamos-polkit-helpers/steamos-update
|
||||
%{_bindir}/thumbstick_cal
|
||||
%{_bindir}/trigger_cal
|
||||
%{_prefix}/lib/hwsupport/cirrus-fixup.sh
|
||||
%{_prefix}/lib/hwsupport/ev2_cirrus_alsa_fixups.sh
|
||||
%{_prefix}/lib/hwsupport/format-sdcard.sh
|
||||
%{_prefix}/lib/hwsupport/power-button-handler.py
|
||||
%{_prefix}/lib/hwsupport/sdcard-mount.sh
|
||||
%{_prefix}/lib/systemd/system/jupiter-biosupdate.service
|
||||
%{_prefix}/lib/systemd/system/jupiter-controller-update.service
|
||||
%{_prefix}/lib/udev/rules.d/99-power-button.rules
|
||||
%{_prefix}/lib/udev/rules.d/99-sdcard-mount.rules
|
||||
%{_datadir}/alsa/ucm2/conf.d/acp5x/HiFi.conf
|
||||
%{_datadir}/alsa/ucm2/conf.d/acp5x/acp5x.conf
|
||||
%{_datadir}/icons/steam/index.theme
|
||||
%{_datadir}/icons/steam/cursors/arrow
|
||||
%{_datadir}/icons/steam/cursors/left_ptr
|
||||
%{_datadir}/icons/steam/cursors/left_ptr_help
|
||||
%{_datadir}/icons/steam/cursors/left_ptr_watch
|
||||
%{_datadir}/steamos/steamos.png
|
||||
%{_datadir}/jupiter_bios/F7A0110_sign.fd
|
||||
%{_datadir}/jupiter_bios_updater/BatCtrl
|
||||
# %%{_datadir}/jupiter_bios_updater/H2OFFTx64-G.sh
|
||||
%{_datadir}/jupiter_bios_updater/H2OFFTx64.sh
|
||||
%{_datadir}/jupiter_bios_updater/Logo.png
|
||||
# %%{_datadir}/jupiter_bios_updater/driver/Makefile
|
||||
# %%{_datadir}/jupiter_bios_updater/driver/phy_alloc.c
|
||||
# %%{_datadir}/jupiter_bios_updater/driver/phy_alloc.h
|
||||
%{_datadir}/jupiter_bios_updater/h2offt
|
||||
# %%{_datadir}/jupiter_bios_updater/h2offt-g
|
||||
%{_datadir}/jupiter_bios_updater/h2osde-lx64
|
||||
%{_datadir}/jupiter_bios_updater/msg_cht.ini
|
||||
%{_datadir}/jupiter_bios_updater/msg_eng.ini
|
||||
%{_datadir}/jupiter_bios_updater/platform.ini
|
||||
%{_datadir}/jupiter_controller_fw_updater/D20_APP_REL_631F5DF4.bin
|
||||
%{_datadir}/jupiter_controller_fw_updater/D21_APP_REL_631F5DF4.bin
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_APP_REL_631F5DF4.bin
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/boot_ra_Release.srec
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/BatCtrl
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/Devices.xml
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/License_Agreement.txt
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/Messages.xml
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/libRFP.so
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/linux_host_tools/rfp-linux-x64/rfp-cli
|
||||
%{_datadir}/jupiter_controller_fw_updater/RA_bootloader_updater/rfp_cli_linux.sh
|
||||
%{_datadir}/jupiter_controller_fw_updater/d20bootloader.py
|
||||
%{_datadir}/jupiter_controller_fw_updater/d21bootloader16.py
|
||||
%{_datadir}/plymouth/themes/steamos/steamos.plymouth
|
||||
%{_datadir}/plymouth/themes/steamos/steamos.png
|
||||
%{_datadir}/plymouth/themes/steamos/steamos.script
|
||||
%{_datadir}/polkit-1/actions/org.valve.steamos.policy
|
||||
%{_datadir}/polkit-1/rules.d/org.valve.steamos.rules
|
||||
%{_datadir}/steamos/steamos-cursor-config
|
||||
%{_datadir}/steamos/steamos-cursor.png
|
||||
|
||||
# Finally, changes from the latest release of your application are generated from
|
||||
# your project's Git history. It will be empty until you make first annotated Git tag.
|
||||
%changelog
|
||||
{{{ git_dir_changelog }}}
|
339
spec_files/mesa-va-drivers/LICENSE
Normal file
339
spec_files/mesa-va-drivers/LICENSE
Normal file
@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
25
spec_files/mesa-va-drivers/mesa-va-drivers.spec
Normal file
25
spec_files/mesa-va-drivers/mesa-va-drivers.spec
Normal file
@ -0,0 +1,25 @@
|
||||
Name: mesa-va-drivers
|
||||
Version: 1000.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Corrects a dependency issue between steam and mesa-va-drivers-freeworld on rpm-ostree distributions
|
||||
License: GPLv2
|
||||
URL: https://github.com/ublue-os/bazzite
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: https://raw.githubusercontent.com/ublue-os/bazzite/yafti/spec_files/mesa-va-drivers-freeworld-steamfix/LICENSE
|
||||
|
||||
Requires: mesa-va-drivers-freeworld
|
||||
Provides: mesa-va-drivers = %{version}
|
||||
|
||||
# Disable debug packages
|
||||
%define debug_package %{nil}
|
||||
|
||||
%description
|
||||
Corrects a dependency issue between steam and mesa-va-drivers-freeworld on rpm-ostree distributions
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/licenses/%{name}
|
||||
cp %{SOURCE0} %{buildroot}%{_datadir}/licenses/%{name}/LICENSE
|
||||
|
||||
%files
|
||||
%license LICENSE
|
1
system_files/deck/etc/sysctl.d/10-memory.conf
Normal file
1
system_files/deck/etc/sysctl.d/10-memory.conf
Normal file
@ -0,0 +1 @@
|
||||
vm.page-cluster=0
|
7
system_files/deck/usr/share/ublue-os/firstboot/launcher/autostart.sh
Executable file
7
system_files/deck/usr/share/ublue-os/firstboot/launcher/autostart.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Simply launches the "yafti" GUI with the uBlue image's configuration.
|
||||
/usr/bin/yafti /usr/share/ublue-os/firstboot/yafti.yml
|
||||
|
||||
# Open Steam so that it can update
|
||||
/usr/bin/steam
|
197
system_files/deck/usr/share/ublue-os/firstboot/yafti.yml
Normal file
197
system_files/deck/usr/share/ublue-os/firstboot/yafti.yml
Normal file
@ -0,0 +1,197 @@
|
||||
title: Welcome to uBlue
|
||||
properties:
|
||||
mode: "run-on-change"
|
||||
screens:
|
||||
first-screen:
|
||||
source: yafti.screen.title
|
||||
values:
|
||||
title: "Welcome to Bazzite (Alpha)"
|
||||
icon: "/path/to/icon"
|
||||
description: |
|
||||
Pick some applications to get started
|
||||
can-we-modify-your-flatpaks:
|
||||
source: yafti.screen.consent
|
||||
values:
|
||||
title: Setting up Flathub
|
||||
condition:
|
||||
run: flatpak remotes --system | grep fedora
|
||||
description: |
|
||||
WARNING: This will modify your Flatpaks if you are rebasing! If you do not want to do this exit the installer.
|
||||
actions:
|
||||
- run: /usr/lib/fedora-third-party/fedora-third-party-opt-out
|
||||
- run: /usr/bin/fedora-third-party disable
|
||||
- run: flatpak remote-delete fedora --force
|
||||
- run: flatpak remove --system --noninteractive --all
|
||||
- run: flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
applications:
|
||||
source: yafti.screen.package
|
||||
values:
|
||||
title: Application Installation
|
||||
show_terminal: true
|
||||
package_manager: yafti.plugin.flatpak
|
||||
groups:
|
||||
Bazzite:
|
||||
description: Core Applications
|
||||
default: true
|
||||
packages:
|
||||
- Lutris: net.lutris.Lutris
|
||||
- Mozilla Firefox: org.mozilla.firefox
|
||||
- Protontricks: com.github.Matoking.protontricks
|
||||
- ProtonUp-Qt (Proton Updater): net.davidotek.pupgui2
|
||||
- Wallpaper Engine: just enable-wallpaper-engine
|
||||
Web Browsers:
|
||||
description: Additional browsers to complement Firefox
|
||||
default: false
|
||||
packages:
|
||||
- Brave: com.brave.Browser
|
||||
- Google Chrome: com.google.Chrome
|
||||
- LibreWolf: io.gitlab.librewolf-community
|
||||
- Microsoft Edge: com.microsoft.Edge
|
||||
- Opera: com.opera.Opera
|
||||
Gaming:
|
||||
description: "Rock and Stone!"
|
||||
default: false
|
||||
packages:
|
||||
- Bottles: com.usebottles.bottles
|
||||
- Chiaki4Deck (PlayStation Remote Play): just get-chiaki
|
||||
- Discord: com.discordapp.Discord
|
||||
- GeForce NOW Electron: io.github.hmlendea.geforcenow-electron
|
||||
- Heroic Games Launcher (GOG & Epic): com.heroicgameslauncher.hgl
|
||||
- itch: io.itch.itch
|
||||
- Minecraft (Prism Launcher): org.prismlauncher.PrismLauncher
|
||||
- Minecraft Bedrock Launcher: io.mrarm.mcpelauncher
|
||||
- Moonlight: com.moonlight_stream.Moonlight
|
||||
- Mumble: info.mumble.Mumble
|
||||
- OpenMW: org.openmw.OpenMW
|
||||
- Steam Link: com.valvesoftware.SteamLink
|
||||
- SuperTux: org.supertuxproject.SuperTux
|
||||
- SuperTuxKart: net.supertuxkart.SuperTuxKart
|
||||
- TeamSpeak: com.teamspeak.TeamSpeak
|
||||
Emulation:
|
||||
description: Play games like it's 1972
|
||||
default: false
|
||||
packages:
|
||||
- Cemu: info.cemu.Cemu
|
||||
- Citra: org.citra_emu.citra
|
||||
- Dolphin: org.DolphinEmu.dolphin-emu
|
||||
- DuckStation: org.duckstation.DuckStation
|
||||
- MAME: org.mamedev.MAME
|
||||
- melonDS: net.kuribo64.melonDS
|
||||
- mGBA: io.mgba.mGBA
|
||||
- PCSX2: net.pcsx2.PCSX2
|
||||
- PPSSPP: org.ppsspp.PPSSPP
|
||||
- RetroArch: org.libretro.RetroArch
|
||||
- RetroDECK: net.retrodeck.retrodeck
|
||||
- Rosalie's Mupen GUI: com.github.Rosalie241.RMG
|
||||
- RPCS3: net.rpcs3.RPCS3
|
||||
- Ryujinx: org.ryujinx.Ryujinx
|
||||
- ScummVM: org.scummvm.ScummVM
|
||||
- Snes9x: om.snes9x.Snes9x
|
||||
- xemu: app.xemu.xemu
|
||||
- yuzu: org.yuzu_emu.yuzu
|
||||
Streaming:
|
||||
description: Stream to the Internet
|
||||
default: false
|
||||
packages:
|
||||
- OBS Studio: com.obsproject.Studio
|
||||
- VkCapture for OBS: com.obsproject.Studio.OBSVkCapture
|
||||
- Gstreamer for OBS: com.obsproject.Studio.Plugin.Gstreamer
|
||||
- Gstreamer VAAPI for OBS: com.obsproject.Studio.Plugin.GStreamerVaapi
|
||||
- Boatswain for Streamdeck: com.feaneron.Boatswain
|
||||
Music:
|
||||
description: "Rock and Roll!"
|
||||
default: false
|
||||
packages:
|
||||
- Spotify: com.spotify.Client
|
||||
- Strawberry Music Player: org.strawberrymusicplayer.strawberry
|
||||
- Tidal-hifi: com.mastermindzh.tidal-hifi
|
||||
Office:
|
||||
description: Bow to Capitalism
|
||||
default: false
|
||||
packages:
|
||||
- Joplin: net.cozic.joplin_desktop
|
||||
- LibreOffice: org.libreoffice.LibreOffice
|
||||
- Obsidian: md.obsidian.Obsidian
|
||||
- OnlyOffice: org.onlyoffice.desktopeditors
|
||||
- Slack: com.slack.Slack
|
||||
- Standard Notes: org.standardnotes.standardnotes
|
||||
- Thunderbird Email: org.mozilla.Thunderbird
|
||||
- Xournal++: flathub com.github.xournalpp.xournalpp
|
||||
Utilities:
|
||||
description: Helpful tools
|
||||
default: false
|
||||
packages:
|
||||
- Barrier: com.github.debauchee.barrier
|
||||
- Bitwarden: com.bitwarden.desktop
|
||||
- Calibre: com.calibre_ebook.calibre
|
||||
- Fedora Media Writer: org.fedoraproject.MediaWriter
|
||||
- Flatseal Permissions Manager: com.github.tchx84.Flatseal
|
||||
- GIMP: org.gimp.GIMP
|
||||
- GreenWithEnvy: com.leinardi.gwe
|
||||
- KeePassXC: org.keepassxc.KeePassXC
|
||||
- qBittorrent: org.qbittorrent.qBittorrent
|
||||
- Syncthing: com.github.zocker_160.SyncThingy
|
||||
- VLC: org.videolan.VLC
|
||||
configure-bazzite:
|
||||
source: yafti.screen.package
|
||||
values:
|
||||
title: Configure Bazzite
|
||||
show_terminal: true
|
||||
package_manager: yafti.plugin.run
|
||||
groups:
|
||||
Automatic Duplicate File Removal:
|
||||
description: Flattens duplicate files to take up no more space than a single copy, a considerable space savings for wine prefixes and compatdata
|
||||
default: true
|
||||
packages:
|
||||
- Enable Duperemove: systemctl enable --now duperemove-weekly@$(systemd-escape $HOME).timer
|
||||
Autostart Steam:
|
||||
description: Launches Steam automatically on the desktop
|
||||
default: true
|
||||
packages:
|
||||
- Enable Autostart: cp ~/usr/share/applications/steam.desktop ~/.config/autostart/steam-silent.desktop && sed -i 's@/usr/bin/steam-runtime %U@/usr/bin/steam-runtime -silent %U@g' ~/.config/autostart/steam-silent.desktop
|
||||
Decky Loader:
|
||||
description: A plugin loader for the Steam Deck
|
||||
default: false
|
||||
packages:
|
||||
- Retrieve Decky: just get-decky
|
||||
EmuDeck:
|
||||
description: |
|
||||
A utility for installing and configuring emulators on the Steam Deck
|
||||
default: false
|
||||
packages:
|
||||
- Retrieve EmuDeck: just get-emudeck
|
||||
Gamescope Autologin:
|
||||
description: Autologin to Gamescope Session
|
||||
default: true
|
||||
packages:
|
||||
- Enable Gamescope Autologin: systemctl enable gamescope-autologin
|
||||
Greenlight:
|
||||
description: A utility for xCloud and xHome streaming
|
||||
default: false
|
||||
packages:
|
||||
- Retrieve Greenlight: just get-greenlight
|
||||
Memory Tuning:
|
||||
description: Adjust ZRAM and configure deckswap
|
||||
default: false
|
||||
packages:
|
||||
- Deck Swap: just swap-on
|
||||
- Disable ZRAM: just zram-off
|
||||
SteamDeckGyroDSU:
|
||||
descrption: Allows emulators and other applications to receive Steam Deck gyro motion data
|
||||
default: true
|
||||
packages
|
||||
- Enable SDGyroDSU Service: systemctl --user enable --now sdgyrodsu
|
||||
final-screen:
|
||||
source: yafti.screen.title
|
||||
values:
|
||||
title: "All done!"
|
||||
icon: "/path/to/icon"
|
||||
links:
|
||||
- "Install More Applications":
|
||||
run: /usr/bin/plasma-discover
|
||||
- "Website":
|
||||
run: /usr/bin/xdg-open https://ublue.it
|
||||
- "Join the Discord Community":
|
||||
run: /usr/bin/xdg-open https://discord.gg/XjG48C7VHx
|
||||
description: |
|
||||
Thank you for trying Bazzite, we hope you enjoy it!
|
@ -1,3 +1,24 @@
|
||||
get-decky:
|
||||
curl -L https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/install_release.sh | sh
|
||||
|
||||
get-emudeck:
|
||||
echo 'Retrieving EmuDeck...'
|
||||
wget https://www.emudeck.com/EmuDeck.desktop -P ~/Desktop
|
||||
chmod +x ~/Desktop/EmuDeck.desktop
|
||||
|
||||
get-greenlight:
|
||||
echo 'Retrieving Greenlight'
|
||||
wget https://github.com/unknownskl/greenlight/releases/download/v2.0.0-beta8/Greenlight-2.0.0-beta8.AppImage -O ~/Desktop/Greenlight.AppImage
|
||||
chmod +x ~/Desktop/Greenlight.AppImage
|
||||
|
||||
get-chiaki
|
||||
flatpak install --noninteractive $(curl -s https://api.github.com/repos/streetpea/chiaki4deck/releases/latest | jq -r .assets[1].browser_download_url)
|
||||
|
||||
enable-wallpaper-engine:
|
||||
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --single-branch /tmp/wallpaper-engine-kde-plugin
|
||||
plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin
|
||||
rm -rf /tmp/wallpaper-engine-kde-plugin
|
||||
|
||||
deckswap-on:
|
||||
#!/usr/bin/env bash
|
||||
STATUS=$(systemctl status deckswap.service)
|
@ -0,0 +1,9 @@
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.corectrl.helper.init" ||
|
||||
action.id == "org.corectrl.helperkiller.init") &&
|
||||
subject.local == true &&
|
||||
subject.active == true &&
|
||||
subject.isInGroup("wheel")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
2
system_files/desktop/etc/sysctl.d/10-memory.conf
Normal file
2
system_files/desktop/etc/sysctl.d/10-memory.conf
Normal file
@ -0,0 +1,2 @@
|
||||
vm.page-cluster=0
|
||||
vm.swappiness=35
|
1
system_files/desktop/etc/sysctl.d/20-gaming.conf
Normal file
1
system_files/desktop/etc/sysctl.d/20-gaming.conf
Normal file
@ -0,0 +1 @@
|
||||
vm.max_map_count=1048576
|
2
system_files/desktop/etc/sysctl.d/30-networking.conf
Normal file
2
system_files/desktop/etc/sysctl.d/30-networking.conf
Normal file
@ -0,0 +1,2 @@
|
||||
net.core.default_qdisc=fq
|
||||
net.ipv4.tcp_congestion_control=bbr
|
2
system_files/desktop/etc/sysctl.d/40-inotify.conf
Normal file
2
system_files/desktop/etc/sysctl.d/40-inotify.conf
Normal file
@ -0,0 +1,2 @@
|
||||
fs.inotify.max_user_instances=8192
|
||||
fs.inotify.max_user_watches=524288
|
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Forward com.system76.Scheduler session DBus messages to the system bus
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/system76-scheduler-dbus-proxy
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
7
system_files/desktop/etc/update.d/99-bazzite-arch-user-update.sh
Executable file
7
system_files/desktop/etc/update.d/99-bazzite-arch-user-update.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
if [[ $(distrobox list | grep bazzite-arch) ]]; then
|
||||
/usr/bin/distrobox-enter -n bazzite-arch -- ' paru -Sua --noconfirm'
|
||||
else
|
||||
echo "Update skipped: bazzite-arch not installed"
|
||||
fi
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=uBlue First Boot Setup
|
||||
Comment=Sets up the uBlue desktop on first boot.
|
||||
GenericName=Launcher
|
||||
Categories=Utility;System;
|
||||
Exec=/usr/share/ublue-os/firstboot/launcher/autostart.sh
|
||||
Icon=application-x-executable
|
||||
Terminal=false
|
||||
Type=Application
|
4
system_files/desktop/usr/share/ublue-os/firstboot/launcher/autostart.sh
Executable file
4
system_files/desktop/usr/share/ublue-os/firstboot/launcher/autostart.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Simply launches the "yafti" GUI with the uBlue image's configuration.
|
||||
/usr/bin/yafti /usr/share/ublue-os/firstboot/yafti.yml
|
15
system_files/desktop/usr/share/ublue-os/firstboot/launcher/login-profile.sh
Executable file
15
system_files/desktop/usr/share/ublue-os/firstboot/launcher/login-profile.sh
Executable file
@ -0,0 +1,15 @@
|
||||
# Only process users with home directories, but skip the "root" user.
|
||||
if [ "$(id -u)" != "0" ] && [ ! -z "$HOME" ] && [ -d "$HOME" ]; then
|
||||
# Ensure target file exists and is a symlink (not a regular file or dir).
|
||||
if [ ! -L "$HOME"/.config/autostart/ublue-firstboot.desktop ]; then
|
||||
# Remove any leftovers or incorrect (non-link) files with the same name.
|
||||
rm -rf "$HOME"/.config/autostart/ublue-firstboot.desktop
|
||||
|
||||
# Create symlink to uBlue's autostart runner.
|
||||
# Note that "broken autostart symlinks" are harmless if they remain
|
||||
# after distro switching, and just cause a minor syslog warning. The
|
||||
# user can manually delete this file if they migrate away from uBlue.
|
||||
mkdir -p "$HOME"/.config/autostart
|
||||
ln -s "/usr/share/ublue-os/firstboot/launcher/autostart.desktop" "$HOME"/.config/autostart/ublue-firstboot.desktop
|
||||
fi
|
||||
fi
|
181
system_files/desktop/usr/share/ublue-os/firstboot/yafti.yml
Normal file
181
system_files/desktop/usr/share/ublue-os/firstboot/yafti.yml
Normal file
@ -0,0 +1,181 @@
|
||||
title: Welcome to uBlue
|
||||
properties:
|
||||
mode: "run-on-change"
|
||||
screens:
|
||||
first-screen:
|
||||
source: yafti.screen.title
|
||||
values:
|
||||
title: "Welcome to Bazzite (Alpha)"
|
||||
icon: "/path/to/icon"
|
||||
description: |
|
||||
Pick some applications to get started
|
||||
can-we-modify-your-flatpaks:
|
||||
source: yafti.screen.consent
|
||||
values:
|
||||
title: Setting up Flathub
|
||||
condition:
|
||||
run: flatpak remotes --system | grep fedora
|
||||
description: |
|
||||
WARNING: This will modify your Flatpaks if you are rebasing! If you do not want to do this exit the installer.
|
||||
actions:
|
||||
- run: /usr/lib/fedora-third-party/fedora-third-party-opt-out
|
||||
- run: /usr/bin/fedora-third-party disable
|
||||
- run: flatpak remote-delete fedora --force
|
||||
- run: flatpak remove --system --noninteractive --all
|
||||
- run: flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
applications:
|
||||
source: yafti.screen.package
|
||||
values:
|
||||
title: Application Installation
|
||||
show_terminal: true
|
||||
package_manager: yafti.plugin.flatpak
|
||||
groups:
|
||||
Bazzite:
|
||||
description: Core Applications
|
||||
default: true
|
||||
packages:
|
||||
- Mozilla Firefox: org.mozilla.firefox
|
||||
- ProtonUp-Qt (Proton Updater): net.davidotek.pupgui2
|
||||
- System76 Scheduler: just enable-system76-scheduler
|
||||
- Wallpaper Engine: just enable-wallpaper-engine
|
||||
Web Browsers:
|
||||
description: Additional browsers to complement Firefox
|
||||
default: false
|
||||
packages:
|
||||
- Brave: com.brave.Browser
|
||||
- Google Chrome: com.google.Chrome
|
||||
- LibreWolf: io.gitlab.librewolf-community
|
||||
- Microsoft Edge: com.microsoft.Edge
|
||||
- Opera: com.opera.Opera
|
||||
Gaming:
|
||||
description: "Rock and Stone!"
|
||||
default: false
|
||||
packages:
|
||||
- Bottles: com.usebottles.bottles
|
||||
- Chiaki (PlayStation Remote Play): re.chiaki.Chiaki
|
||||
- Discord: com.discordapp.Discord
|
||||
- GeForce NOW Electron: io.github.hmlendea.geforcenow-electron
|
||||
- Heroic Games Launcher (GOG & Epic): com.heroicgameslauncher.hgl
|
||||
- itch: io.itch.itch
|
||||
- Minecraft (Prism Launcher): org.prismlauncher.PrismLauncher
|
||||
- Minecraft Bedrock Launcher: io.mrarm.mcpelauncher
|
||||
- Moonlight: com.moonlight_stream.Moonlight
|
||||
- Mumble: info.mumble.Mumble
|
||||
- OpenMW: org.openmw.OpenMW
|
||||
- Steam Link: com.valvesoftware.SteamLink
|
||||
- SuperTux: org.supertuxproject.SuperTux
|
||||
- SuperTuxKart: net.supertuxkart.SuperTuxKart
|
||||
- TeamSpeak: com.teamspeak.TeamSpeak
|
||||
Emulation:
|
||||
description: Play games like it's 1972
|
||||
default: false
|
||||
packages:
|
||||
- Cemu: info.cemu.Cemu
|
||||
- Citra: org.citra_emu.citra
|
||||
- Dolphin: org.DolphinEmu.dolphin-emu
|
||||
- DuckStation: org.duckstation.DuckStation
|
||||
- MAME: org.mamedev.MAME
|
||||
- melonDS: net.kuribo64.melonDS
|
||||
- mGBA: io.mgba.mGBA
|
||||
- PCSX2: net.pcsx2.PCSX2
|
||||
- PPSSPP: org.ppsspp.PPSSPP
|
||||
- RetroArch: org.libretro.RetroArch
|
||||
- RetroDECK: net.retrodeck.retrodeck
|
||||
- Rosalie's Mupen GUI: com.github.Rosalie241.RMG
|
||||
- RPCS3: net.rpcs3.RPCS3
|
||||
- Ryujinx: org.ryujinx.Ryujinx
|
||||
- ScummVM: org.scummvm.ScummVM
|
||||
- Snes9x: om.snes9x.Snes9x
|
||||
- xemu: app.xemu.xemu
|
||||
- yuzu: org.yuzu_emu.yuzu
|
||||
Streaming:
|
||||
description: Stream to the Internet
|
||||
default: false
|
||||
packages:
|
||||
- OBS Studio: com.obsproject.Studio
|
||||
- VkCapture for OBS: com.obsproject.Studio.OBSVkCapture
|
||||
- Gstreamer for OBS: com.obsproject.Studio.Plugin.Gstreamer
|
||||
- Gstreamer VAAPI for OBS: com.obsproject.Studio.Plugin.GStreamerVaapi
|
||||
- Boatswain for Streamdeck: com.feaneron.Boatswain
|
||||
Music:
|
||||
description: "Rock and Roll!"
|
||||
default: false
|
||||
packages:
|
||||
- Spotify: com.spotify.Client
|
||||
- Strawberry Music Player: org.strawberrymusicplayer.strawberry
|
||||
- Tidal-hifi: com.mastermindzh.tidal-hifi
|
||||
Office:
|
||||
description: Bow to Capitalism
|
||||
default: false
|
||||
packages:
|
||||
- Joplin: net.cozic.joplin_desktop
|
||||
- LibreOffice: org.libreoffice.LibreOffice
|
||||
- Obsidian: md.obsidian.Obsidian
|
||||
- OnlyOffice: org.onlyoffice.desktopeditors
|
||||
- Slack: com.slack.Slack
|
||||
- Standard Notes: org.standardnotes.standardnotes
|
||||
- Thunderbird Email: org.mozilla.Thunderbird
|
||||
- Xournal++: flathub com.github.xournalpp.xournalpp
|
||||
Utilities:
|
||||
description: Helpful tools
|
||||
default: false
|
||||
packages:
|
||||
- Barrier: com.github.debauchee.barrier
|
||||
- Bitwarden: com.bitwarden.desktop
|
||||
- Calibre: com.calibre_ebook.calibre
|
||||
- CoreCtrl (AMD GPU Overclocking): just install-corectrl
|
||||
- Fedora Media Writer: org.fedoraproject.MediaWriter
|
||||
- Flatseal Permissions Manager: com.github.tchx84.Flatseal
|
||||
- GIMP: org.gimp.GIMP
|
||||
- GreenWithEnvy (Nvidia GPU Overclocking): com.leinardi.gwe
|
||||
- KeePassXC: org.keepassxc.KeePassXC
|
||||
- qBittorrent: org.qbittorrent.qBittorrent
|
||||
- Syncthing: com.github.zocker_160.SyncThingy
|
||||
- VLC: org.videolan.VLC
|
||||
configure-bazzite:
|
||||
source: yafti.screen.package
|
||||
values:
|
||||
title: Configure Bazzite
|
||||
show_terminal: true
|
||||
package_manager: yafti.plugin.run
|
||||
groups:
|
||||
Bazzite Arch Distrobox:
|
||||
description: This will install an Arch distrobox configured for gaming. Steam and Lutris will then be exported.
|
||||
default: true
|
||||
condition:
|
||||
run: distrobox list | grep -v bazzite-arch
|
||||
packages:
|
||||
- Install Bazzite Arch: just install-bazzite-arch
|
||||
- Export Steam: distrobox-enter -n bazzite-arch -- ' distrobox-export --app steam'
|
||||
- Export Lutris: distrobox-enter -n bazzite-arch -- ' distrobox-export --app lutris'
|
||||
- Export Protontricks: distrobox-enter -n bazzite-arch -- ' distrobox-export --app protontricks'
|
||||
- Autostart Steam: cp ~/.local/share/applications/bazzite-arch-steam.desktop ~/.config/autostart/bazzite-arch-steam-silent.desktop && sed -i 's@/usr/bin/steam-runtime %U@/usr/bin/steam-runtime -silent %U@g' ~/.config/autostart/bazzite-arch-steam-silent.desktop
|
||||
Automatic Duplicate File Removal:
|
||||
description: Flattens duplicate files to take up no more space than a single copy, a considerable space savings for wine prefixes and compatdata
|
||||
default: true
|
||||
packages:
|
||||
- Enable Duperemove: systemctl enable --now duperemove-weekly@$(systemd-escape $HOME).timer
|
||||
Greenlight:
|
||||
description: A utility for xCloud and xHome streaming
|
||||
default: false
|
||||
packages:
|
||||
- Retrieve Greenlight: just get-greenlight
|
||||
Memory Tuning:
|
||||
description: Adjust ZRAM configuration
|
||||
default: false
|
||||
packages:
|
||||
- Disable ZRAM: just zram-off
|
||||
final-screen:
|
||||
source: yafti.screen.title
|
||||
values:
|
||||
title: "All done!"
|
||||
icon: "/path/to/icon"
|
||||
links:
|
||||
- "Install More Applications":
|
||||
run: /usr/bin/plasma-discover
|
||||
- "Website":
|
||||
run: /usr/bin/xdg-open https://ublue.it
|
||||
- "Join the Discord Community":
|
||||
run: /usr/bin/xdg-open https://discord.gg/XjG48C7VHx
|
||||
description: |
|
||||
Thank you for trying Bazzite, we hope you enjoy it!
|
74
system_files/desktop/usr/share/ublue-os/just/custom.just
Normal file
74
system_files/desktop/usr/share/ublue-os/just/custom.just
Normal file
@ -0,0 +1,74 @@
|
||||
install-bazzite-arch:
|
||||
#!/usr/bash/env bash
|
||||
KARGS=$(rpm-ostree kargs)
|
||||
if grep 'nvidia' <<< ${KARGS}; then
|
||||
echo 'Installing Bazzite Arch (Nvidia)...'
|
||||
yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch --additional-flags "--runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=all -e NVIDIA_DRIVER_CAPABILITIES=all"
|
||||
else
|
||||
echo 'Installing Bazzite Arch...'
|
||||
yes | distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch
|
||||
fi
|
||||
|
||||
install-corectrl:
|
||||
rpm-ostree intall corectrl
|
||||
rpm-ostree kargs --append="amdgpu.ppfeaturemask=0xffffffff"
|
||||
|
||||
get-greenlight:
|
||||
echo 'Retrieving Greenlight'
|
||||
wget https://github.com/unknownskl/greenlight/releases/download/v2.0.0-beta8/Greenlight-2.0.0-beta8.AppImage -O ~/Desktop/Greenlight.AppImage
|
||||
chmod +x ~/Desktop/Greenlight.AppImage
|
||||
|
||||
enable-system76-scheduler:
|
||||
git clone https://github.com/maxiberta/kwin-system76-scheduler-integration.git --single-branch /tmp/kwin-system76-scheduler-integration
|
||||
kpackagetool5 --type=KWin/Script -i /tmp/kwin-system76-scheduler-integration
|
||||
systemctl --user enable --now com.system76.Scheduler.dbusproxy.service
|
||||
systemctl enable --now com.system76.Scheduler.service
|
||||
kcmshell5 kcm_kwin_scripts
|
||||
rm -rf /tmp/kwin-system76-scheduler-integration
|
||||
|
||||
enable-wallpaper-engine:
|
||||
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --single-branch /tmp/wallpaper-engine-kde-plugin
|
||||
plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin
|
||||
rm -rf /tmp/wallpaper-engine-kde-plugin
|
||||
|
||||
zram-on:
|
||||
#!/usr/bin/env bash
|
||||
KARGS=$(rpm-ostree kargs)
|
||||
if grep 'zram' <<< ${KARGS}; then
|
||||
rpm-ostree kargs --delete=zram
|
||||
echo 'ZRAM enabled. Please reboot.'
|
||||
else
|
||||
echo 'ZRAM is already enabled.'
|
||||
fi
|
||||
|
||||
zram-off:
|
||||
#!/usr/bin/env bash
|
||||
KARGS=$(rpm-ostree kargs)
|
||||
if grep -v 'zram' <<< ${KARGS}; then
|
||||
rpm-ostree kargs --append=zram=0
|
||||
echo 'ZRAM disabled. Please reboot.'
|
||||
else
|
||||
echo 'ZRAM is already disabled.'
|
||||
fi
|
||||
|
||||
resize-zram:
|
||||
#!/usr/bin/env bash
|
||||
CONFIG='/etc/systemd/zram-generator.conf'
|
||||
CURRENT_SIZE=$(cat "${CONFIG}" | sed 's/zram-size=//')
|
||||
echo 'Current size: '${CURRENT_SIZE}
|
||||
read -p 'Enter new size (512-4096) in megabytes (1024): ' NEW_SIZE
|
||||
if [ -z "${NEW_SIZE//[0-9]}" ]; then
|
||||
if [ -z "${NEW_SIZE}" ]; then
|
||||
NEW_SIZE=1024
|
||||
fi
|
||||
if ((${NEW_SIZE} >= 512 && ${NEW_SIZE} <= 4096)); then
|
||||
sudo sed -i 's/zram-size='${CURRENT_SIZE}'/zram-size='${NEW_SIZE}'/g' ${CONFIG}
|
||||
echo 'Current size: '${NEW_SIZE}'. Please reboot.'
|
||||
else
|
||||
echo 'Error: Input out of range (512-4096). Running again.'
|
||||
just resize-zram
|
||||
fi
|
||||
else
|
||||
echo 'Error: Input is not an integer. Running again.'
|
||||
just resize-zram
|
||||
fi
|
@ -1,41 +0,0 @@
|
||||
zram-on:
|
||||
#!/usr/bin/env bash
|
||||
KARGS=$(rpm-ostree kargs)
|
||||
if grep 'zram' <<< ${KARGS}; then
|
||||
rpm-ostree kargs --delete=zram
|
||||
echo 'ZRAM enabled. Please reboot.'
|
||||
else
|
||||
echo 'ZRAM is already enabled.'
|
||||
fi
|
||||
|
||||
zram-off:
|
||||
#!/usr/bin/env bash
|
||||
KARGS=$(rpm-ostree kargs)
|
||||
if grep -v 'zram' <<< ${KARGS}; then
|
||||
rpm-ostree kargs --append=zram=0
|
||||
echo 'ZRAM disabled. Please reboot.'
|
||||
else
|
||||
echo 'ZRAM is already disabled.'
|
||||
fi
|
||||
|
||||
resize-zram:
|
||||
#!/usr/bin/env bash
|
||||
CONFIG='/etc/systemd/zram-generator.conf'
|
||||
CURRENT_SIZE=$(cat "${CONFIG}" | sed 's/zram-size=//')
|
||||
echo 'Current size: '${CURRENT_SIZE}
|
||||
read -p 'Enter new size (512-4096) in megabytes (1024): ' NEW_SIZE
|
||||
if [ -z "${NEW_SIZE//[0-9]}" ]; then
|
||||
if [ -z "${NEW_SIZE}" ]; then
|
||||
NEW_SIZE=1024
|
||||
fi
|
||||
if ((${NEW_SIZE} >= 512 && ${NEW_SIZE} <= 4096)); then
|
||||
sudo sed -i 's/zram-size='${CURRENT_SIZE}'/zram-size='${NEW_SIZE}'/g' ${CONFIG}
|
||||
echo 'Current size: '${NEW_SIZE}'. Please reboot.'
|
||||
else
|
||||
echo 'Error: Input out of range (512-4096). Running again.'
|
||||
just resize-zram
|
||||
fi
|
||||
else
|
||||
echo 'Error: Input is not an integer. Running again.'
|
||||
just resize-zram
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user