diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-12-19 18:02:19 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-19 13:56:59 -0800 |
| commit | b8c5044b395d91bc4b2ca6cdb8d087002f30a2c6 (patch) | |
| tree | 077bed1e03af46ba7f221503596c707365f37bbb | |
| parent | f317eb0d04e06016b0929a1429e70c02a7636b88 (diff) | |
| download | meta-openembedded-b8c5044b395d91bc4b2ca6cdb8d087002f30a2c6.tar.gz | |
gvfs: add user polkitd and missing depends
1. Since commit [664e550 gvfs: Fix build regression from uprev]
applied, it chmod polkitd but missed to useradd polkitd at do_rootfs
2. Add dbus to DEPENDS
...
| Run-time dependency dbus-1 found: NO (tried pkgconfig)
|
| meson.build:254:0: ERROR: Dependency "dbus-1" not found, tried pkgconfig
...
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/gvfs/gvfs_1.42.1.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.42.1.bb b/meta-gnome/recipes-gnome/gvfs/gvfs_1.42.1.bb index 6888eff8ca..e5d23b085d 100644 --- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.42.1.bb +++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.42.1.bb | |||
| @@ -3,9 +3,10 @@ LICENSE = "LGPLv2" | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=05df38dd77c35ec8431f212410a3329e" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=05df38dd77c35ec8431f212410a3329e" |
| 4 | 4 | ||
| 5 | GNOMEBASEBUILDCLASS = "meson" | 5 | GNOMEBASEBUILDCLASS = "meson" |
| 6 | inherit gnomebase gsettings bash-completion gettext upstream-version-is-even features_check | 6 | inherit gnomebase gsettings bash-completion gettext upstream-version-is-even features_check useradd |
| 7 | 7 | ||
| 8 | DEPENDS += "libsecret glib-2.0 glib-2.0-native libgudev shadow-native gsettings-desktop-schemas" | 8 | DEPENDS += "libsecret glib-2.0 glib-2.0-native libgudev shadow-native \ |
| 9 | gsettings-desktop-schemas dbus" | ||
| 9 | 10 | ||
| 10 | SRC_URI = "https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive" | 11 | SRC_URI = "https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive" |
| 11 | SRC_URI[archive.md5sum] = "93592535508322548d44fa036b635a0a" | 12 | SRC_URI[archive.md5sum] = "93592535508322548d44fa036b635a0a" |
| @@ -66,6 +67,9 @@ PACKAGECONFIG[fuse] = "-Dfuse=true, -Dfuse=false, fuse" | |||
| 66 | # libcdio-paranoia recipe doesn't exist yet | 67 | # libcdio-paranoia recipe doesn't exist yet |
| 67 | PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia" | 68 | PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia" |
| 68 | 69 | ||
| 70 | USERADD_PACKAGES = "${PN}" | ||
| 71 | USERADD_PARAM_${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/${BPN}-1 polkitd" | ||
| 72 | |||
| 69 | do_install_append() { | 73 | do_install_append() { |
| 70 | if ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'true', 'false', d)}; then | 74 | if ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'true', 'false', d)}; then |
| 71 | # Fix up permissions on polkit rules.d to work with rpm4 constraints | 75 | # Fix up permissions on polkit rules.d to work with rpm4 constraints |
