From: Carsten Schlote <c.schl...@konzeptpark.de>

Currently E2FSPROGS is selected for those target packages, which need
libuuid.so or libblkid.so.

The util-linux-ng package contains newer versions of these libraries.

So I added a virtual package 'libblkid', which selects the
appropriate source package.

Later this can easily changed to a real package or redirected to
some other package.

Signed-off-by: Carsten Schlote <c.schl...@konzeptpark.de>
Acked-by: Marc Kleine-Budde <m...@penguttronix.de>
---
 rules/libblkid.in |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 rules/libblkid.in

diff --git a/rules/libblkid.in b/rules/libblkid.in
new file mode 100644
index 0000000..7bf8615
--- /dev/null
+++ b/rules/libblkid.in
@@ -0,0 +1,14 @@
+## SECTION=system_libraries
+
+config LIBBLKID
+       tristate
+       select LIBUUID
+       select E2FSPROGS
+       select E2FSPROGS_LIBBLKID
+       help
+         Helper to select the target packet containing a recent libblkid.so
+         library and its header.
+         
+         The following packages provide libblkid:
+         - e2fsprogs      (older version)
+         - utils-linux-ng (more recent version)
-- 
1.6.5.6.gb3118


--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to