Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH] gdm: remove /var/run from package
@ 2013-07-06 12:17 Jonathan Liu
  0 siblings, 0 replies; only message in thread
From: Jonathan Liu @ 2013-07-06 12:17 UTC (permalink / raw)
  To: openembedded-devel

The /var/run/gdm and /var/run/gdm/greeter directories are created by
the daemon if they don't exist. The /var/run directory is already
created by base-files.

Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
index da12ab8..04ecb19 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
@@ -60,6 +60,9 @@ do_install_append() {
 
     chown -R gdm:gdm ${D}${localstatedir}/lib/gdm
     chmod 0750 ${D}${localstatedir}/lib/gdm
+
+    rm -rf "${D}${localstatedir}/run"
+    rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
 }
 
 FILES_${PN} += "${datadir}/icon* \
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-06 12:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-06 12:17 [meta-oe][PATCH] gdm: remove /var/run from package Jonathan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox