dbus: remove obsolete cleanups

The removal of the Red Hat initscript has been redundant since 2017[1].

The test directory is not installed, so there's no need to remove it.

(From OE-Core rev: 904b6967ad4730ae32aad785d6b53ca3f5af2cd4)

Signed-off-by: Ross Burton <ross.burton@arm.com>

[1] dbus: 708a44d0 ("Remove distribution-specific init-scripts")

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2025-08-01 21:49:25 +01:00
committed by Richard Purdie
parent ab1c97e4e9
commit 752eca419d

View File

@@ -159,12 +159,6 @@ do_install:append:class-target() {
chmod 4755 ${D}${libexecdir}/dbus-daemon-launch-helper
fi
# Remove Red Hat initscript
rm -rf ${D}${sysconfdir}/rc.d
# Remove empty testexec directory as we don't build tests
rm -rf ${D}${libdir}/dbus-1.0/test
# Remove /run as it is created on startup
rm -rf ${D}${runtimedir}
}