summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-11-10 22:35:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:10 +0000
commit0069c0d3a3d3de20330947aecbd640f0f1d2f281 (patch)
tree9060cfc3d5c496561b3b294cf6812f4fc3955950 /meta/recipes-core/systemd
parentcd1f2b451db03601f0464098950a895155794465 (diff)
downloadpoky-0069c0d3a3d3de20330947aecbd640f0f1d2f281.tar.gz
systemd: drop unneeded $D check in prerm
(From OE-Core rev: 2bfc772425893ed5674eef76174be6e4b0b5cfd7) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_225.bb6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb
index 0e89d221a8..428158a15a 100644
--- a/meta/recipes-core/systemd/systemd_225.bb
+++ b/meta/recipes-core/systemd/systemd_225.bb
@@ -418,11 +418,7 @@ pkg_postinst_udev-hwdb () {
418} 418}
419 419
420pkg_prerm_udev-hwdb () { 420pkg_prerm_udev-hwdb () {
421 if test -n "$D"; then 421 rm -f $D${sysconfdir}/udev/hwdb.bin
422 exit 1
423 fi
424
425 rm -f ${sysconfdir}/udev/hwdb.bin
426} 422}
427 423
428# As this recipe builds udev, respect systemd being in DISTRO_FEATURES so 424# As this recipe builds udev, respect systemd being in DISTRO_FEATURES so