drbd-utils: fix file conflict with base-files

drbd-utils installs directory /var/run but is a link file installed by
package base-files. Remove /var/run to fix the file conflict issue.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang 2019-04-17 02:13:12 -04:00 committed by Khem Raj
parent ab8911fd0a
commit 5494c6a5c8

View File

@ -47,8 +47,9 @@ do_configure_prepend() {
}
do_install_append() {
# don't install empty /var/lock to avoid conflict with base-files
# don't install empty /var/lock and /var/run to avoid conflict with base-files
rm -rf ${D}${localstatedir}/lock
rm -rf ${D}${localstatedir}/run
}
RDEPENDS_${PN} += "bash perl-module-getopt-long perl-module-exporter perl-module-constant perl-module-overloading perl-module-exporter-heavy"