<div dir="ltr">LGTM</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 13, 2018 at 11:25 AM Jens Rehsack &lt;<a href="mailto:sno@netbsd.org">sno@netbsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Avoid coreutils conflicts with nice from other recipes, like<br>
busybox - even if that&#39;s not enabled by default.<br>
In situations, where coreutils is a dependency for -dev images<br>
and small busybox nice is available always, it avoids extra<br>
effort for coreutils for those users.<br>
<br>
Signed-off-by: Jens Rehsack &lt;<a href="mailto:sno@netbsd.org" target="_blank">sno@netbsd.org</a>&gt;<br>
---<br>
 meta/recipes-core/coreutils/<a href="http://coreutils_8.30.bb" rel="noreferrer" target="_blank">coreutils_8.30.bb</a> | 14 +++++++++-----<br>
 1 file changed, 9 insertions(+), 5 deletions(-)<br>
<br>
diff --git a/meta/recipes-core/coreutils/<a href="http://coreutils_8.30.bb" rel="noreferrer" target="_blank">coreutils_8.30.bb</a> b/meta/recipes-core/coreutils/<a href="http://coreutils_8.30.bb" rel="noreferrer" target="_blank">coreutils_8.30.bb</a><br>
index 053891f6ea..eb1dd2a93a 100644<br>
--- a/meta/recipes-core/coreutils/<a href="http://coreutils_8.30.bb" rel="noreferrer" target="_blank">coreutils_8.30.bb</a><br>
+++ b/meta/recipes-core/coreutils/<a href="http://coreutils_8.30.bb" rel="noreferrer" target="_blank">coreutils_8.30.bb</a><br>
@@ -42,10 +42,10 @@ PACKAGECONFIG[acl] = &quot;--enable-acl,--disable-acl,acl,&quot;<br>
 PACKAGECONFIG[xattr] = &quot;--enable-xattr,--disable-xattr,attr,&quot;<br>
 PACKAGECONFIG[single-binary] = &quot;--enable-single-binary,--disable-single-binary,,&quot;<br>
<br>
-# [ df mktemp base64 gets a special treatment and is not included in this<br>
+# [ df mktemp nice base64 gets a special treatment and is not included in this<br>
 bindir_progs = &quot;arch basename chcon cksum comm csplit cut dir dircolors dirname du \<br>
                 env expand expr factor fmt fold groups head hostid id install \<br>
-                join link logname md5sum mkfifo nice nl nohup nproc od paste pathchk \<br>
+                join link logname md5sum mkfifo nl nohup nproc od paste pathchk \<br>
                 pinky pr printenv printf ptx readlink realpath runcon seq sha1sum sha224sum sha256sum \<br>
                 sha384sum sha512sum shred shuf sort split stdbuf sum tac tail tee test timeout\<br>
                 tr truncate tsort tty unexpand uniq unlink uptime users vdir wc who whoami yes&quot;<br>
@@ -77,7 +77,7 @@ do_install_class-native() {<br>
 }<br>
<br>
 do_install_append() {<br>
-       for i in df mktemp base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done<br>
+       for i in df mktemp nice base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done<br>
<br>
        install -d ${D}${base_bindir}<br>
        [ &quot;${base_bindir}&quot; != &quot;${bindir}&quot; ] &amp;&amp; for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i.${BPN}; done<br>
@@ -96,8 +96,8 @@ inherit update-alternatives<br>
 ALTERNATIVE_PRIORITY = &quot;100&quot;<br>
 # Make hostname&#39;s priority higher than busybox but lower than net-tools<br>
 ALTERNATIVE_PRIORITY[hostname] = &quot;90&quot;<br>
-ALTERNATIVE_${PN} = &quot;lbracket ${bindir_progs} ${base_bindir_progs} ${sbindir_progs} base64 mktemp df&quot;<br>
-ALTERNATIVE_${PN}-doc = &quot;base64.1 mktemp.1 df.1 groups.1 kill.1 uptime.1 stat.1  hostname.1&quot;<br>
+ALTERNATIVE_${PN} = &quot;lbracket ${bindir_progs} ${base_bindir_progs} ${sbindir_progs} base64 nice mktemp df&quot;<br>
+ALTERNATIVE_${PN}-doc = &quot;base64.1 nice.1 mktemp.1 df.1 groups.1 kill.1 uptime.1 stat.1 hostname.1&quot;<br>
<br>
 ALTERNATIVE_LINK_NAME[hostname.1] = &quot;${mandir}/man1/hostname.1&quot;<br>
<br>
@@ -113,6 +113,10 @@ ALTERNATIVE_LINK_NAME[df] = &quot;${base_bindir}/df&quot;<br>
 ALTERNATIVE_TARGET[df] = &quot;${bindir}/df.${BPN}&quot;<br>
 ALTERNATIVE_LINK_NAME[df.1] = &quot;${mandir}/man1/df.1&quot;<br>
<br>
+ALTERNATIVE_LINK_NAME[nice] = &quot;${base_bindir}/nice&quot;<br>
+ALTERNATIVE_TARGET[nice] = &quot;${bindir}/nice.${BPN}&quot;<br>
+ALTERNATIVE_LINK_NAME[nice.1] = &quot;${mandir}/man1/nice.1&quot;<br>
+<br>
 ALTERNATIVE_LINK_NAME[lbracket] = &quot;${bindir}/[&quot;<br>
 ALTERNATIVE_TARGET[lbracket] = &quot;${bindir}/lbracket.${BPN}&quot;<br>
<br>
-- <br>
2.17.1<br>
<br>
</blockquote></div>