new livecd generation make target
This commit is contained in:
@@ -28,7 +28,7 @@ logprint() {
|
||||
ulimit -n 3000000
|
||||
/usr/sbin/chroot "${T_SYSROOT}" /usr/bin/env -i \
|
||||
HOME=/root \
|
||||
TERM="$TERM" \
|
||||
TERM="xterm-256color" \
|
||||
PS1='\n(dark horse linux) [ \u @ \H ] << \w >>\n\n[- ' \
|
||||
PATH=/usr/bin:/usr/sbin \
|
||||
/bin/bash --login
|
||||
|
||||
19
make.project/livecd.sh
Executable file
19
make.project/livecd.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
# fix an issue with open files limit on some hosts
|
||||
ulimit -l unlimited
|
||||
|
||||
#ulimit -n 10240
|
||||
ulimit -c unlimited
|
||||
|
||||
echo "Bootstrapping from MAKE to REX..."
|
||||
|
||||
# Executes rex from within the shell.
|
||||
|
||||
${dir_localtools}/rex -v \
|
||||
-c ${dir_rex}/x86_64/rex.config \
|
||||
-p ${dir_rex}/x86_64/plans/livecd.plan
|
||||
|
||||
retVal=$?
|
||||
exit $retVal
|
||||
Reference in New Issue
Block a user