mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
9ea2df5823
commit
77bc54f180
@@ -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* \
|
||||
|
||||
Reference in New Issue
Block a user