# 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"