From f80c531fb8f3c1e2b36f228c7e0f437b0b809f27 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Thu, 7 Jul 2016 17:58:25 +0200 Subject: [PATCH] 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 --- meta-digi-dey/recipes-support/lvm2/lvm2_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-digi-dey/recipes-support/lvm2/lvm2_%.bbappend diff --git a/meta-digi-dey/recipes-support/lvm2/lvm2_%.bbappend b/meta-digi-dey/recipes-support/lvm2/lvm2_%.bbappend new file mode 100644 index 000000000..a467c444f --- /dev/null +++ b/meta-digi-dey/recipes-support/lvm2/lvm2_%.bbappend @@ -0,0 +1,6 @@ +# Copyright (C) 2016 Digi International. + +# Split libraries into a different package +PACKAGES =+ "lib${PN}" + +FILES_lib${PN} = "${libdir}/lib*.so.*"