mkosi/opensuse: do not try to package non-existent symlink to systemd-udevd-control.socket
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user