From 96b16915ea7dd55e918ab086325645eda08cd654 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Wed, 3 Apr 2024 20:39:29 +0200 Subject: [PATCH] - more directories to trigger systemd excludes --- builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.sh b/builder.sh index 587d275..a6eb3d7 100755 --- a/builder.sh +++ b/builder.sh @@ -1688,7 +1688,7 @@ build_package() { local specdir=$(insert_gitlog $SPECFILE) ulimit -c unlimited # If required exclude directories with systemd related files from package contents - if grep -q -E '(lib/(systemd|tmpfiles.d)|systemd(unitdir|userunitdir|tmpfilesdir))' $specdir/$SPECFILE; then + if grep -q -E '(lib/(systemd|binfmt.d|sysctl.d|sysusers.d|tmpfiles.d)|systemd(unitdir|userunitdir|tmpfilesdir))' $specdir/$SPECFILE; then sed -i -e '/^%exclude_systemd_files/d; /^%files/s/$/\n%exclude_systemd_files/g;' $specdir/$SPECFILE fi # Enable/disable distro wide bconds based on ~/.distbcond -- 2.46.0