mkosi/opensuse: do not try to package non-existent symlink to systemd-udevd-control.socket

This commit is contained in:
Yu Watanabe
2026-07-18 05:29:59 +09:00
parent 20ef89f646
commit 8e54afe8da
@@ -19,9 +19,12 @@ TS="${SOURCE_DATE_EPOCH:-$(date +%s)}"
# disable manpage compression as the files cannot be found. Fix the issue by removing the compression
# extension.
# TODO: remove autovt@ removal when the upstream spec is updated
# TODO: remove systemd-udevd-control.socket removal when the upstream spec is updated
while read -r filelist; do
sed -E \
-e '/autovt@/d' \
-e '/sockets\.target\.wants\/systemd-udevd-control\.socket/d' \
-e '/systemd-udevd-control\.socket\.8/d' \
-e 's/\.gz$//' \
"$filelist" >"/tmp/$(basename "$filelist")"
mount --bind "/tmp/$(basename "$filelist")" "$filelist"