mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
Implement kernel bootstrap up to building Linux.
This commit is contained in:
parent
ae7e1f9498
commit
6881d5dcf8
56 changed files with 4869 additions and 209 deletions
17
sysc/run.sh
17
sysc/run.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue