summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2011-01-19 09:44:51 +0800
committerSaul Wold <sgw@linux.intel.com>2011-01-24 14:09:12 -0800
commit036e4a920fe1dd97c521eb44dcb50bf3df29e43b (patch)
treece7b27b85810292d9e534b321912a621e7868348
parentff02b364282befc1f8606b0bbf7fa659e7765ca5 (diff)
downloadpoky-036e4a920fe1dd97c521eb44dcb50bf3df29e43b.tar.gz
util-linux: separately packaging blkid and uuid
To avoid full set of util-linux included by library dependencies. Fixes [BUGID #661]. Signed-off-by: Qing He <qing.he@intel.com>
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc9
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.17.2.bb2
2 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 91b57c6b07..931a627b56 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -27,7 +27,9 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${MAJOR_VERSION}/u
27 file://make_include \ 27 file://make_include \
28 " 28 "
29 29
30PACKAGES_prepend = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-swaponoff util-linux-losetup util-linux-umount util-linux-mount util-linux-readprofile " 30PACKAGES_prepend = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-swaponoff \
31 util-linux-losetup util-linux-umount util-linux-mount util-linux-readprofile \
32 util-linux-libblkid util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev "
31 33
32PACKAGES_virtclass-native = "" 34PACKAGES_virtclass-native = ""
33 35
@@ -48,6 +50,11 @@ FILES_util-linux-mount = "/bin/mount.${PN}"
48FILES_util-linux-umount = "/bin/umount.${PN}" 50FILES_util-linux-umount = "/bin/umount.${PN}"
49FILES_util-linux-readprofile = "/sbin/readprofile" 51FILES_util-linux-readprofile = "/sbin/readprofile"
50 52
53FILES_util-linux-libblkid = "/usr/lib/libblkid.so.*"
54FILES_util-linux-libblkid-dev = "/usr/lib/libblkid.so /usr/lib/libblkid.a /usr/lib/libblkid.la /usr/include/blkid"
55FILES_util-linux-libuuid = "/usr/lib/libuuid.so.*"
56FILES_util-linux-libuuid-dev = "/usr/lib/libuuid.so /usr/lib/libuuid.a /usr/lib/libuuid.la /usr/include/uuid"
57
51RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile " 58RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile "
52RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup" 59RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup"
53 60
diff --git a/meta/recipes-core/util-linux/util-linux_2.17.2.bb b/meta/recipes-core/util-linux/util-linux_2.17.2.bb
index 9b344d4de2..662bde0dfc 100644
--- a/meta/recipes-core/util-linux/util-linux_2.17.2.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.17.2.bb
@@ -1,6 +1,6 @@
1MAJOR_VERSION = "2.17" 1MAJOR_VERSION = "2.17"
2require util-linux.inc 2require util-linux.inc
3PR="r1" 3PR = "r2"
4 4
5SRC_URI += "file://uclibc-compile.patch \ 5SRC_URI += "file://uclibc-compile.patch \
6 file://util-linux-ng-replace-siginterrupt.patch" 6 file://util-linux-ng-replace-siginterrupt.patch"