All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH
@ 2014-10-19 23:30 Gustavo Zacarias
  2014-10-19 23:30 ` [Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH Gustavo Zacarias
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Gustavo Zacarias @ 2014-10-19 23:30 UTC (permalink / raw)
  To: buildroot

That directory has been unused for ages so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 system/skeleton/etc/profile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/system/skeleton/etc/profile b/system/skeleton/etc/profile
index 31d3180..640f6f1 100644
--- a/system/skeleton/etc/profile
+++ b/system/skeleton/etc/profile
@@ -5,7 +5,6 @@ export PATH=\
 /sbin:\
 /usr/bin:\
 /usr/sbin:\
-/usr/bin/X11:\
 /usr/local/bin
 
 # If running interactively, then:
-- 
2.0.4

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

* [Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH
  2014-10-19 23:30 [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Gustavo Zacarias
@ 2014-10-19 23:30 ` Gustavo Zacarias
  2014-10-21 17:20   ` Yann E. MORIN
  2014-10-19 23:30 ` [Buildroot] [PATCH 3/3] skeleton/etc/profile: drop aliases Gustavo Zacarias
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Gustavo Zacarias @ 2014-10-19 23:30 UTC (permalink / raw)
  To: buildroot

Even if the main shell is bash /etc/profile is also parsed so it's
redundant.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 system/skeleton/root/.bash_profile | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/system/skeleton/root/.bash_profile b/system/skeleton/root/.bash_profile
index 27bf149..0ee04a3 100644
--- a/system/skeleton/root/.bash_profile
+++ b/system/skeleton/root/.bash_profile
@@ -1,13 +1,5 @@
 # .bash_profile
 
-export PATH=\
-/bin:\
-/sbin:\
-/usr/bin:\
-/usr/sbin:\
-/usr/bin/X11:\
-/usr/local/bin
-
 umask 022
 
 if [ -f ~/.bashrc ]; then
-- 
2.0.4

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

