[oe] [PATCH] policykit: install missing PolicyKit.conf

Steve Sakoman sakoman at gmail.com
Tue Jul 28 13:05:10 UTC 2009


On Tue, Jul 28, 2009 at 12:36 AM, Koen Kooi<k.kooi at student.utwente.nl> wrote:
> I applied all three patches

Thanks Koen!

> I fixed those manually, could you next time try using git-format-patch and
> git-send-email? I use the following to send my patches using gmail:
> http://git.or.cz/gitwiki/GitTips#Usingmsmtptosendyourpatches

Sorry for the extra trouble.  I'll try your method next time.

Steve

> On 27-07-09 22:10, Steve Sakoman wrote:
>>
>> From: Steve Sakoman<steve at sakoman.com>
>> Date: Mon, 27 Jul 2009 19:38:05 +0000 (-0700)
>> Subject: policykit: install missing PolicyKit.conf
>> X-Git-Url:
>> http://www.sakoman.net/cgi-bin/gitweb.cgi?p=openembedded.git;a=commitdiff_plain;h=98b71f9ab5b8578b77bb45887e72681ce16a2910
>>
>> policykit: install missing PolicyKit.conf
>> ---
>>
>> diff --git a/recipes/policykit/policykit/PolicyKit.conf
>> b/recipes/policykit/policykit/PolicyKit.conf
>> new file mode 100644
>> index 0000000..ed502ac
>> --- /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 28cbb11..2a31701 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
>>  }
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list