Patchwork [meta-fsl-ppc,13/39] qemu: Prevent QA warnings about /run

login
register
mail settings
Submitter ting.liu@freescale.com
Date July 2, 2014, 3:01 a.m.
Message ID <1404270108-3448-14-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/74601/
State Superseded
Headers show

Comments

ting.liu@freescale.com - July 2, 2014, 3:01 a.m.
From: Ting Liu <b28495@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 recipes-devtools/qemu/qemu_fslgit.bb |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/recipes-devtools/qemu/qemu_fslgit.bb b/recipes-devtools/qemu/qemu_fslgit.bb
index e76f350..30f27d6 100644
--- a/recipes-devtools/qemu/qemu_fslgit.bb
+++ b/recipes-devtools/qemu/qemu_fslgit.bb
@@ -35,6 +35,8 @@  do_install_prepend() {
 
 do_install_append() {
 	rm ${WORKDIR}/powerpc_rom.bin
+    # Prevent QA warnings about installed ${localstatedir}/run
+    if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi
 }
 
 INSANE_SKIP_${PN} += "dev-deps"