[yocto] [meta-gplv2][sumo][rocko][pyro][PATCH] coreutils: Avoid warnings due to update-alternatives for man pages
Peter Kjellerstedt
peter.kjellerstedt at axis.com
Mon Apr 23 03:23:28 PDT 2018
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 at axis.com>
---
recipes-core/coreutils/coreutils_6.9.bb | 4 ----
1 file changed, 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"
ALTERNATIVE_${PN} = "lbracket ${bindir_progs} ${base_bindir_progs} ${sbindir_progs}"
-ALTERNATIVE_${PN}-doc = "su.1 hostname.1"
-ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1"
-ALTERNATIVE_LINK_NAME[hostname.1] = "${mandir}/man1/hostname.1"
-
ALTERNATIVE_PRIORITY[uptime] = "10"
ALTERNATIVE_PRIORITY[hostname] = "10"
--
2.12.0
More information about the yocto
mailing list