Couple of fixes.

- Add some commenting to rootfs.sh
- Fix the build
This commit is contained in:
fosslinux 2021-01-12 17:27:03 +11:00
parent 04ce8ebaef
commit 0d02332b2b
2 changed files with 9 additions and 4 deletions

View File

@ -8,7 +8,7 @@ pushd sysa
# SYSTEM A # SYSTEM A
# Setup tmp # Setup tmp
mkdir -p tmp/ mkdir -p tmp/
sudo mount -t tmpfs -o size=8G tmpfs tmp sudo mount -t tmpfs -o size=8G tmpfs tmp
@ -102,15 +102,20 @@ get_file() {
cp "../sources/$(basename "$url")" tmp/after cp "../sources/$(basename "$url")" tmp/after
} }
# Download remaining sources # gzip 1.2.4
get_file https://ftp.gnu.org/gnu/gzip/gzip-1.2.4.tar get_file https://ftp.gnu.org/gnu/gzip/gzip-1.2.4.tar
# diffutils 2.7
get_file https://ftp.gnu.org/gnu/diffutils/diffutils-2.7.tar.gz get_file https://ftp.gnu.org/gnu/diffutils/diffutils-2.7.tar.gz
# make 3.80
get_file https://ftp.gnu.org/gnu/make/make-3.80.tar.gz
# General cleanup # General cleanup
find tmp -name .git -exec rm -rf \; find tmp -name .git -exec rm -rf \;
# initramfs # initramfs
cd tmp cd tmp
find . | cpio -H newc -o | gzip > initramfs.igz find . | cpio -H newc -o | gzip > initramfs.igz
# Run # Run

View File

@ -3,7 +3,7 @@
set -ex set -ex
# Variables # Variables
prefix=${prefix} prefix=/after
MES_ARENA=20000000 MES_ARENA=20000000
MES_MAX_ARENA=20000000 MES_MAX_ARENA=20000000
MES_STACK=6000000 MES_STACK=6000000