[OE-core] [PATCH] bind: move libraries to own package

andreas.kling at gmail.com andreas.kling at gmail.com
Mon Sep 25 09:01:30 UTC 2017


From: Andy Kling <andreas.kling at peiker-cee.de>

  this allows to get rid of a chunk of data for
  images only requiring dhcp-client.

  -4553  KiB  python3-codecs
  -3669  KiB  bind
  -2087  KiB  libpython3.5m1.0
  +2384  KiB  bind-libs
  -1343  KiB  python3-core
  -1173  KiB  python3-lang
  -1077  KiB  python3-io
  -507   KiB  openssl
  -422   KiB  python3-importlib
  -204   KiB  python3-re
  -145   KiB  python3-math
  -110   KiB  python3-crypt
  -42    KiB  python3-readline
  -5     KiB  python3-reprlib

Signed-off-by: Andy Kling <andreas.kling at peiker-cee.de>
---
 meta/recipes-connectivity/bind/bind_9.10.5-P3.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-connectivity/bind/bind_9.10.5-P3.bb b/meta/recipes-connectivity/bind/bind_9.10.5-P3.bb
index b20a4aa396..289dc79733 100644
--- a/meta/recipes-connectivity/bind/bind_9.10.5-P3.bb
+++ b/meta/recipes-connectivity/bind/bind_9.10.5-P3.bb
@@ -67,6 +67,9 @@ FILES_${PN}-utils = "${bindir}/host ${bindir}/dig"
 FILES_${PN}-dev += "${bindir}/isc-config.h"
 FILES_${PN} += "${sbindir}/generate-rndc-key.sh ${PYTHON_SITEPACKAGES_DIR}"
 
+PACKAGE_BEFORE_PN += "${PN}-libs"
+FILES_${PN}-libs = "${libdir}/*.so*"
+
 do_install_prepend() {
 	# clean host path in isc-config.sh before the hardlink created
 	# by "make install":
-- 
2.14.1




More information about the Openembedded-core mailing list