Skip to content

Commit

Permalink
Merge pull request #14 from ublue-os/main
Browse files Browse the repository at this point in the history
[pull] main from ublue-os:main
  • Loading branch information
pull[bot] authored Oct 28, 2024
2 parents 45d9867 + ee5be99 commit 29cf604
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
is_latest_version: true
is_stable_version: true
kernel_flavor: bazzite # must match a kernel_flavor from akmods repo
kernel_version: 6.11.5-304.bazzite.fc41.x86_64 # must match a cached version of the above flavor
kernel_version: 6.11.5-306.bazzite.fc41.x86_64 # must match a cached version of the above flavor
exclude:
- base_name: bazzite
target_nvidia_flavor: nvidia
Expand Down Expand Up @@ -408,6 +408,8 @@ jobs:
registry: ${{ steps.registry_case.outputs.lowercase }}
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASSWORD }}
extra-args: |
--compression-format=zstd:chunked
- name: Sign container image
uses: EyeCantCU/cosign-action/[email protected]
Expand Down
13 changes: 6 additions & 7 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,11 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \
mv -vf /tmp/linux-firmware-galileo/* /usr/lib/firmware/qca/ && \
rm -rf /tmp/linux-firmware-galileo && \
rm -rf /usr/share/alsa/ucm2/conf.d/acp5x/Valve-Jupiter-1.conf && \
mkdir -p /tmp/aw87559 && \
mkdir -p /usr/lib/firmware/aw87559 && \
curl -Lo /tmp/aw87559/aw87xxx_acf.bin https://github.com/orangepi-xunlong/firmware/raw/refs/heads/master/aw87xxx_acf.bin && \
xz --check=crc32 /tmp/aw87559/aw87xxx_acf.bin && \
mv -vf /tmp/aw87559/aw87xxx_acf.bin.xz /usr/lib/firmware/aw87559/aw87xxx_acf.bin.xz && \
ln -s /usr/lib/firmware/aw87559/aw87xxx_acf.bin.xz /usr/lib/firmware/aw87xxx_acf.bin.xz && \
rm -rf /tmp/aw87559 && \
ln -s /usr/local/lib/firmware/aw87xxx_acf.bin /usr/lib/firmware/aw87xxx_acf.bin && \
ln -s /usr/local/lib/firmware/aw87xxx_acf_air1s.bin /usr/lib/firmware/aw87xxx_acf_air1s.bin && \
ln -s /usr/local/lib/firmware/aw87xxx_acf_kun.bin /usr/lib/firmware/aw87xxx_acf_kun.bin && \
ln -s /usr/local/lib/firmware/aw87xxx_acf_minipro.bin /usr/lib/firmware/aw87xxx_acf_minipro.bin && \
ln -s /usr/local/lib/firmware/aw87xxx_acf_orangepi.bin /usr/lib/firmware/aw87xxx_acf_orangepi.bin && \
if [[ "${IMAGE_FLAVOR}" =~ "asus" ]]; then \
curl -Lo /etc/yum.repos.d/_copr_lukenukem-asus-linux.repo https://copr.fedorainfracloud.org/coprs/lukenukem/asus-linux/repo/fedora-$(rpm -E %fedora)/lukenukem-asus-linux-fedora-$(rpm -E %fedora).repo && \
rpm-ostree install \
Expand Down Expand Up @@ -388,6 +386,7 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \
udica \
ladspa-caps-plugins \
ladspa-noise-suppression-for-voice \
pipewire-module-filter-chain-sofa \
python3-icoextract \
tailscale \
webapp-manager \
Expand Down
5 changes: 1 addition & 4 deletions system_files/deck/shared/usr/bin/steamos-update
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ done


if command -v ublue-update > /dev/null; then
if [ ! -f '/etc/gamemode-update-check' ]; then
touch /etc/gamemode-update-check
exit 7 # Skip the first update to simplify new installs.
elif [ -n "${CHECK}" ]; then
if [ -n "${CHECK}" ]; then
if [ -f '/tmp/upgrade-installed' ]; then
exit 7 # Upgrade already installed
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,18 @@ enable-ryzenadj-max-performance:
echo 'installation complete. Reboot to take effect'

# toggles password prompt feedback in terminal, where sudo password prompts will display asterisks when enabled
toggle-password-feedback:
toggle-password-feedback ACTION="":
#!/usr/bin/bash
PWFEEDBACK_FILE="/etc/sudoers.d/enable-pwfeedback"
if sudo test -f $PWFEEDBACK_FILE; then
OPTION={{ ACTION }}

if [ "$OPTION" = "on" ]; then
echo 'Defaults pwfeedback' | sudo tee $PWFEEDBACK_FILE
echo "enabled, restart terminal to see changes"
elif [ "$OPTION" = "off" ]; then
sudo rm -f $PWFEEDBACK_FILE
echo "disabled pwfeedback. restart your terminal to see changes"
elif sudo test -f $PWFEEDBACK_FILE; then
sudo rm -f $PWFEEDBACK_FILE
echo "disabled pwfeedback. restart your terminal to see changes"
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ setup-virtualization ACTION="":
fi
echo "$(Urllink "https://looking-glass.io/docs/rc/ivshmem_kvmfr/#libvirt" "This module") along with $(Urllink "https://looking-glass.io" "Looking Glass") is very experimental and not recommended for production use!"
echo "The ublue team packages the kvmfr module only because it has to be supplied with the system image while using an atomic desktop."
echo "If you do plan to use Looking Glass, please $(Urllink "https://universal-blue.discourse.group/docs?topic=956" "follow the guide here") on how to compile it for your system."
echo "If you do plan to use Looking Glass, please $(Urllink "https://docs.bazzite.gg/Advanced/looking-glass/" "follow the guide here") on how to compile it for your system."
echo "To use the kvmfr module after enabling it, just add and edit the xml for libvirt from the documentation in the first link."
echo "Since we package the kvmfr module please open kvmfr related issues you have on Bazzite"
echo "in the $(Urllink "https://discord.bazzite.gg/" "Bazzite Discord") or the $(Urllink "https://github.com/ublue-os/bazzite/issues" "Bazzite Github issue tracker")."
Expand Down

0 comments on commit 29cf604

Please sign in to comment.