From 0d02332b2b52af0c6e67a0d9fd3f6deb92c30375 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Tue, 12 Jan 2021 17:27:03 +1100 Subject: [PATCH] Couple of fixes. - Add some commenting to rootfs.sh - Fix the build --- rootfs.sh | 11 ++++++++--- sysa/mes.kaem | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/rootfs.sh b/rootfs.sh index 5045c9c..c88d264 100755 --- a/rootfs.sh +++ b/rootfs.sh @@ -8,7 +8,7 @@ pushd sysa # SYSTEM A -# Setup tmp +# Setup tmp mkdir -p tmp/ sudo mount -t tmpfs -o size=8G tmpfs tmp @@ -102,15 +102,20 @@ get_file() { 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 + +# diffutils 2.7 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 find tmp -name .git -exec rm -rf \; # initramfs -cd tmp +cd tmp find . | cpio -H newc -o | gzip > initramfs.igz # Run diff --git a/sysa/mes.kaem b/sysa/mes.kaem index 535a4ad..edf17d7 100755 --- a/sysa/mes.kaem +++ b/sysa/mes.kaem @@ -3,7 +3,7 @@ set -ex # Variables -prefix=${prefix} +prefix=/after MES_ARENA=20000000 MES_MAX_ARENA=20000000 MES_STACK=6000000