mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] executables in /usr/bin vs /bin
@ 2016-02-10 17:48 Clemens Gruber
  2016-02-11  8:30 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Clemens Gruber @ 2016-02-10 17:48 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Olbrich

Hi,

in the proposed version bump for procps, the default path changed to
/bin instead of /usr/bin. In my patch I just renamed the paths. But
maybe that's the wrong approach and we should keep all binaries in
/usr/bin ?

Debian on the other hand puts most of them in /usr/bin and a few into
/bin.

Should I send a v2 with all rules changed like this?
@$(call install_copy, procps, 0, 0, 0755, /bin/free, /usr/bin/free)

Or should we put some binaries in /bin to be consistent with Debian?
(/bin/ps, /bin/pidof, /usr/bin/top, /usr/bin/vmstat, ... ?)

Btw: This is the commit from procps-ng where they changed it to /bin:
https://gitlab.com/procps-ng/procps/commit/430b559ba2826f80dffa840622ae0fc744000b13

Thanks,
Clemens

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] executables in /usr/bin vs /bin
  2016-02-10 17:48 [ptxdist] executables in /usr/bin vs /bin Clemens Gruber
@ 2016-02-11  8:30 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2016-02-11  8:30 UTC (permalink / raw)
  To: ptxdist

On Wed, Feb 10, 2016 at 06:48:04PM +0100, Clemens Gruber wrote:
> Hi,
> 
> in the proposed version bump for procps, the default path changed to
> /bin instead of /usr/bin. In my patch I just renamed the paths. But
> maybe that's the wrong approach and we should keep all binaries in
> /usr/bin ?
> 
> Debian on the other hand puts most of them in /usr/bin and a few into
> /bin.
> 
> Should I send a v2 with all rules changed like this?
> @$(call install_copy, procps, 0, 0, 0755, /bin/free, /usr/bin/free)

That would be ... $(PROCPS_PKGDIR)/bin/free, /usr/bin/free)

And yes, I'd like a v2 like this. I'm not sure if any of these paths are
hardcoded somewhere. In the long term I'd like to get rid of the usr-split,
but that requires some more work.

> Or should we put some binaries in /bin to be consistent with Debian?
> (/bin/ps, /bin/pidof, /usr/bin/top, /usr/bin/vmstat, ... ?)

Just keep them where they are now.

> Btw: This is the commit from procps-ng where they changed it to /bin:
> https://gitlab.com/procps-ng/procps/commit/430b559ba2826f80dffa840622ae0fc744000b13

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2016-02-11  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 17:48 [ptxdist] executables in /usr/bin vs /bin Clemens Gruber
2016-02-11  8:30 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox