diff options
author | Steve Sakoman <sakoman@gmail.com> | 2009-07-28 09:30:57 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-07-28 09:30:57 +0200 |
commit | a1adb7f8b667756434bfe5082b28fb90ad4205a6 (patch) | |
tree | 62fc652c63b18cc743b1f846cfe11f6e29247890 /recipes | |
parent | 72e8a6c97b3ee65d97cf566a159fb8557dc6f934 (diff) |
policykit: install missing PolicyKit.conf
Diffstat (limited to 'recipes')
-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 } |