commit: 0d02332b2b52af0c6e67a0d9fd3f6deb92c30375
parent 04ce8ebaefb561096ffe4d4dce5cc30610cb2aa9
Author: fosslinux <fosslinux@aussies.space>
Date: Tue, 12 Jan 2021 17:27:03 +1100
Couple of fixes.
- Add some commenting to rootfs.sh
- Fix the build
Diffstat:
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git 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
@@ -3,7 +3,7 @@
set -ex
# Variables
-prefix=${prefix}
+prefix=/after
MES_ARENA=20000000
MES_MAX_ARENA=20000000
MES_STACK=6000000