All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] PATH
@ 2011-05-08 13:14 Heiko Zuerker
  2011-05-08 13:23 ` Yann E. MORIN
  0 siblings, 1 reply; 6+ messages in thread
From: Heiko Zuerker @ 2011-05-08 13:14 UTC (permalink / raw)
  To: buildroot

Hey,

I'm almost done with the MySQL 5.5 script, but it requires ./ in the path.
It may not be a bad idea to add this to Makefile.in (TARGET_PATH,  
HOST_PATH), in case other packages have a similar behavior.

Thoughts?
(Worst case I'll just keep it in the mysql.mk)

-- 

Regards
   Heiko Zuerker
   http://www.devil-linux.org


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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

* [Buildroot] PATH
  2011-05-08 13:14 [Buildroot] PATH Heiko Zuerker
@ 2011-05-08 13:23 ` Yann E. MORIN
  2011-05-08 13:35   ` Heiko Zuerker
  2011-05-08 20:17   ` Peter Korsgaard
  0 siblings, 2 replies; 6+ messages in thread
From: Yann E. MORIN @ 2011-05-08 13:23 UTC (permalink / raw)
  To: buildroot

Heiko, All,

On Sunday 08 May 2011 15:14:40 Heiko Zuerker wrote:
> I'm almost done with the MySQL 5.5 script, but it requires ./ in the path.
> It may not be a bad idea to add this to Makefile.in (TARGET_PATH,  
> HOST_PATH), in case other packages have a similar behavior.
> Thoughts?
> (Worst case I'll just keep it in the mysql.mk)

In my opinion, . in the path is a Really Bad Idea (TM), and should not
only be avoided, but entirely banned.

Best would be to fix the MySQL build to not require . in the PATH.
And push the fix upstream.

If it's too complex, then keep it specific to MySQL. Don't make it generic
in buildroot, we want to catch the breakage in other packages so they can
get fixed instead.

My 2c.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] PATH
  2011-05-08 13:23 ` Yann E. MORIN
@ 2011-05-08 13:35   ` Heiko Zuerker
  2011-05-08 15:20     ` Yann E. MORIN
  2011-05-08 20:17   ` Peter Korsgaard
  1 sibling, 1 reply; 6+ messages in thread
From: Heiko Zuerker @ 2011-05-08 13:35 UTC (permalink / raw)
  To: buildroot

Quoting "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>:
> Heiko, All,
>
> On Sunday 08 May 2011 15:14:40 Heiko Zuerker wrote:
>> I'm almost done with the MySQL 5.5 script, but it requires ./ in the path.
>> It may not be a bad idea to add this to Makefile.in (TARGET_PATH,
>> HOST_PATH), in case other packages have a similar behavior.
>> Thoughts?
>> (Worst case I'll just keep it in the mysql.mk)
>
> In my opinion, . in the path is a Really Bad Idea (TM), and should not
> only be avoided, but entirely banned.

Just curious, why are you against having . in the path?

-- 

Regards
   Heiko Zuerker
   http://www.devil-linux.org


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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

* [Buildroot] PATH
  2011-05-08 13:35   ` Heiko Zuerker
@ 2011-05-08 15:20     ` Yann E. MORIN
  0 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2011-05-08 15:20 UTC (permalink / raw)
  To: buildroot

Heiko, All,

On Sunday 08 May 2011 15:35:41 Heiko Zuerker wrote:
> Quoting "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>:
> > In my opinion, . in the path is a Really Bad Idea (TM), and should not
> > only be avoided, but entirely banned.
> Just curious, why are you against having . in the path?

Security hole. For example, see:
  http://fixunix.com/unix/88657-whats-wrong-having-my-$path.html

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] PATH
  2011-05-08 13:23 ` Yann E. MORIN
  2011-05-08 13:35   ` Heiko Zuerker
@ 2011-05-08 20:17   ` Peter Korsgaard
  2011-05-08 21:07     ` Heiko Zuerker
  1 sibling, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2011-05-08 20:17 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@anciens.enib.fr> writes:

 Yann> Heiko, All,
 Yann> On Sunday 08 May 2011 15:14:40 Heiko Zuerker wrote:
 >> I'm almost done with the MySQL 5.5 script, but it requires ./ in the path.
 >> It may not be a bad idea to add this to Makefile.in (TARGET_PATH,  
 >> HOST_PATH), in case other packages have a similar behavior.
 >> Thoughts?
 >> (Worst case I'll just keep it in the mysql.mk)

 Yann> In my opinion, . in the path is a Really Bad Idea (TM), and should not
 Yann> only be avoided, but entirely banned.

I agree. I'm surprised to hear that mysql needs it.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] PATH
  2011-05-08 20:17   ` Peter Korsgaard
@ 2011-05-08 21:07     ` Heiko Zuerker
  0 siblings, 0 replies; 6+ messages in thread
From: Heiko Zuerker @ 2011-05-08 21:07 UTC (permalink / raw)
  To: buildroot


Quoting Peter Korsgaard <jacmet@uclibc.org>:

>>>>>> "Yann" == Yann E MORIN <yann.morin.1998@anciens.enib.fr> writes:
>
>  Yann> Heiko, All,
>  Yann> On Sunday 08 May 2011 15:14:40 Heiko Zuerker wrote:
>  >> I'm almost done with the MySQL 5.5 script, but it requires ./ in  
> the path.
>  >> It may not be a bad idea to add this to Makefile.in (TARGET_PATH,
>  >> HOST_PATH), in case other packages have a similar behavior.
>  >> Thoughts?
>  >> (Worst case I'll just keep it in the mysql.mk)
>
>  Yann> In my opinion, . in the path is a Really Bad Idea (TM), and should not
>  Yann> only be avoided, but entirely banned.
>
> I agree. I'm surprised to hear that mysql needs it.

5.1 is fine, it's 5.5 which needs it.
I'll look into writing a patch, but it could be a little while until I  
get to it.

-- 

Regards
   Heiko Zuerker
   http://www.devil-linux.org

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

end of thread, other threads:[~2011-05-08 21:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-08 13:14 [Buildroot] PATH Heiko Zuerker
2011-05-08 13:23 ` Yann E. MORIN
2011-05-08 13:35   ` Heiko Zuerker
2011-05-08 15:20     ` Yann E. MORIN
2011-05-08 20:17   ` Peter Korsgaard
2011-05-08 21:07     ` Heiko Zuerker

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.