Patchwork lvm2: New recipe

login
register
mail settings
Submitter Kim Bøndergaard
Date Aug. 29, 2013, 1:40 p.m.
Message ID <1377783653-29674-2-git-send-email-kibo@prevas.dk>
Download mbox | patch
Permalink /patch/270828/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Kim Bøndergaard - Aug. 29, 2013, 1:40 p.m.
---
 recipes/lvm2/lvm2_2.02.100.oe     | 35 +++++++++++++++++++++++++++++++++++
 recipes/lvm2/lvm2_2.02.100.oe.sig |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 recipes/lvm2/lvm2_2.02.100.oe
 create mode 100644 recipes/lvm2/lvm2_2.02.100.oe.sig
Esben Haabendal - Sept. 12, 2013, 8:40 p.m.
Kim Bøndergaard <kibo@prevas.dk> writes:

> ---
>  recipes/lvm2/lvm2_2.02.100.oe     | 35 +++++++++++++++++++++++++++++++++++
>  recipes/lvm2/lvm2_2.02.100.oe.sig |  1 +
>  2 files changed, 36 insertions(+)
>  create mode 100644 recipes/lvm2/lvm2_2.02.100.oe
>  create mode 100644 recipes/lvm2/lvm2_2.02.100.oe.sig

Merged to master, thanks.

/Esben

Patch

diff --git a/recipes/lvm2/lvm2_2.02.100.oe b/recipes/lvm2/lvm2_2.02.100.oe
new file mode 100644
index 0000000..5ed1a4f
--- /dev/null
+++ b/recipes/lvm2/lvm2_2.02.100.oe
@@ -0,0 +1,35 @@ 
+LICENSE = "GPL2 + LGPL-2.1"
+DESCRIPTION = "LVM2 refers to the userspace toolset that provide logical volume management facilities on linux"
+
+SRC_URI = "ftp://sources.redhat.com/pub/${PN}/LVM2.${PV}.tgz"
+
+inherit autotools auto-package-libs auto-package-utils pkgconfig
+
+S = "${SRCDIR}/LVM2.${PV}"
+
+
+AUTO_PACKAGE_UTILS = """
+	blkdeactivate
+	dmsetup
+	fsadm
+	lvmconf
+	lvmdump
+	vgimportclone
+	lvm
+"""
+
+FILES_${PN}-lvm += "${sbindir}"
+
+AUTO_PACKAGE_UTILS_RDEPENDS += "${PN}"
+RDEPENDS_${PN}-dmsetup += "libdevmapper"
+RDEPENDS_${PN}-lvm += "libdevmapper"
+
+PACKAGES += "${PN}-all"
+RDEPENDS_${PN}-all = """
+	${AUTO_PACKAGE_UTILS_PACKAGES} 
+	${LIBS_AUTO_RPACKAGES}
+"""
+
+AUTO_PACKAGE_LIBS = "devmapper"
+AUTO_PACKAGE_LIBS_DEV_DEPENDS = "${PN}-dev"
+	
diff --git a/recipes/lvm2/lvm2_2.02.100.oe.sig b/recipes/lvm2/lvm2_2.02.100.oe.sig
new file mode 100644
index 0000000..04f15ed
--- /dev/null
+++ b/recipes/lvm2/lvm2_2.02.100.oe.sig
@@ -0,0 +1 @@ 
+95a4478e4a19bba2c6eb8c36b08b310a96e3944b  LVM2.2.02.100.tgz