summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2018-04-23 12:23:28 +0200
committerRoss Burton <ross.burton@intel.com>2018-04-23 11:24:53 +0100
commit51d59b292ca52a18a72d724f9535377fa2feea2b (patch)
treecdd60504f912aac2e22385c4fac0597b3f778b50
parent556d2f2446c45c23dcaf1ccd610b88af8b4ba44c (diff)
downloadmeta-gplv2-51d59b292ca52a18a72d724f9535377fa2feea2b.tar.gz
coreutils: Avoid warnings due to update-alternatives for man pages
The man pages for this package was disabled in 46349e1a with the result that the following warnings appeared: WARNING: coreutils-6.9-r0 do_package: coreutils: alternative target (/usr/share/man/man1/su.1 or /usr/share/man/man1/su.1.coreutils) does not exist, skipping... WARNING: coreutils-6.9-r0 do_package: coreutils: alternative target (/usr/share/man/man1/hostname.1 or /usr/share/man/man1/hostname.1.coreutils) does not exist, skipping... WARNING: coreutils-6.9-r0 do_package: coreutils: NOT adding alternative provide /usr/share/man/man1/su.1: /usr/share/man/man1/su.1.coreutils does not exist WARNING: coreutils-6.9-r0 do_package: coreutils: NOT adding alternative provide /usr/share/man/man1/hostname.1: /usr/share/man/man1/hostname.1.coreutils does not exist WARNING: coreutils-6.9-r0 do_package: coreutils: alt_link == alt_target: /usr/share/man/man1/su.1 == /usr/share/man/man1/su.1 WARNING: coreutils-6.9-r0 do_package: coreutils: alt_link == alt_target: /usr/share/man/man1/hostname.1 == /usr/share/man/man1/hostname.1 This change removes the update-alternatives for the man pages that no longer exists. Change-Id: If79bb634e05db48462265c6e65291db27169fa51 Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--recipes-core/coreutils/coreutils_6.9.bb4
1 files changed, 0 insertions, 4 deletions
diff --git a/recipes-core/coreutils/coreutils_6.9.bb b/recipes-core/coreutils/coreutils_6.9.bb
index 31e5c7e..0d236b2 100644
--- a/recipes-core/coreutils/coreutils_6.9.bb
+++ b/recipes-core/coreutils/coreutils_6.9.bb
@@ -90,10 +90,6 @@ ALTERNATIVE_PRIORITY = "100"
90 90
91ALTERNATIVE_${PN} = "lbracket ${bindir_progs} ${base_bindir_progs} ${sbindir_progs}" 91ALTERNATIVE_${PN} = "lbracket ${bindir_progs} ${base_bindir_progs} ${sbindir_progs}"
92 92
93ALTERNATIVE_${PN}-doc = "su.1 hostname.1"
94ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1"
95ALTERNATIVE_LINK_NAME[hostname.1] = "${mandir}/man1/hostname.1"
96
97ALTERNATIVE_PRIORITY[uptime] = "10" 93ALTERNATIVE_PRIORITY[uptime] = "10"
98ALTERNATIVE_PRIORITY[hostname] = "10" 94ALTERNATIVE_PRIORITY[hostname] = "10"
99 95