aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/samba
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-23 14:07:36 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-23 14:01:41 +0100
commit39866861a66d62aada6c0dae07521aedb6fe2d35 (patch)
treead9b8ad3091395e74ca0092d83ca01a90b9225f2 /recipes-connectivity/samba
parentc9062a1ba1c7ba60f8c8a8aa69e2040ef65ec117 (diff)
downloadmeta-baryon-39866861a66d62aada6c0dae07521aedb6fe2d35.tar.gz
meta-baryon-39866861a66d62aada6c0dae07521aedb6fe2d35.tar.bz2
meta-baryon-39866861a66d62aada6c0dae07521aedb6fe2d35.zip
samba: fix QA error due to volatiles presence
Adapted from a meta-oe change by Jonathan Liu <net147@gmail.com>. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-connectivity/samba')
-rw-r--r--recipes-connectivity/samba/samba_3.6.8.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-connectivity/samba/samba_3.6.8.bb b/recipes-connectivity/samba/samba_3.6.8.bb
index 55bed1e..d2722a3 100644
--- a/recipes-connectivity/samba/samba_3.6.8.bb
+++ b/recipes-connectivity/samba/samba_3.6.8.bb
@@ -58,6 +58,12 @@ do_compile () {
base_do_compile
}
+do_install_append() {
+ rmdir "${D}${localstatedir}/lock"
+ rmdir "${D}${localstatedir}/run"
+ rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
+}
+
pkg_postinst_${PN} () {
if [ "x$D" != "x" ] ; then
exit 1