summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-oe/recipes-support/lvm2
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-09-01 22:16:57 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-09-01 22:17:10 +0300
commit0f291cce3faf2fd387c0db8f04bd2f9f4187f6df (patch)
treefd9642af54c93d167257fc64a83fd6b13e4797a2 /meta-openembedded/meta-oe/recipes-support/lvm2
parentcb8d89a37dfb6211c4918867949f0f8cc4bf6bf4 (diff)
downloadopenbmc-0f291cce3faf2fd387c0db8f04bd2f9f4187f6df.tar.xz
meta-openembedded: subtree update:1e8bc46e55..6a5d6bc9ad
Aaltonen Eero (1): Recipe for docopt.cpp option parsing library Aaron Chan (1): python3-pyatspi: Add Dbus ATSPI recipe Adrian Bunk (11): xmlsec1: Import from meta-security libgit2: Upgrade 0.27.9 -> 0.28.3 libenv-perl: Import from meta-security libgit2: Don't pass parameters with their default values to cmake Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with COMPATIBLE_HOST_libc-musl = 'null' libwebsockets: Fix the build with -Os mimic: Fix the build with -Os Adapt to the lsb -> lsb-release change in OE-core meta-oe: Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with COMPATIBLE_HOST_libc-musl = 'null' Remove LICENSE = "MIT" from packagegroups and images Remove bogus COMMON_LICENSE_DIR usage in LIC_FILES_CHKSUM Andreas Müller (4): cmark: initial add 0.29.0 libsigc++-2.0: upgrade 2.10.1 -> 2.10.2 glibmm: upgrade 2.58.1 -> 2.60.0 evolution-data-server: remove unused gconf dep and pythonnative dep Anuj Mittal (2): pugixml: add recipe vlc: don't look at host headers for live555 Bruce Ashfield (1): dnsmasq: fix build against 5.2 headers Callaghan, Dan (1): python3-pystemd: add new recipe Changqing Li (3): xfsprogs: support usrmerge ntfs-3g-ntfsprogs: support usrmerge grubby: support usrmerge Chris Laplante (1): breakpad: fix patch striplevel to avoid 'devtool modify breakpad' error Christophe PRIOUZEAU (1): python-script: update license md5sum Gianfranco Costamagna (2): libmodbus: update version to 3.1.6 ifmetric: add initial recipe based on Debian packaging and patches Hongxu Jia (4): libdevmapper/lvm2: force recipe libdevmapper to populate sysroot only multipath-tools: lvm2 to DEPENDS cryptsetup: add libdevmapper to RDEPENDS cryptsetup: add libdevmapper to RDEPENDS Kai Kang (1): xfce4-datetime-setter: fix compile error and requires distro feature x11 Khem Raj (14): libgpiod: nherit python3native unconditionally kernel-selftest: Warn conditionally about clang-native dependency docopt.cpp: Drop using gitpkgv libnss-nisplus: Fix build with glibc >= 2.30 bpftool.bb: Disable SECURITY_CFLAGS kernel-selftest: Explicitly disable stack protector ncmpc: Update to 0.34 websocketpp_0.8.1.bb: Fix build with asio from boost 1.70+ can-utils: Fix build with kernel headers >= 5.2 android-tools: update license md5sum for BSD-2-Clause can-isotp: Update to latest tip linux-atm: Fix build with kernel headers 5.2+ drbd: Upgrade to 9.0.19-1 ssiapi: Upgrade to 1.3.0 Klauer, Daniel (1): sjf2410-linux-native: Fix do_deploy sstate caching Oleksandr Kravchuk (1): nftables: update to 0.9.2 Piotr Tworek (18): libmxml: Use autotools bbclass and cleanup the recipe a bit. evolution-data-server: Update to version 3.32.4 evolution-data-server: Drop x11 as required distro feature. evolution-data-server: Inherit upstream-version-is-even bbclass. evolution-data-server: Add dedicated packages for libebook-contacts. evolution-data-server: Specify SYSCONF_INSTALL_DIR in EXTRA_OECMAKE. evolution-data-server: Drop bits related to autotools evolution-data-server: Add PACKAGECONFIGs for oauth2 and kerberos. evolution-data-server: Drop ENABLE_UOA from EXTRA_OECMAKE. evolution-data-server: Drop glade file references. evolution-data-server: Fix package gobject-introspection support. evolution-data-server: Add PACKAGECONFIG for vala bindings. evolution-data-server: Turn goa support into PACKAGECONFIG feature. evolution-data-server: Add weather PACKAGECONFIG feature. evolution-data-server: Add PACKAGECONFIG entry for phonenumber. evolution-data-server: Use SRC_URI provided by gnomebase. evolution-data-server: Remove unused FILES paterns. evolution-data-server: Don't use explicit version number for libebook Qi.Chen@windriver.com (1): libblockdev: fix PACKAGECONFIG regarding python Robert Yang (1): netcf: Fix Manifest not found issue Yi Zhao (1): samba: upgrade 4.10.6 -> 4.10.7 Yuan Chao (11): python-typing: upgrade 3.7.4 -> 3.7.4.1 python-twisted: upgrade 19.2.1 -> 19.7.0 python-jsonschema: upgrade 2.6.0 -> 3.0.2 kpatch: upgrade 0.7.1 -> 0.8.0 libtdb: upgrade 1.4.1 -> 1.4.2 python-paste: upgrade 3.1.0 -> 3.1.1 python-pip: upgrade 19.2.2 -> 19.2.3 python-pytest: upgrade 3.4.2 -> 5.1.1 python3-xxhash: upgrade 1.3.0 -> 1.4.1 python-pluggy: upgrade 0.6.0 -> 0.12.0 python-cmd2: upgrade 0.9.2 -> 0.9.16 Zang Ruochen (3): python-futures: upgrade 3.2.0 -> 3.3.0 python-pyyaml: upgrade 3.13 -> 5.1.2 python-alembic: upgrade 1.0.11 -> 1.1.0 Change-Id: I3b55c2efba09c26e31018ee2cbbc908f06630c7c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-support/lvm2')
-rw-r--r--meta-openembedded/meta-oe/recipes-support/lvm2/libdevmapper_2.03.02.bb6
-rw-r--r--meta-openembedded/meta-oe/recipes-support/lvm2/lvm2/0001-explicitly-do-not-install-libdm.patch65
-rw-r--r--meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb18
3 files changed, 22 insertions, 67 deletions
diff --git a/meta-openembedded/meta-oe/recipes-support/lvm2/libdevmapper_2.03.02.bb b/meta-openembedded/meta-oe/recipes-support/lvm2/libdevmapper_2.03.02.bb
index 2c4febbe0..32bc13d1b 100644
--- a/meta-openembedded/meta-oe/recipes-support/lvm2/libdevmapper_2.03.02.bb
+++ b/meta-openembedded/meta-oe/recipes-support/lvm2/libdevmapper_2.03.02.bb
@@ -1,3 +1,6 @@
+# Break circular dependencies, only populate sysroot (header,
+# libraries) to other recipe for compiling, recipe lvm2
+# generates package libdevmapper
require lvm2.inc
SRCREV = "913c28917e62577a2ef67152b2e5159237503dda"
@@ -10,6 +13,7 @@ do_install() {
oe_runmake 'DESTDIR=${D}' -C libdm install
}
-RRECOMMENDS_${PN}_append_class-target = " lvm2-udevrules"
+# Do not generate package libdevmapper
+PACKAGES = ""
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2/0001-explicitly-do-not-install-libdm.patch b/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2/0001-explicitly-do-not-install-libdm.patch
deleted file mode 100644
index 24160b405..000000000
--- a/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2/0001-explicitly-do-not-install-libdm.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 3c16d9aaa46602e7594d717d86e7f02066d21134 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Mon, 26 Nov 2018 17:20:20 +0800
-Subject: [PATCH] explicitly do not install libdm
-
-Already have package libdevmapper which split from lvm2,
-explicitly do not do the installation here.
-
-Upstream-Status: Inappropriate [meta-oe specific]
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
-
-Update context for lvm2 2.03.02.
-
-Signed-off-by: Kai Kang <kai.kang@windriver.com>
----
- libdm/Makefile.in | 6 ++++--
- libdm/dm-tools/Makefile.in | 6 ++++--
- 2 files changed, 8 insertions(+), 4 deletions(-)
-
-diff --git a/libdm/Makefile.in b/libdm/Makefile.in
-index e9bb5ae..4e9ae3f 100644
---- a/libdm/Makefile.in
-+++ b/libdm/Makefile.in
-@@ -82,9 +82,11 @@ ifeq ("@PKGCONFIG@", "yes")
- INSTALL_TYPE += install_pkgconfig
- endif
-
--install: $(INSTALL_TYPE) install_include
-+install:
-+ echo "Do not install device mapper in lvm2"
-
--install_device-mapper: install
-+install_device-mapper:
-+ echo "Do not install device mapper in lvm2"
-
- install_include: $(srcdir)/libdevmapper.h
- @echo " [INSTALL] $<"
-diff --git a/libdm/dm-tools/Makefile.in b/libdm/dm-tools/Makefile.in
-index 15a9d8e..65e1306 100644
---- a/libdm/dm-tools/Makefile.in
-+++ b/libdm/dm-tools/Makefile.in
-@@ -20,7 +20,8 @@ all: device-mapper
-
- SOURCES2 = dmsetup.c
- TARGETS_DM = dmsetup
--install_device-mapper: install_dmsetup_dynamic
-+install_device-mapper:
-+ echo "Do not install device mapper in lvm2"
-
- ifeq ("@STATIC_LINK@", "yes")
- TARGETS_DM += dmsetup.static
-@@ -93,6 +94,7 @@ install_dmfilemapd_static: dmfilemapd.static
- .PHONY: install_dmsetup_dynamic install_dmsetup_static
- .PHONY: install_dmfilemapd install_dmfilemapd_static
-
--install: install_device-mapper install_dmfilemapd
-+install:
-+ echo "Do not install device mapper in lvm2"
-
- device-mapper: $(TARGETS_DM)
---
-2.7.4
-
diff --git a/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb b/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
index 9922ef79d..785c6960e 100644
--- a/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
+++ b/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
@@ -2,7 +2,7 @@ require lvm2.inc
SRCREV = "913c28917e62577a2ef67152b2e5159237503dda"
-SRC_URI += "file://0001-explicitly-do-not-install-libdm.patch \
+SRC_URI += " \
file://0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch \
"
@@ -46,6 +46,13 @@ LVM2_PACKAGECONFIG_append_class-target = " \
"
PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev"
+PACKAGES =+ "libdevmapper"
+FILES_libdevmapper = " \
+ ${libdir}/libdevmapper.so.* \
+ ${sbindir}/dmsetup \
+ ${sbindir}/dmstats \
+"
+
FILES_${PN} += "${libdir}/device-mapper/*.so"
FILES_${PN}-scripts = " \
${sbindir}/blkdeactivate \
@@ -65,4 +72,13 @@ RRECOMMENDS_${PN}_class-target = "${PN}-scripts (= ${EXTENDPKGV})"
CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf"
+SYSROOT_PREPROCESS_FUNCS_append = " remove_libdevmapper_sysroot_preprocess"
+remove_libdevmapper_sysroot_preprocess() {
+ rm -f ${SYSROOT_DESTDIR}${libdir}/libdevmapper.so* \
+ ${SYSROOT_DESTDIR}${sbindir}/dmsetup \
+ ${SYSROOT_DESTDIR}${sbindir}/dmstats \
+ ${SYSROOT_DESTDIR}${includedir}/libdevmapper.h \
+ ${SYSROOT_DESTDIR}${libdir}/pkgconfig/devmapper.pc
+}
+
BBCLASSEXTEND = "native nativesdk"