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

Koen Kooi k.kooi at student.utwente.nl
Tue Jul 28 07:36:59 UTC 2009


I applied all three patches, but I noticed some problems:

* patch 3 was linewrapped
* patchwork hates the gitweb-export-pasted-into-gmail and duplicated 
descriptions

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

regards,

Koen


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
>   }






More information about the Openembedded-devel mailing list