feat: install bolt and enable bolt.service for Thunderbolt dock authorization
build.yml (push) Invalid workflow file
build.yml (push) Invalid workflow file
This commit is contained in:
1 parent
4a185d6e0a
commit
2f8bf49626
3 files changed
+10
-8
No files matched your search
+6
-5
@@ -91,9 +91,9 @@ RUN chmod 0644 /etc/containers/policy.json /etc/pki/containers/cosign.pub && \
|
|||||||
# --chmod=0644: schliesst world-writable Warnungen von systemd aus (0644 statt 0666 durch Checkout-umask)
|
# --chmod=0644: schliesst world-writable Warnungen von systemd aus (0644 statt 0666 durch Checkout-umask)
|
||||||
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-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
|
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 -> kosmetische
|
# bolt (Thunderbolt): Framework-NHI-IDs fehlen in bolts Liste -> kosmetische
|
||||||
# "unknown NHI PCI id"-Meldung. Log-Stufe auf warning begrenzen.
|
# "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/systemd/system/bolt.service.d/log-level.conf /usr/lib/systemd/system/bolt.service.d/log-level.conf
|
||||||
# systemd-remount-fs scheitert auf bootc/composefs deterministisch; die
|
# systemd-remount-fs scheitert auf bootc/composefs deterministisch; die
|
||||||
# Mounts kommen bereits mit den richtigen fstab-Optionen hoch.
|
# Mounts kommen bereits mit den richtigen fstab-Optionen hoch.
|
||||||
COPY --chmod=0644 configs/remount-fs-ostree-skip.conf /usr/lib/systemd/system/systemd-remount-fs.service.d/skip-on-ostree.conf
|
COPY --chmod=0644 configs/remount-fs-ostree-skip.conf /usr/lib/systemd/system/systemd-remount-fs.service.d/skip-on-ostree.conf
|
||||||
@@ -119,7 +119,7 @@ RUN install -d -m 0755 /usr/lib/bootc/kargs.d && \
|
|||||||
chmod 0755 \
|
chmod 0755 \
|
||||||
/usr/lib/systemd/system/bootc-fetch-apply-updates.timer.d \
|
/usr/lib/systemd/system/bootc-fetch-apply-updates.timer.d \
|
||||||
/usr/lib/systemd/system/bootc-fetch-apply-updates.service.d \
|
/usr/lib/systemd/system/bootc-fetch-apply-updates.service.d \
|
||||||
/usr/lib/systemd/system/boltd.service.d \
|
/usr/lib/systemd/system/bolt.service.d \
|
||||||
/usr/lib/systemd/system/systemd-remount-fs.service.d \
|
/usr/lib/systemd/system/systemd-remount-fs.service.d \
|
||||||
/usr/lib/bootc/kargs.d \
|
/usr/lib/bootc/kargs.d \
|
||||||
/usr/lib/sysctl.d \
|
/usr/lib/sysctl.d \
|
||||||
@@ -128,7 +128,7 @@ RUN install -d -m 0755 /usr/lib/bootc/kargs.d && \
|
|||||||
chmod 0644 \
|
chmod 0644 \
|
||||||
/usr/lib/systemd/system/bootc-fetch-apply-updates.timer.d/override.conf \
|
/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/bootc-fetch-apply-updates.service.d/override.conf \
|
||||||
/usr/lib/systemd/system/boltd.service.d/log-level.conf \
|
/usr/lib/systemd/system/bolt.service.d/log-level.conf \
|
||||||
/usr/lib/systemd/system/systemd-remount-fs.service.d/skip-on-ostree.conf \
|
/usr/lib/systemd/system/systemd-remount-fs.service.d/skip-on-ostree.conf \
|
||||||
/usr/lib/bootc/kargs.d/kargs.toml \
|
/usr/lib/bootc/kargs.d/kargs.toml \
|
||||||
/usr/lib/sysctl.d/99-fluffy-pancake.conf \
|
/usr/lib/sysctl.d/99-fluffy-pancake.conf \
|
||||||
@@ -152,7 +152,8 @@ RUN systemctl enable \
|
|||||||
# virtlogd.service \
|
# virtlogd.service \
|
||||||
podman.socket \
|
podman.socket \
|
||||||
bootc-fetch-apply-updates.timer \
|
bootc-fetch-apply-updates.timer \
|
||||||
flatpak-preinstall.service
|
flatpak-preinstall.service \
|
||||||
|
bolt.service
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# FINAL CLEANUP
|
# FINAL CLEANUP
|
||||||
|
|||||||
+3
-2
@@ -17,12 +17,13 @@ dnf5 install -y \
|
|||||||
fuse-libs \
|
fuse-libs \
|
||||||
fuse3 \
|
fuse3 \
|
||||||
jq \
|
jq \
|
||||||
libnotify
|
libnotify \
|
||||||
|
bolt
|
||||||
|
|
||||||
# Soft-Check: --skip-unavailable darf keine stillen Luecken reissen.
|
# Soft-Check: --skip-unavailable darf keine stillen Luecken reissen.
|
||||||
# Fehlende Pakete werden geloggt, brechen den Build aber nicht ab
|
# Fehlende Pakete werden geloggt, brechen den Build aber nicht ab
|
||||||
# (bewusste Toleranz fuer Umbenennungen/Repo-Hickups).
|
# (bewusste Toleranz fuer Umbenennungen/Repo-Hickups).
|
||||||
for pkg in distrobox toolbox libva-utils micro fuse fuse-libs fuse3 jq libnotify; do
|
for pkg in distrobox toolbox libva-utils micro fuse fuse-libs fuse3 jq libnotify bolt; do
|
||||||
if ! rpm -q "${pkg}" >/dev/null 2>&1; then
|
if ! rpm -q "${pkg}" >/dev/null 2>&1; then
|
||||||
echo "WARN: ${pkg} nicht installiert (Repo-/Umbenennungsproblem?)" >&2
|
echo "WARN: ${pkg} nicht installiert (Repo-/Umbenennungsproblem?)" >&2
|
||||||
fi
|
fi
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
[Service]
|
[Service]
|
||||||
# boltd meldet "failed to determine if uid is stable: unknown NHI PCI id"
|
# bolt (boltd) meldet "failed to determine if uid is stable: unknown NHI PCI id"
|
||||||
# fuer Frameworks Pink-Sardine-USB4-Controller (0x1668/0x1669), weil diese
|
# fuer Frameworks Pink-Sardine-USB4-Controller (0x1668/0x1669), weil diese
|
||||||
# IDs in bolts interner NHI-Liste fehlen. Funktionell irrelevant: bei
|
# IDs in bolts interner NHI-Liste fehlen. Funktionell irrelevant: bei
|
||||||
# aktivem IOMMU werden Geraete automatisch mit iommu-Policy enrolled und
|
# aktivem IOMMU werden Geraete automatisch mit iommu-Policy enrolled und
|
||||||
Reference in new issue
Block a user