new livecd generation make target

This commit is contained in:
phanes
2023-04-02 02:34:59 -04:00
parent 7fdac0e72e
commit afd68110bc
18 changed files with 1254 additions and 17 deletions

View File

@@ -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
View 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