hiawatha: fix the installation failure due to no /var/run dir

after cmake is upgrade to 3.2.2, the /var/run dir is not created, so
not need to remove it.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Roy Li 2015-07-02 15:02:14 +08:00 committed by Martin Jansa
parent 74de7be5a4
commit d6167bd029

View File

@ -53,7 +53,6 @@ do_install_append() {
install -m 644 ${WORKDIR}/hiawatha.service ${D}/${systemd_unitdir}/system
fi
rmdir "${D}${localstatedir}/run"
rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
}