diff options
-rw-r--r-- | recipes/policykit/policykit/PolicyKit.conf | 13 | ||||
-rw-r--r-- | recipes/policykit/policykit_0.9.bb | 10 |
2 files changed, 21 insertions, 2 deletions
diff --git a/recipes/policykit/policykit/PolicyKit.conf b/recipes/policykit/policykit/PolicyKit.conf new file mode 100644 index 0000000000..ed502ac328 --- /dev/null +++ b/recipes/policykit/policykit/PolicyKit.conf @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> + +<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" +"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> + +<!-- See the manual page PolicyKit.conf(5) for file format --> + +<config version="0.1"> + <match user="root"> + <return result="yes"/> + </match> + <define_admin_auth group="admin"/> +</config> diff --git a/recipes/policykit/policykit_0.9.bb b/recipes/policykit/policykit_0.9.bb index 28cbb11a9e..2a31701fc3 100644 --- a/recipes/policykit/policykit_0.9.bb +++ b/recipes/policykit/policykit_0.9.bb @@ -1,9 +1,11 @@ HOMEPAGE = "http://www.packagekit.org/" DEPENDS = "libpam expat dbus-glib" -PR = "r4" +PR = "r5" -SRC_URI = "http://hal.freedesktop.org/releases/PolicyKit-${PV}.tar.gz" +SRC_URI = "http://hal.freedesktop.org/releases/PolicyKit-${PV}.tar.gz \ + file://PolicyKit.conf \ + " EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc" @@ -11,6 +13,10 @@ S = "${WORKDIR}/PolicyKit-${PV}" inherit autotools pkgconfig +do_install_append () { + install -m 0644 ${WORKDIR}/PolicyKit.conf ${D}${sysconfdir}/PolicyKit/PolicyKit.conf +} + do_stage() { autotools_stage_all } |