lvm2: split libraries to a different package

lvm2 package provides some user-space tools, but also some dynamic
libraries: libdevmapper, libdevmapper-event, etc.

This commit allows to package the LVM2 libraries in a different package
than the LVM2 user-space tools. This way other user-space tools (e.g.
cryptsetup) that runtime depends on the LVM2 libs can only add that libs
package to the rootfs, instead of the whole LVM2 utilities.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2016-07-07 17:58:25 +02:00
parent 6ec562b601
commit f80c531fb8
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# Copyright (C) 2016 Digi International.
# Split libraries into a different package
PACKAGES =+ "lib${PN}"
FILES_lib${PN} = "${libdir}/lib*.so.*"