diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-02-18 03:10:12 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-22 13:16:48 +0100 |
commit | 411f5caabc8280d1a93e3b61459d80450cf5344d (patch) | |
tree | f7731babb14a4aa3f91d20275f8b17391a21da1c /meta-oe/recipes-support/lvm2 | |
parent | 6370feda0dd633d05d3de6fd862a7a68899eff0d (diff) | |
download | meta-openembedded-411f5caabc8280d1a93e3b61459d80450cf5344d.tar.gz |
lvm2: Move libdevmapper to a separate package
This allows, e.g., cryptsetup to use libdevmapper without having to
pull in all of lvm2.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lvm2')
-rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 1462841a2..e0a126e14 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc | |||
@@ -73,7 +73,7 @@ do_install_append() { | |||
73 | fi | 73 | fi |
74 | } | 74 | } |
75 | 75 | ||
76 | PACKAGE_BEFORE_PN = "${PN}-scripts" | 76 | PACKAGE_BEFORE_PN = "${PN}-scripts libdevmapper libdevmapper-dev" |
77 | 77 | ||
78 | SYSTEMD_PACKAGES = "${PN}" | 78 | SYSTEMD_PACKAGES = "${PN}" |
79 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'dmeventd', 'lvm2-monitor.service dm-event.socket dm-event.service', '', d)} \ | 79 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'dmeventd', 'lvm2-monitor.service dm-event.socket dm-event.service', '', d)} \ |
@@ -90,8 +90,15 @@ FILES_${PN}-scripts = " \ | |||
90 | ${sbindir}/lvmconf \ | 90 | ${sbindir}/lvmconf \ |
91 | ${sbindir}/lvmdump \ | 91 | ${sbindir}/lvmdump \ |
92 | " | 92 | " |
93 | FILES_libdevmapper = "${libdir}/libdevmapper.so.*" | ||
94 | FILES_libdevmapper-dev = " \ | ||
95 | ${libdir}/libdevmapper.so \ | ||
96 | ${libdir}/pkgconfig/devmapper.pc \ | ||
97 | ${includedir}/libdevmapper.h \ | ||
98 | " | ||
93 | 99 | ||
94 | RDEPENDS_${PN}-scripts = "${PN} (= ${EXTENDPKGV}) bash" | 100 | RDEPENDS_${PN}-scripts = "${PN} (= ${EXTENDPKGV}) bash" |
101 | RDEPENDS_libdevmapper-dev = "libdevmapper (= ${EXTENDPKGV})" | ||
95 | RRECOMMENDS_${PN} = "${PN}-scripts (= ${EXTENDPKGV})" | 102 | RRECOMMENDS_${PN} = "${PN}-scripts (= ${EXTENDPKGV})" |
96 | 103 | ||
97 | CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf" | 104 | CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf" |