summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux
diff options
context:
space:
mode:
authorJeffrey C Honig <jeffrey.honig@windriver.com>2013-02-28 21:19:09 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-07 11:14:40 +0000
commit8219b2b9b0a3037212154d6813c35e47504300f7 (patch)
tree87a94d08eab3d85487cd2d065e9e2b793e5c6e11 /meta/recipes-core/util-linux
parent750d475a917cfde03d49cc350a3e1123bda5b1c6 (diff)
downloadpoky-8219b2b9b0a3037212154d6813c35e47504300f7.tar.gz
Resolve sysvinit and util-linux conflicting man pages.
[ CQID: WIND00404316 ] Use alternatives mechanism to prevent sysvlinux and util-linux man pages from causing conflicts. (From OE-Core rev: af97a79d017722d0571d552e390f2881efe228e2) Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.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.inc9
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.22.2.bb2
2 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index bd7b089d8e..1cb4f5fb2c 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -157,6 +157,15 @@ ALTERNATIVE_LINK_NAME[pivot_root] = "${base_sbindir}/pivot_root"
157ALTERNATIVE_LINK_NAME[mkfs.minix] = "${base_sbindir}/mkfs.minix" 157ALTERNATIVE_LINK_NAME[mkfs.minix] = "${base_sbindir}/mkfs.minix"
158ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject" 158ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject"
159 159
160ALTERNATIVE_${PN}-doc = "mountpoint.1 last.1 mesg.1 wall.1 sulogin.8 utmpdump.1"
161
162ALTERNATIVE_LINK_NAME[last.1] = "${mandir}/man1/last.1"
163ALTERNATIVE_LINK_NAME[mesg.1] = "${mandir}/man1/mesg.1"
164ALTERNATIVE_LINK_NAME[mountpoint.1] = "${mandir}/man1/mountpoint.1"
165ALTERNATIVE_LINK_NAME[sulogin.8] = "${mandir}/man8/sulogin.8"
166ALTERNATIVE_LINK_NAME[utmpdump.1] = "${mandir}/man1/utmpdump.1"
167ALTERNATIVE_LINK_NAME[wall.1] = "${mandir}/man1/wall.1"
168
160# There seems to be problem, atleast on nslu2, with these, untill they are 169# There seems to be problem, atleast on nslu2, with these, untill they are
161# fixed the busybox ones have higher priority 170# fixed the busybox ones have higher priority
162ALTERNATIVE_PRIORITY[hwclock] = "10" 171ALTERNATIVE_PRIORITY[hwclock] = "10"
diff --git a/meta/recipes-core/util-linux/util-linux_2.22.2.bb b/meta/recipes-core/util-linux/util-linux_2.22.2.bb
index f91784b56d..2f48e0b860 100644
--- a/meta/recipes-core/util-linux/util-linux_2.22.2.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.22.2.bb
@@ -1,5 +1,5 @@
1MAJOR_VERSION = "2.22" 1MAJOR_VERSION = "2.22"
2PR = "r1" 2PR = "r2"
3require util-linux.inc 3require util-linux.inc
4 4
5# note that `lscpu' is under GPLv3+ 5# note that `lscpu' is under GPLv3+