mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] Install tar from CONFIG_TAR to /bin/ instead /usr/bin/
@ 2017-04-05  8:04 Gavin Schenk
  2017-04-12  8:36 ` Enrico Weigelt, metux IT consult
  0 siblings, 1 reply; 4+ messages in thread
From: Gavin Schenk @ 2017-04-05  8:04 UTC (permalink / raw)
  To: ptxdist, t.spicker; +Cc: Gavin Schenk

Debian and Ubuntu install tar in /bin. This is the same in ptxdist when
BUSYBOX_TAR is selected. If CONFIG_TAR is selected ptxdist installs tar
to /usr/bin.

Signed-off-by: Gavin Schenk <g.schenk@eckelmann.de>
---
 rules/tar.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/tar.make b/rules/tar.make
index 1b25c621a..35ccd2e28 100644
--- a/rules/tar.make
+++ b/rules/tar.make
@@ -52,7 +52,7 @@ $(STATEDIR)/tar.targetinstall:
 	@$(call install_fixup, tar,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
 	@$(call install_fixup, tar,DESCRIPTION,missing)
 
-	@$(call install_copy, tar, 0, 0, 0755, -, /usr/bin/tar)
+	@$(call install_copy, tar, 0, 0, 0755, -, /bin/tar)
 
 	@$(call install_finish, tar)
 
-- 
2.11.0


Eckelmann AG
Vorstand: Dipl.-Ing. Peter Frankenbach (Sprecher) Dipl.-Wi.-Ing. Philipp Eckelmann
Dr.-Ing. Marco Münchhof Dr.-Ing. Frank Uhlemann
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Stv. Vorsitzender des Aufsichtsrats: Dr.-Ing. Gerd Eckelmann
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de 


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] Install tar from CONFIG_TAR to /bin/ instead /usr/bin/
  2017-04-05  8:04 [ptxdist] [PATCH] Install tar from CONFIG_TAR to /bin/ instead /usr/bin/ Gavin Schenk
@ 2017-04-12  8:36 ` Enrico Weigelt, metux IT consult
  2017-04-12 16:00   ` Robert Schwebel
  0 siblings, 1 reply; 4+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2017-04-12  8:36 UTC (permalink / raw)
  To: ptxdist

On 05.04.2017 10:04, Gavin Schenk wrote:
> Debian and Ubuntu install tar in /bin. This is the same in ptxdist when
> BUSYBOX_TAR is selected. If CONFIG_TAR is selected ptxdist installs tar
> to /usr/bin.

All the different unices I remember from the last two decades had tar
in /bin (as it's considered system util), so I'm in favour of that.

OTOH, some folks in ptxdist world might be expecting the standalone tar
in /usr/bin - so, perhaps make it configurable.

An interesting question is whether there could be any reason for having
both of them on one system. Maybe systems w/ optional packages, where
only some users in the field might install the full tar, if bb'es
trimmed-down one isn't sufficient.


--mtx


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] Install tar from CONFIG_TAR to /bin/ instead /usr/bin/
  2017-04-12  8:36 ` Enrico Weigelt, metux IT consult
@ 2017-04-12 16:00   ` Robert Schwebel
  2017-04-18  5:45     ` Schenk, Gavin
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Schwebel @ 2017-04-12 16:00 UTC (permalink / raw)
  To: ptxdist

On Wed, Apr 12, 2017 at 10:36:46AM +0200, Enrico Weigelt, metux IT consult wrote:
> On 05.04.2017 10:04, Gavin Schenk wrote:
> > Debian and Ubuntu install tar in /bin. This is the same in ptxdist when
> > BUSYBOX_TAR is selected. If CONFIG_TAR is selected ptxdist installs tar
> > to /usr/bin.
> 
> All the different unices I remember from the last two decades had tar
> in /bin (as it's considered system util), so I'm in favour of that.
> 
> OTOH, some folks in ptxdist world might be expecting the standalone tar
> in /usr/bin - so, perhaps make it configurable.
> 
> An interesting question is whether there could be any reason for having
> both of them on one system. Maybe systems w/ optional packages, where
> only some users in the field might install the full tar, if bb'es
> trimmed-down one isn't sufficient.

Since the /usr merge, this discussion is obsolete.

rsc
-- 
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] 4+ messages in thread

* Re: [ptxdist] [PATCH] Install tar from CONFIG_TAR to /bin/ instead /usr/bin/
  2017-04-12 16:00   ` Robert Schwebel
@ 2017-04-18  5:45     ` Schenk, Gavin
  0 siblings, 0 replies; 4+ messages in thread
From: Schenk, Gavin @ 2017-04-18  5:45 UTC (permalink / raw)
  To: ptxdist

Hi,

sorry for the late answer, I was on holidays.

> On Wed, Apr 12, 2017 at 10:36:46AM +0200, Enrico Weigelt, metux IT
> consult wrote:
> > On 05.04.2017 10:04, Gavin Schenk wrote:
> > > Debian and Ubuntu install tar in /bin. This is the same in ptxdist
> > > when BUSYBOX_TAR is selected. If CONFIG_TAR is selected ptxdist
> > > installs tar to /usr/bin.
> >
> > All the different unices I remember from the last two decades had tar
> > in /bin (as it's considered system util), so I'm in favour of that.
> >
> > OTOH, some folks in ptxdist world might be expecting the standalone
> > tar in /usr/bin - so, perhaps make it configurable.
> >
> > An interesting question is whether there could be any reason for
> > having both of them on one system. Maybe systems w/ optional packages,
> > where only some users in the field might install the full tar, if
> > bb'es trimmed-down one isn't sufficient.
> 
> Since the /usr merge, this discussion is obsolete.
> 

With the next version of my BSP I will test the /usr merge. From that point this discussion and my patch are really obsolete now.

Thanks and Regards
Gavin


Eckelmann AG
Vorstand: Dipl.-Ing. Peter Frankenbach (Sprecher) Dipl.-Wi.-Ing. Philipp Eckelmann
Dr.-Ing. Marco Münchhof Dr.-Ing. Frank Uhlemann
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Stv. Vorsitzender des Aufsichtsrats: Dr.-Ing. Gerd Eckelmann
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de 

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2017-04-18  5:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05  8:04 [ptxdist] [PATCH] Install tar from CONFIG_TAR to /bin/ instead /usr/bin/ Gavin Schenk
2017-04-12  8:36 ` Enrico Weigelt, metux IT consult
2017-04-12 16:00   ` Robert Schwebel
2017-04-18  5:45     ` Schenk, Gavin

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