aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-07-06 12:17:26 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-07-08 10:35:58 +0200
commit77bc54f180eed8ce1ec2712e3c6aa00b2c7ac1b4 (patch)
tree25a70577da2471d5cfd970b63c170c8ce9813056 /meta-gnome/recipes-gnome
parent9ea2df5823f06f3d6600f014527222fdd80ab73b (diff)
downloadmeta-openembedded-contrib-77bc54f180eed8ce1ec2712e3c6aa00b2c7ac1b4.tar.gz
gdm: remove /var/run from package
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> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb3
1 files changed, 3 insertions, 0 deletions
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 da12ab8388..04ecb19615 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* \