diff options
author | Qing He <qing.he@intel.com> | 2011-01-19 09:44:51 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-01-24 14:09:12 -0800 |
commit | 036e4a920fe1dd97c521eb44dcb50bf3df29e43b (patch) | |
tree | ce7b27b85810292d9e534b321912a621e7868348 | |
parent | ff02b364282befc1f8606b0bbf7fa659e7765ca5 (diff) | |
download | poky-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.inc | 9 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.17.2.bb | 2 |
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 | ||
30 | PACKAGES_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 " | 30 | PACKAGES_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 | ||
32 | PACKAGES_virtclass-native = "" | 34 | PACKAGES_virtclass-native = "" |
33 | 35 | ||
@@ -48,6 +50,11 @@ FILES_util-linux-mount = "/bin/mount.${PN}" | |||
48 | FILES_util-linux-umount = "/bin/umount.${PN}" | 50 | FILES_util-linux-umount = "/bin/umount.${PN}" |
49 | FILES_util-linux-readprofile = "/sbin/readprofile" | 51 | FILES_util-linux-readprofile = "/sbin/readprofile" |
50 | 52 | ||
53 | FILES_util-linux-libblkid = "/usr/lib/libblkid.so.*" | ||
54 | FILES_util-linux-libblkid-dev = "/usr/lib/libblkid.so /usr/lib/libblkid.a /usr/lib/libblkid.la /usr/include/blkid" | ||
55 | FILES_util-linux-libuuid = "/usr/lib/libuuid.so.*" | ||
56 | FILES_util-linux-libuuid-dev = "/usr/lib/libuuid.so /usr/lib/libuuid.a /usr/lib/libuuid.la /usr/include/uuid" | ||
57 | |||
51 | RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile " | 58 | RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile " |
52 | RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup" | 59 | RDEPENDS_${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 @@ | |||
1 | MAJOR_VERSION = "2.17" | 1 | MAJOR_VERSION = "2.17" |
2 | require util-linux.inc | 2 | require util-linux.inc |
3 | PR="r1" | 3 | PR = "r2" |
4 | 4 | ||
5 | SRC_URI += "file://uclibc-compile.patch \ | 5 | SRC_URI += "file://uclibc-compile.patch \ |
6 | file://util-linux-ng-replace-siginterrupt.patch" | 6 | file://util-linux-ng-replace-siginterrupt.patch" |