* [Buildroot] [PATCH 3/3] skeleton/etc/profile: drop aliases
  2014-10-19 23:30 [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Gustavo Zacarias
  2014-10-19 23:30 ` [Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH Gustavo Zacarias
@ 2014-10-19 23:30 ` Gustavo Zacarias
  2014-10-21 17:21   ` Yann E. MORIN
  2014-10-20 19:11 ` [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Arnout Vandecappelle
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Gustavo Zacarias @ 2014-10-19 23:30 UTC (permalink / raw)
  To: buildroot

They all depend on having a custom busybox config and/or fully featured
utilities which depend on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 system/skeleton/etc/profile | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/system/skeleton/etc/profile b/system/skeleton/etc/profile
index 640f6f1..3812dda 100644
--- a/system/skeleton/etc/profile
+++ b/system/skeleton/etc/profile
@@ -33,17 +33,6 @@ if [ "$PS1" ]; then
     export INPUTRC=/etc/inputrc
     export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
 
-    ### Some aliases
-    alias ps2='ps facux '
-    alias ps1='ps faxo "%U %t %p %a" '
-    alias af='ps af'
-    alias cls='clear'
-    alias df='df -h'
-    alias indent='indent -bad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs -npsl -nsc -nsob -nss -ts4 '
-    #alias bc='bc -l'
-    alias minicom='minicom -c on'
-    alias calc='calc -Cd '
-    alias bc='calc -Cd '
 fi;
 
 # Source configuration files from /etc/profile.d
-- 
2.0.4

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

* [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH
  2014-10-19 23:30 [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Gustavo Zacarias
  2014-10-19 23:30 ` [Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH Gustavo Zacarias
  2014-10-19 23:30 ` [Buildroot] [PATCH 3/3] skeleton/etc/profile: drop aliases Gustavo Zacarias
@ 2014-10-20 19:11 ` Arnout Vandecappelle
  2014-10-21 17:20 ` Yann E. MORIN
  2014-10-25 16:40 ` Peter Korsgaard
  4 siblings, 0 replies; 8+ messages in thread
From: Arnout Vandecappelle @ 2014-10-20 19:11 UTC (permalink / raw)
  To: buildroot

On 20/10/14 01:30, Gustavo Zacarias wrote:
> That directory has been unused for ages so remove it.
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 Regards,
 Arnout

> ---
>  system/skeleton/etc/profile | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/system/skeleton/etc/profile b/system/skeleton/etc/profile
> index 31d3180..640f6f1 100644
> --- a/system/skeleton/etc/profile
> +++ b/system/skeleton/etc/profile
> @@ -5,7 +5,6 @@ export PATH=\
>  /sbin:\
>  /usr/bin:\
>  /usr/sbin:\
> -/usr/bin/X11:\
>  /usr/local/bin
>  
>  # If running interactively, then:
>


-- 
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH
  2014-10-19 23:30 [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Gustavo Zacarias
                   ` (2 preceding siblings ...)
  2014-10-20 19:11 ` [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Arnout Vandecappelle
@ 2014-10-21 17:20 ` Yann E. MORIN
  2014-10-25 16:40 ` Peter Korsgaard
  4 siblings, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2014-10-21 17:20 UTC (permalink / raw)
  To: buildroot

Gustavo, All,

On 2014-10-19 20:30 -0300, Gustavo Zacarias spake thusly:
> That directory has been unused for ages so remove it.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  system/skeleton/etc/profile | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/system/skeleton/etc/profile b/system/skeleton/etc/profile
> index 31d3180..640f6f1 100644
> --- a/system/skeleton/etc/profile
> +++ b/system/skeleton/etc/profile
> @@ -5,7 +5,6 @@ export PATH=\
>  /sbin:\
>  /usr/bin:\
>  /usr/sbin:\
> -/usr/bin/X11:\
>  /usr/local/bin
>  
>  # If running interactively, then:
> -- 
> 2.0.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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] 8+ messages in thread

* [Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH
  2014-10-19 23:30 ` [Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH Gustavo Zacarias
@ 2014-10-21 17:20   ` Yann E. MORIN
  0 siblings, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2014-10-21 17:20 UTC (permalink / raw)
  To: buildroot

Gustavo, All,

On 2014-10-19 20:30 -0300, Gustavo Zacarias spake thusly:
> Even if the main shell is bash /etc/profile is also parsed so it's
> redundant.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Besides, it's really ugly the way it is currently done... :-(

Regards,
Yann E. MORIN.

> ---
>  system/skeleton/root/.bash_profile | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/system/skeleton/root/.bash_profile b/system/skeleton/root/.bash_profile
> index 27bf149..0ee04a3 100644
> --- a/system/skeleton/root/.bash_profile
> +++ b/system/skeleton/root/.bash_profile
> @@ -1,13 +1,5 @@
>  # .bash_profile
>  
> -export PATH=\
> -/bin:\
> -/sbin:\
> -/usr/bin:\
> -/usr/sbin:\
> -/usr/bin/X11:\
> -/usr/local/bin
> -
>  umask 022
>  
>  if [ -f ~/.bashrc ]; then
> -- 
> 2.0.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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] 8+ messages in thread

* [Buildroot] [PATCH 3/3] skeleton/etc/profile: drop aliases
  2014-10-19 23:30 ` [Buildroot] [PATCH 3/3] skeleton/etc/profile: drop aliases Gustavo Zacarias
@ 2014-10-21 17:21   ` Yann E. MORIN
  0 siblings, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2014-10-21 17:21 UTC (permalink / raw)
  To: buildroot

Gustavo, All,

On 2014-10-19 20:30 -0300, Gustavo Zacarias spake thusly:
> They all depend on having a custom busybox config and/or fully featured
> utilities which depend on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  system/skeleton/etc/profile | 11 -----------
>  1 file changed, 11 deletions(-)
> 
> diff --git a/system/skeleton/etc/profile b/system/skeleton/etc/profile
> index 640f6f1..3812dda 100644
> --- a/system/skeleton/etc/profile
> +++ b/system/skeleton/etc/profile
> @@ -33,17 +33,6 @@ if [ "$PS1" ]; then
>      export INPUTRC=/etc/inputrc
>      export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
>  
> -    ### Some aliases
> -    alias ps2='ps facux '
> -    alias ps1='ps faxo "%U %t %p %a" '
> -    alias af='ps af'
> -    alias cls='clear'
> -    alias df='df -h'
> -    alias indent='indent -bad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs -npsl -nsc -nsob -nss -ts4 '
> -    #alias bc='bc -l'
> -    alias minicom='minicom -c on'
> -    alias calc='calc -Cd '
> -    alias bc='calc -Cd '
>  fi;
>  
>  # Source configuration files from /etc/profile.d
> -- 
> 2.0.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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] 8+ messages in thread

* [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH
  2014-10-19 23:30 [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Gustavo Zacarias
                   ` (3 preceding siblings ...)
  2014-10-21 17:20 ` Yann E. MORIN
@ 2014-10-25 16:40 ` Peter Korsgaard
  4 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2014-10-25 16:40 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > That directory has been unused for ages so remove it.
 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed all 3, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2014-10-25 16:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-19 23:30 [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Gustavo Zacarias
2014-10-19 23:30 ` [Buildroot] [PATCH 2/3] skeleton/root/.bash_profile: don't set PATH Gustavo Zacarias
2014-10-21 17:20   ` Yann E. MORIN
2014-10-19 23:30 ` [Buildroot] [PATCH 3/3] skeleton/etc/profile: drop aliases Gustavo Zacarias
2014-10-21 17:21   ` Yann E. MORIN
2014-10-20 19:11 ` [Buildroot] [PATCH 1/3] skeleton/etc/profile: remove /usr/bin/X11 from PATH Arnout Vandecappelle
2014-10-21 17:20 ` Yann E. MORIN
2014-10-25 16:40 ` Peter Korsgaard

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.