All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-gplv2][sumo][rocko][pyro][PATCH] coreutils: Avoid warnings due to update-alternatives for man pages
@ 2018-04-23 10:23 Peter Kjellerstedt
  2018-04-23 10:26 ` Burton, Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Kjellerstedt @ 2018-04-23 10:23 UTC (permalink / raw)
  To: yocto

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>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-gplv2][sumo][rocko][pyro][PATCH] coreutils: Avoid warnings due to update-alternatives for man pages
  2018-04-23 10:23 [meta-gplv2][sumo][rocko][pyro][PATCH] coreutils: Avoid warnings due to update-alternatives for man pages Peter Kjellerstedt
@ 2018-04-23 10:26 ` Burton, Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2018-04-23 10:26 UTC (permalink / raw)
  To: Peter Kjellerstedt; +Cc: Yocto-mailing-list

Pushed, thanks.

On 23 April 2018 at 11:23, Peter Kjellerstedt
<peter.kjellerstedt@axis.com> wrote:
> 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>
> ---
>  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
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-23 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23 10:23 [meta-gplv2][sumo][rocko][pyro][PATCH] coreutils: Avoid warnings due to update-alternatives for man pages Peter Kjellerstedt
2018-04-23 10:26 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.