diff options
author | Jonathan Liu <net147@gmail.com> | 2013-07-06 12:17:26 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-08 10:35:58 +0200 |
commit | 77bc54f180eed8ce1ec2712e3c6aa00b2c7ac1b4 (patch) | |
tree | 25a70577da2471d5cfd970b63c170c8ce9813056 /meta-gnome | |
parent | 9ea2df5823f06f3d6600f014527222fdd80ab73b (diff) | |
download | meta-openembedded-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')
-rw-r--r-- | meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 3 |
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 da12ab838..04ecb1961 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() { | |||
60 | 60 | ||
61 | chown -R gdm:gdm ${D}${localstatedir}/lib/gdm | 61 | chown -R gdm:gdm ${D}${localstatedir}/lib/gdm |
62 | chmod 0750 ${D}${localstatedir}/lib/gdm | 62 | chmod 0750 ${D}${localstatedir}/lib/gdm |
63 | |||
64 | rm -rf "${D}${localstatedir}/run" | ||
65 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" | ||
63 | } | 66 | } |
64 | 67 | ||
65 | FILES_${PN} += "${datadir}/icon* \ | 68 | FILES_${PN} += "${datadir}/icon* \ |