From patchwork Sun Jan 2 15:15:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: e2fsprogs.inc - break shared libs into separate packages Date: Sun, 02 Jan 2011 15:15:23 -0000 From: Mike Westerhof X-Patchwork-Id: 154 Message-Id: <4D20968B.4030004@mwester.net> To: openembedded-devel@lists.openembedded.org Break the two shared libraries (libe2p and libext2fs) out of the general e2fsprogs package and into their own packages. This avoids pulling in unwanted executables when a distro only desires the basic tools (such as e2fsck and/or mke2fs). Signed-off-by: Mike Westerhof Acked-by: Koen Kooi --- diff --git a/recipes/e2fsprogs/e2fsprogs.inc b/recipes/e2fsprogs/e2fsprogs.inc index ae5dbc7..34b9950 100644 --- a/recipes/e2fsprogs/e2fsprogs.inc +++ b/recipes/e2fsprogs/e2fsprogs.inc @@ -9,7 +9,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-${PV}.tar.gz" S = "${WORKDIR}/e2fsprogs-${PV}" -INC_PR = "r27" +INC_PR = "r28" inherit autotools @@ -109,11 +109,14 @@ RDEPENDS_e2fsprogs = "util-linux-ng e2fsprogs-badblocks" FILES_${PN} += "${libdir}/e2initrd_helper" PACKAGES =+ "e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-tune2fs e2fsprogs-badblocks libcomerr libss" +PACKAGES =+ "libe2p libext2fs" FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck.${PN} ${base_sbindir}/fsck.ext*.${PN}" FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs.${PN} ${base_sbindir}/mkfs.ext*.${PN}" FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" FILES_libcomerr = "${libdir}/libcom_err.so.*" FILES_libss = "${libdir}/libss.so.*" +FILES_libe2p = "${libdir}/libe2p.so.*" +FILES_libext2fs = "${libdir}/e2initrd_helper ${libdir}/libext2fs.so.*" BBCLASSEXTEND = "native"