mkosi: hack SUSE spec to remove bin/sd-sysupdate
This commit is contained in:
@@ -20,11 +20,13 @@ TS="${SOURCE_DATE_EPOCH:-$(date +%s)}"
|
||||
# extension.
|
||||
# TODO: remove autovt@ removal when the upstream spec is updated
|
||||
# TODO: remove systemd-udevd-control.socket removal when the upstream spec is updated
|
||||
# TODO: remove systemd-sysupdate 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 '/^%\{_bindir\}\/systemd-sysupdate$/d' \
|
||||
-e 's/\.gz$//' \
|
||||
"$filelist" >"/tmp/$(basename "$filelist")"
|
||||
mount --bind "/tmp/$(basename "$filelist")" "$filelist"
|
||||
|
||||
Reference in New Issue
Block a user