mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
gvfs: fix polkit homedir
- remove double slashes
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c6168d98ed)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
committed by
Gyorgy Sarvari
parent
77a5621e44
commit
d925fda759
@@ -77,13 +77,13 @@ PACKAGECONFIG[fuse] = "-Dfuse=true, -Dfuse=false, fuse3"
|
|||||||
PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
|
PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
|
||||||
|
|
||||||
USERADD_PACKAGES = "${PN}"
|
USERADD_PACKAGES = "${PN}"
|
||||||
USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/${BPN}-1 polkitd"
|
USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd"
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'true', 'false', d)}; then
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'true', 'false', d)}; then
|
||||||
# Fix up permissions on polkit rules.d to work with rpm4 constraints
|
# Fix up permissions on polkit rules.d to work with rpm4 constraints
|
||||||
chmod 700 ${D}/${datadir}/polkit-1/rules.d
|
chmod 700 ${D}${datadir}/polkit-1/rules.d
|
||||||
chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
|
chown polkitd:root ${D}${datadir}/polkit-1/rules.d
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# After rebuilds (not from scracth) it can happen that the executables in
|
# After rebuilds (not from scracth) it can happen that the executables in
|
||||||
|
|||||||
Reference in New Issue
Block a user