projects
/
grml-terminalserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make grub compile code ready for gcc-4.2 and any later version
[grml-terminalserver.git]
/
grml-terminalserver-config
diff --git
a/grml-terminalserver-config
b/grml-terminalserver-config
index
aa45405
..
3247580
100755
(executable)
--- a/
grml-terminalserver-config
+++ b/
grml-terminalserver-config
@@
-4,7
+4,7
@@
# Authors: grml-team (grml.org), (c) Michael Gebetsroither <gebi@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
# Authors: grml-team (grml.org), (c) Michael Gebetsroither <gebi@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: D
on Nov 16 14:39:51 CET 2006
[mika]
+# Latest change: D
ie Mär 27 13:34:47 CEST 2007
[mika]
################################################################################
################################################################################
@@
-397,9
+397,8
@@
Quite usefull examples:
ssh=<pw> - Start ssh server and set password of user grml to pw
services=<1,2,3> - Execute /etc/init.d/{1,2,3} start
ssh=<pw> - Start ssh server and set password of user grml to pw
services=<1,2,3> - Execute /etc/init.d/{1,2,3} start
-console=ttyS0,9600n8 - Initialise seriell console
-secure - Boot only restricted clients (without root permissions)
-startx - Boot into X (should be used with secure)
+console=ttyS0,9600n8 - Initialise serial console
+startx - Boot into X
"
"
@@
-528,9
+527,12
@@
timeout 0
title Load config from Tftp server
configfile (nd)/menu.lst
EOT
title Load config from Tftp server
configfile (nd)/menu.lst
EOT
- #execute "./configure --enable-diskless --enable-preset-menu=./preset-menu $cmd_line_" warn || read
- execute "CC=gcc-3.3 ./configure --enable-preset-menu=./preset-menu $cmd_line_" warn || read
- execute "make -j2 CC=gcc-3.3" warn || read #return 1
+
+ CC='gcc'
+ [ -r /lib64 ] export CC="$CC -m32"
+
+ CC="$CC" execute "./configure --enable-preset-menu=./preset-menu $cmd_line_" warn || read
+ CC="$CC" execute "make -j2" warn || read #return 1
local st1_="stage1/stage1"
local st2_="stage2/stage2"
local st1_="stage1/stage1"
local st2_="stage2/stage2"