Skip to content

Commit

Permalink
chore: Move to symlinks for aw87559 firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Oct 28, 2024
1 parent af3a664 commit e3832fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
12 changes: 5 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 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
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

0 comments on commit e3832fe

Please sign in to comment.