skeleton/etc/profile: remove /usr/bin/X11 from PATH
PATCH 1/3 skeleton/etc/profile: remove /usr/bin/X11 from PATH
That directory has been unused for ages so remove it.
--- system/skeleton/etc/profile | 1 - 1 file changed, 1 deletion(-)
system/skeleton/etc/profile +0 -1
@@ -5,7 +5,6 @@ export PATH=\ /sbin:\ /usr/bin:\ /usr/sbin:\ -/usr/bin/X11:\ /usr/local/bin # If running interactively, then:
Signature · 1 line
2.0.4
PATCH 2/3 skeleton/root/.bash_profile: don't set PATH
Even if the main shell is bash /etc/profile is also parsed so it's redundant.
--- system/skeleton/root/.bash_profile | 8 -------- 1 file changed, 8 deletions(-)
system/skeleton/root/.bash_profile +0 -8
@@ -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
Signature · 1 line
2.0.4
PATCH 2/3 skeleton/root/.bash_profile: don't set PATH
Gustavo, All,
On 2014-10-19 20:30 -0300, Gustavo Zacarias spake thusly:
Quoted 4 lines
Even if the main shell is bash
/etc/profileis also parsed so it's redundant.Signed-off-by Gustavo Zacarias <[email protected]>
Besides, it's really ugly the way it is currently done... :-(
Regards,
Yann E. MORIN.
Quoted 29 lines
--- system/skeleton/root/.bash_profile | 8 -------- 1 file changed, 8 deletions(-)system/skeleton/root/.bash_profile +0
-8@@ -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 ]; thenSignature · 6 lines
2.0.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'
PATCH 3/3 skeleton/etc/profile: drop aliases
In reply to Gustavo ZacariasThey all depend on having a custom busybox config and/or fully featured utilities which depend on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS.
--- system/skeleton/etc/profile | 11 ----------- 1 file changed, 11 deletions(-)
system/skeleton/etc/profile +0 -11
@@ -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
Signature · 1 line
2.0.4
PATCH 3/3 skeleton/etc/profile: drop aliases
Gustavo, All,
On 2014-10-19 20:30 -0300, Gustavo Zacarias spake thusly:
Quoted 4 lines
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 <[email protected]>
Regards,
Yann E. MORIN.
Quoted 33 lines
--- system/skeleton/etc/profile | 11 ----------- 1 file changed, 11 deletions(-)system/skeleton/etc/profile +0
-11@@ -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.dSignature · 6 lines
2.0.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'
PATCH 1/3 skeleton/etc/profile: remove /usr/bin/X11 from PATH
In reply to Gustavo ZacariasQuoted 3 lines · Gustavo Zacarias
That directory has been unused for ages so remove it.
Signed-off-by Gustavo Zacarias <[email protected]>
Regards,
Arnout
Quoted 17 lines
--- system/skeleton/etc/profile | 1 - 1 file changed, 1 deletion(-)system/skeleton/etc/profile +0
-1@@ -5,7 +5,6 @@ export PATH=\ /sbin:\ /usr/bin:\ /usr/sbin:\ -/usr/bin/X11:\ /usr/local/bin # If running interactively, then:
Signature · 6 lines
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
PATCH 1/3 skeleton/etc/profile: remove /usr/bin/X11 from PATH
In reply to Gustavo ZacariasGustavo, All,
On 2014-10-19 20:30 -0300, Gustavo Zacarias spake thusly:
Quoted 3 lines
That directory has been unused for ages so remove it.
Signed-off-by Gustavo Zacarias <[email protected]>
Regards,
Yann E. MORIN.
Quoted 23 lines
--- system/skeleton/etc/profile | 1 - 1 file changed, 1 deletion(-)system/skeleton/etc/profile +0
-1@@ -5,7 +5,6 @@ export PATH=\ /sbin:\ /usr/bin:\ /usr/sbin:\ -/usr/bin/X11:\ /usr/local/bin # If running interactively, then:Signature · 6 lines
2.0.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'
PATCH 1/3 skeleton/etc/profile: remove /usr/bin/X11 from PATH
In reply to Gustavo ZacariasQuoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
That directory has been unused for ages so remove it.
Signed-off-by Gustavo Zacarias <[email protected]>
Committed all 3, thanks.
Signature · 1 line
Bye, Peter Korsgaard