Compare commits

..

6 commits

Author SHA1 Message Date
Anders da Silva Rytter Hansen
b1d5222948 disable wifi power save
All checks were successful
os / build (push) Successful in 28m34s
2026-05-29 10:38:44 -03:00
Anders da Silva Rytter Hansen
3f79a99cfa use deep sleep
Some checks failed
os / build (push) Has been cancelled
2026-05-29 10:03:10 -03:00
Anders da Silva Rytter Hansen
a0ddc92d46 Upgrade Appimagelauncher
All checks were successful
os / build (push) Successful in 32m10s
2026-05-28 20:58:07 -03:00
Anders da Silva Rytter Hansen
d80f728962 replace sddm with sonic-login-manager
Some checks failed
os / build (push) Failing after 25m20s
2026-05-28 20:16:05 -03:00
Anders da Silva Rytter Hansen
bede8878ae Remove specific versions and add other needed packages 2026-05-28 20:14:47 -03:00
Anders da Silva Rytter Hansen
6d93d8e10e Update SonicDE for EL 10.2
All checks were successful
os / build (push) Successful in 43m52s
2026-05-28 16:08:56 -03:00

View file

@ -15,14 +15,29 @@ RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion-
RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/andersrh/sonicDE/repo/rhel+epel-10/andersrh-sonicDE-rhel+epel-10.repo -y RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/andersrh/sonicDE/repo/rhel+epel-10/andersrh-sonicDE-rhel+epel-10.repo -y
RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/xlibre/xlibre-xserver/repo/rhel+epel-10/group_xlibre-xlibre-xserver-rhel+epel-10.repo -y RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/xlibre/xlibre-xserver/repo/rhel+epel-10/group_xlibre-xlibre-xserver-rhel+epel-10.repo -y
RUN dnf config-manager --add-repo https://pc-rytteren.dk/forge/api/packages/anders/rpm.repo -y
# This may be necessary for the speakers and internal microphone # This may be necessary for the speakers and internal microphone
RUN dnf install -y alsa-sof-firmware RUN dnf install -y alsa-sof-firmware
RUN dnf install sonic-workspace-x11 sonic-win sonic-interface-libraries sonic-workspace --allowerasing -y RUN rpm -e --nodeps plasma-workspace-libs plasma-workspace libplasma \
kwin kwin-common kwin-libs kscreenlocker plasma-desktop sddm-wayland-plasma && \
dnf install --allowerasing --nogpgcheck -y \
sonic-workspace \
sonic-workspace-libs \
sonic-workspace-common \
sonic-workspace-x11 \
sonic-win \
sonic-desktop-interface \
sonic-interface-libraries
RUN dnf install --allowerasing --nogpgcheck -y sonic-keybind-daemon sonic-frameworks-windowsystem sonic-system-info sonic-screen sonic-screen-library sonic-sysguard-library
RUN dnf remove -y sddm && \
dnf install --allowerasing --nogpgcheck -y sonic-login-manager
RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver htop RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver htop
RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/download/v3.0.0-beta-3/appimagelauncher_3.0.0-beta-2-gha287.96cb937_x86_64.rpm
# Enable CachyOS repositories # Enable CachyOS repositories
RUN dnf copr enable bieszczaders/kernel-cachyos -y RUN dnf copr enable bieszczaders/kernel-cachyos -y
@ -34,24 +49,12 @@ RUN dnf install -y ${KERNEL} ${KERNEL}-devel-matched
RUN dnf remove -y kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra kernel-tools kernel-tools-libs RUN dnf remove -y kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra kernel-tools kernel-tools-libs
# Install Negativo17 Nvidia driver, waydroid and SELinux rules # Install Negativo17 Nvidia driver
# Dette kræver at du kører build med --privileged eller --cap-add SYS_ADMIN RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver
# eller bruger Buildah's RUN --mount feature
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver waydroid policycoreutils && \
mkdir -p /tmp/selinux-tmp && \
mount -t tmpfs tmpfs /tmp/selinux-tmp && \
mkdir -p /tmp/selinux-tmp/etc/selinux/targeted && \
cp -r /etc/selinux/targeted/* /tmp/selinux-tmp/etc/selinux/targeted/ && \
semodule -p /tmp/selinux-tmp/etc/selinux -B && \
semodule -p /tmp/selinux-tmp/etc/selinux -i /usr/share/selinux/targeted/waydroid.pp && \
semodule -p /tmp/selinux-tmp/etc/selinux -i /usr/share/selinux/packages/targeted/nvidia-driver.pp.bz2 && \
cp -a /tmp/selinux-tmp/etc/selinux/targeted/* /etc/selinux/targeted/ && \
umount /tmp/selinux-tmp
RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" ${KERNEL}) RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" ${KERNEL})
RUN dnf install -y scx-scheds RUN dnf install -y waydroid scx-scheds
# Remove plocate to avoid updatedb going crazy with scanning the file system once a day # Remove plocate to avoid updatedb going crazy with scanning the file system once a day
RUN dnf remove -y plocate RUN dnf remove -y plocate
@ -103,6 +106,9 @@ RUN dnf install https://github.com/trapexit/mergerfs/releases/download/2.41.1/me
RUN systemctl enable docker RUN systemctl enable docker
RUN systemctl enable scx_loader RUN systemctl enable scx_loader
RUN echo 'kargs = ["mem_sleep_default=deep"]' > /usr/lib/bootc/kargs.d/10-mem-sleep.toml
RUN printf '[connection]\nwifi.powersave=2\n' > /usr/lib/NetworkManager/conf.d/disable-wifi-powersave.conf
COPY etc /etc COPY etc /etc
COPY usr /usr COPY usr /usr