diff options
Diffstat (limited to 'meta-oe/recipes-bsp/fwupd')
| -rw-r--r-- | meta-oe/recipes-bsp/fwupd/fwupd_1.9.24.bb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.24.bb b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.24.bb index 8b66084b77..15cde9f100 100644 --- a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.24.bb +++ b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.24.bb | |||
| @@ -14,7 +14,7 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" | |||
| 14 | # Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins | 14 | # Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins |
| 15 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 15 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 16 | 16 | ||
| 17 | inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages useradd | 17 | inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages |
| 18 | 18 | ||
| 19 | GIDOCGEN_MESON_OPTION = 'docs' | 19 | GIDOCGEN_MESON_OPTION = 'docs' |
| 20 | GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' | 20 | GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' |
| @@ -116,17 +116,6 @@ DISABLE_NON_X86:x86 = "" | |||
| 116 | DISABLE_NON_X86:x86-64 = "" | 116 | DISABLE_NON_X86:x86-64 = "" |
| 117 | PACKAGECONFIG:remove = "${DISABLE_NON_X86}" | 117 | PACKAGECONFIG:remove = "${DISABLE_NON_X86}" |
| 118 | 118 | ||
| 119 | USERADD_PACKAGES = "${PN}" | ||
| 120 | USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd" | ||
| 121 | |||
| 122 | do_install:append() { | ||
| 123 | if ${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'true', 'false', d)}; then | ||
| 124 | #Fix up permissions on polkit rules.d to work with rpm4 constraints | ||
| 125 | chmod 700 ${D}/${datadir}/polkit-1/rules.d | ||
| 126 | chown polkitd:root ${D}/${datadir}/polkit-1/rules.d | ||
| 127 | fi | ||
| 128 | } | ||
| 129 | |||
| 130 | FILES:${PN} += "${libdir}/fwupd-plugins-* \ | 119 | FILES:${PN} += "${libdir}/fwupd-plugins-* \ |
| 131 | ${libdir}/fwupd-${PV} \ | 120 | ${libdir}/fwupd-${PV} \ |
| 132 | ${systemd_unitdir} \ | 121 | ${systemd_unitdir} \ |
