Implement kernel bootstrap up to building Linux.

This commit is contained in:
rick-masters 2023-03-01 04:08:10 +00:00
parent ae7e1f9498
commit 6881d5dcf8
56 changed files with 4869 additions and 209 deletions

View file

@ -34,6 +34,17 @@ populate_device_nodes
create_fhs
if [ -e "${SOURCES}/distfiles" ]; then
mv "${SOURCES}/distfiles" /
echo "sysc: distfiles exists"
ls -l /distfiles
else
echo "sysc: distfiles does not exist"
mkdir -p "${DISTFILES}"
fi
build curl-7.83.0 curl-7.83.0-pass1.sh
# Obtain network connection
if [ "${CHROOT}" = "False" ]; then
dhcpcd --waitip=4
@ -50,12 +61,6 @@ if [ "${CHROOT}" = "False" ]; then
done
fi
if [ -e "${SOURCES}/distfiles" ]; then
mv "${SOURCES}/distfiles" /
else
mkdir -p "${DISTFILES}"
fi
build bash-5.1
exec env -i PATH="${PATH}" HOME="${HOME}" SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH}" bash run2.sh