2023-02-19 01:02:03 +00:00
|
|
|
#!/usr/bin/env bash
|
2023-05-26 02:38:19 +00:00
|
|
|
set -u
|
2023-02-19 01:02:03 +00:00
|
|
|
|
|
|
|
# closely aligns with LFS Ch 5, 6
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
2023-02-19 01:55:42 +00:00
|
|
|
${dir_localtools}/rex -v \
|
2023-02-19 01:02:03 +00:00
|
|
|
-c ${dir_rex}/x86_64/rex.config \
|
|
|
|
-p ${dir_rex}/x86_64/plans/stage1.plan
|
|
|
|
|
|
|
|
retVal=$?
|
2023-02-26 20:36:36 +00:00
|
|
|
exit $retVal
|