Patchwork [V2] libcgroup_0.37.1.bb: Add recipe

login
register
mail settings
Submitter Khem Raj
Date July 23, 2012, 8:56 p.m.
Message ID <1343076976-4307-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/32869/
State Accepted
Commit 6ef8e6f2f9b0583fa0881e0dfc52462405b21ede
Headers show

Comments

Khem Raj - July 23, 2012, 8:56 p.m.
This recipe is imported from meta-oe its a requirement for
systemd to work. Now that systemd is living in a layer of
its own. Lets have this recipe into core metadata

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/libcgroup/libcgroup_0.37.1.bb |   27 +++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-core/libcgroup/libcgroup_0.37.1.bb
Saul Wold - July 26, 2012, 7:21 p.m.
On 07/23/2012 01:56 PM, Khem Raj wrote:
> This recipe is imported from meta-oe its a requirement for
> systemd to work. Now that systemd is living in a layer of
> its own. Lets have this recipe into core metadata
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   meta/recipes-core/libcgroup/libcgroup_0.37.1.bb |   27 +++++++++++++++++++++++
>   1 files changed, 27 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-core/libcgroup/libcgroup_0.37.1.bb
>
> diff --git a/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb b/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb
> new file mode 100644
> index 0000000..a99d7ac
> --- /dev/null
> +++ b/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "Libcgroup"
> +SECTION = "libs"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
> +
> +PR = "r1"
> +
> +inherit autotools pkgconfig
> +
> +DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/project/libcg/${PN}/v${PV}/${PN}-${PV}.tar.bz2"
> +SRC_URI[md5sum] = "24a41b18de112e8d085bb1f7d9e82af7"
> +SRC_URI[sha256sum] = "0b08632de5d3641aa554b422d02a77d9367e57933328a8765204ad9588cd5c0d"
> +
> +EXTRA_OECONF = "${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes', '--enable-pam=no', d)}"
> +
> +# http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg21444.html
> +PARALLEL_MAKE = ""
> +
> +PACKAGES =+ "cgroups-pam-plugin"
> +FILES_cgroups-pam-plugin = "${base_libdir}/security/pam_cgroup.so*"
> +FILES_${PN}-dbg += "${base_libdir}/security/.debug"
> +FILES_${PN}-dev += "${base_libdir}/security/*.la"
> +
> +# We really need the symlink so :(
> +INSANE_SKIP_${PN} = "dev-so"
>

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb b/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb
new file mode 100644
index 0000000..a99d7ac
--- /dev/null
+++ b/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb
@@ -0,0 +1,27 @@ 
+DESCRIPTION = "Libcgroup"
+SECTION = "libs"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
+
+PR = "r1"
+
+inherit autotools pkgconfig
+
+DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/libcg/${PN}/v${PV}/${PN}-${PV}.tar.bz2"
+SRC_URI[md5sum] = "24a41b18de112e8d085bb1f7d9e82af7"
+SRC_URI[sha256sum] = "0b08632de5d3641aa554b422d02a77d9367e57933328a8765204ad9588cd5c0d"
+
+EXTRA_OECONF = "${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes', '--enable-pam=no', d)}"
+
+# http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg21444.html
+PARALLEL_MAKE = ""
+
+PACKAGES =+ "cgroups-pam-plugin"
+FILES_cgroups-pam-plugin = "${base_libdir}/security/pam_cgroup.so*"
+FILES_${PN}-dbg += "${base_libdir}/security/.debug"
+FILES_${PN}-dev += "${base_libdir}/security/*.la"
+
+# We really need the symlink so :(
+INSANE_SKIP_${PN} = "dev-so"