feat: Kernel- und System-Tuning für Framework 13 AMD (kargs, sysctl, NM, WirePlumber, boltd)
This commit is contained in:
1 parent
e74daec653
commit
4a8cfae6d6
7 files changed
+120
-3
No files matched your search
+24
-1
@@ -114,18 +114,41 @@ RUN chmod 0644 /etc/containers/policy.json /etc/pki/containers/cosign.pub && \
|
||||
# ExecCondition-Zeilen liefen weiter (bewusst: kein Over-Override).
|
||||
COPY --chmod=0644 configs/bootc-timer-override.conf /usr/lib/systemd/system/bootc-fetch-apply-updates.timer.d/override.conf
|
||||
COPY --chmod=0644 configs/bootc-override.conf /usr/lib/systemd/system/bootc-fetch-apply-updates.service.d/override.conf
|
||||
# boltd (Thunderbolt): Framework-NHI-IDs fehlen in bolts Liste -> cosmetic
|
||||
# "unknown NHI PCI id"-Meldung. Log-Stufe auf warning begrenzen.
|
||||
COPY --chmod=0644 configs/systemd/system/boltd.service.d/log-level.conf /usr/lib/systemd/system/boltd.service.d/log-level.conf
|
||||
COPY --chmod=0644 configs/remount-fs-ostree-skip.conf /usr/lib/systemd/system/systemd-remount-fs.service.d/skip-on-ostree.conf
|
||||
# Drop-in-Verzeichnisse muessen ausfuehrbar (0755) sein, sonst kann systemd
|
||||
# die *.conf darin nicht lesen (COPY --chmod=0644 erzeugt sonst 0644-Dirs).
|
||||
# Die *.conf selbst duerfen NICHT world-writable sein (systemd warnt sonst
|
||||
# "Configuration file ... is marked world-writable" und ignoriert Werte).
|
||||
RUN chmod 0755 \
|
||||
/usr/lib/systemd/system/bootc-fetch-apply-updates.timer.d \
|
||||
/usr/lib/systemd/system/bootc-fetch-apply-updates.service.d \
|
||||
/usr/lib/systemd/system/systemd-remount-fs.service.d \
|
||||
/etc/pki/containers
|
||||
/usr/lib/systemd/system/boltd.service.d \
|
||||
/etc/pki/containers && \
|
||||
chmod 0644 \
|
||||
/usr/lib/systemd/system/bootc-fetch-apply-updates.timer.d/override.conf \
|
||||
/usr/lib/systemd/system/bootc-fetch-apply-updates.service.d/override.conf \
|
||||
/usr/lib/systemd/system/systemd-remount-fs.service.d/skip-on-ostree.conf \
|
||||
/usr/lib/systemd/system/boltd.service.d/log-level.conf \
|
||||
/usr/lib/sysctl.d/99-fluffy-pancake.conf \
|
||||
/usr/lib/NetworkManager/conf.d/99-wifi-powersave.conf \
|
||||
/usr/share/wireplumber/wireplumber.conf.d/99-suspend-timeout.conf
|
||||
|
||||
# 2b. Kernel-Args (Bootsplash + ABM-Default, Details in der Datei)
|
||||
COPY --chmod=0644 configs/kargs.toml /usr/lib/bootc/kargs.d/kargs.toml
|
||||
|
||||
# 2c. Sysctl-Tuning (SSD/NVMe-schonend, Details in der Datei)
|
||||
COPY --chmod=0644 configs/sysctl/99-fluffy-pancake.conf /usr/lib/sysctl.d/99-fluffy-pancake.conf
|
||||
|
||||
# NetworkManager: WiFi-Power-Save fuer AX210 (3 = enabled)
|
||||
COPY --chmod=0644 configs/NetworkManager/conf.d/99-wifi-powersave.conf /usr/lib/NetworkManager/conf.d/99-wifi-powersave.conf
|
||||
|
||||
# WirePlumber: Audio-Idle-Suspend 30 s statt 5 s
|
||||
COPY --chmod=0644 configs/wireplumber/wireplumber.conf.d/99-suspend-timeout.conf /usr/share/wireplumber/wireplumber.conf.d/99-suspend-timeout.conf
|
||||
|
||||
# 3. Kopiere die Session-Helfer und Desktop-Defaults
|
||||
COPY --chmod=755 scripts/notify-bootc-user.sh /usr/bin/
|
||||
COPY --chmod=755 scripts/kanshi-autoconfig /usr/bin/kanshi-autoconfig
|
||||
|
||||
Reference in new issue
Block a user