[oe] [PATCH] e2fsprogs.inc - break shared libs into separate packages
Mike Westerhof
mike at mwester.net
Sun Jan 2 15:15:23 UTC 2011
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 <mike at mwester.net>
---
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"
More information about the Openembedded-devel
mailing list