feat: feature partity with rpm

this symlink sets up the logic so the users who previously opted into
the now removed ai wallpaper get the proper replacement for it
This commit is contained in:
renner 2025-11-26 21:42:41 +01:00 committed by renner
parent ee63821297
commit 60f0cef0d4

View file

@ -1,6 +1,6 @@
FROM docker.io/library/alpine:latest@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 AS builder
RUN apk add --no-cache curl jq zstd tar
RUN apk add --no-cache curl jq zstd tar coreutils
ENV URL="https://api.github.com/repos/ublue-os/artwork/releases"
@ -15,8 +15,10 @@ RUN set -xeuo pipefail && \
mv kde/ /output/usr/share/backgrounds/aurora/ && \
cd /output/usr/share/backgrounds && \
for dir in aurora/*; do \
ln -s "../backgrounds/${dir}" ../wallpapers/; \
ln -sr "/output/usr/share/backgrounds/${dir}" /output/usr/share/wallpapers/; \
done && \
ln -sr /output/usr/share/backgrounds/aurora/aurowa-wallpaper-6/ /output/usr/share/backgrounds/aurora/aurora-wallpaper-1 && \
ln -sr /output/usr/share/backgrounds/aurora/aurora-wallpaper-1/ /output/usr/share/wallpapers/ && \
rm -rf /tmp/aurora-wallpapers.tar.zstd /tmp/aurora-wallpapers
FROM scratch AS ctx