summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux
diff options
context:
space:
mode:
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>2014-07-24 09:32:25 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-26 08:51:41 +0100
commit7cb16c8cd2ec1786fde4846d0a0c33c69a6a8601 (patch)
tree37a11d169da7db6bbd9b40726392fdba94772c02 /meta/recipes-core/util-linux
parent89d178841208557b030103cf0ae813a42550487c (diff)
downloadpoky-7cb16c8cd2ec1786fde4846d0a0c33c69a6a8601.tar.gz
util-linux: break out new package util-linux-hwclock
We'd like to include the util-linux version of hwclock in images without having to include all of util-linux. To make this possible, break out hwclock into its own package. (From OE-Core rev: 7c0429827d1232c8f1b439a73af6064602ec43e7) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 83bb4a66b9..d640a5f5a2 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -36,7 +36,7 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd
36 util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid \ 36 util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid \
37 util-linux-mkfs util-linux-mcookie util-linux-reset \ 37 util-linux-mkfs util-linux-mcookie util-linux-reset \
38 util-linux-mkfs.cramfs util-linux-fsck.cramfs util-linux-fstrim \ 38 util-linux-mkfs.cramfs util-linux-fsck.cramfs util-linux-fstrim \
39 util-linux-partx ${PN}-bash-completion" 39 util-linux-partx ${PN}-bash-completion util-linux-hwclock"
40 40
41SHARED_EXTRA_OECONF = "--disable-use-tty-group \ 41SHARED_EXTRA_OECONF = "--disable-use-tty-group \
42 --disable-makeinstall-chown \ 42 --disable-makeinstall-chown \
@@ -78,6 +78,7 @@ FILES_util-linux-uuidgen = "${bindir}/uuidgen"
78FILES_util-linux-uuidd = "${sbindir}/uuidd" 78FILES_util-linux-uuidd = "${sbindir}/uuidd"
79FILES_util-linux-reset = "${base_bindir}/reset" 79FILES_util-linux-reset = "${base_bindir}/reset"
80FILES_util-linux-partx = "${sbindir}/partx" 80FILES_util-linux-partx = "${sbindir}/partx"
81FILES_util-linux-hwclock = "${base_sbindir}/hwclock.${BPN}"
81 82
82FILES_util-linux-libblkid = "${base_libdir}/libblkid.so.*" 83FILES_util-linux-libblkid = "${base_libdir}/libblkid.so.*"
83FILES_util-linux-libmount = "${base_libdir}/libmount.so.*" 84FILES_util-linux-libmount = "${base_libdir}/libmount.so.*"
@@ -166,7 +167,7 @@ ALTERNATIVE_PRIORITY = "100"
166 167
167ALTERNATIVE_${PN} = "dmesg kill more mkswap blockdev pivot_root" 168ALTERNATIVE_${PN} = "dmesg kill more mkswap blockdev pivot_root"
168ALTERNATIVE_${PN} += "mkfs.minix hexdump last logger mesg renice wall" 169ALTERNATIVE_${PN} += "mkfs.minix hexdump last logger mesg renice wall"
169ALTERNATIVE_${PN} += "setsid chrt flock hwclock utmpdump eject getopt sulogin" 170ALTERNATIVE_${PN} += "setsid chrt flock utmpdump eject getopt sulogin"
170 171
171ALTERNATIVE_LINK_NAME[dmesg] = "${base_bindir}/dmesg" 172ALTERNATIVE_LINK_NAME[dmesg] = "${base_bindir}/dmesg"
172ALTERNATIVE_LINK_NAME[kill] = "${base_bindir}/kill" 173ALTERNATIVE_LINK_NAME[kill] = "${base_bindir}/kill"
@@ -190,6 +191,7 @@ ALTERNATIVE_LINK_NAME[sulogin.8] = "${mandir}/man8/sulogin.8"
190ALTERNATIVE_LINK_NAME[utmpdump.1] = "${mandir}/man1/utmpdump.1" 191ALTERNATIVE_LINK_NAME[utmpdump.1] = "${mandir}/man1/utmpdump.1"
191ALTERNATIVE_LINK_NAME[wall.1] = "${mandir}/man1/wall.1" 192ALTERNATIVE_LINK_NAME[wall.1] = "${mandir}/man1/wall.1"
192 193
194ALTERNATIVE_util-linux-hwclock = "hwclock"
193# There seems to be problem, atleast on nslu2, with these, untill they are 195# There seems to be problem, atleast on nslu2, with these, untill they are
194# fixed the busybox ones have higher priority 196# fixed the busybox ones have higher priority
195ALTERNATIVE_PRIORITY[hwclock] = "10" 197ALTERNATIVE_PRIORITY[hwclock] = "10"