mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
cd1f2b451d
commit
0069c0d3a3
@@ -418,11 +418,7 @@ pkg_postinst_udev-hwdb () {
|
||||
}
|
||||
|
||||
pkg_prerm_udev-hwdb () {
|
||||
if test -n "$D"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f ${sysconfdir}/udev/hwdb.bin
|
||||
rm -f $D${sysconfdir}/udev/hwdb.bin
|
||||
}
|
||||
|
||||
# As this recipe builds udev, respect systemd being in DISTRO_FEATURES so
|
||||
|
||||
Reference in New Issue
Block a user