mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 13:55:24 +01:00
Add mes and mescc-tools-extra
mescc-tools-extra contains two important tools: - cp - chmod mes first builds itself from a mes 0.21 seed as used by guix, and then builds a mes 0.22 and then mes 0.22 using that created mes 0.22. It does /not/ use bootstrap.sh as we don't have a proper shell at this point, it has been manually adapted for kaem.
This commit is contained in:
parent
2706e07556
commit
649d7b68dc
1029 changed files with 120985 additions and 18 deletions
21
rootfs.sh
21
rootfs.sh
|
|
@ -11,9 +11,6 @@ sudo mount -t tmpfs -o size=8G tmpfs tmp
|
|||
|
||||
# base: mescc-tools-seed
|
||||
|
||||
#debugging
|
||||
cp busybox.static tmp/
|
||||
|
||||
# copy in all the mescc-tools-seed stuff
|
||||
cp -r mescc-tools-seed/x86/* tmp
|
||||
cp -r mescc-tools-seed/{M2-Planet,mes-m2,mescc-tools} tmp/
|
||||
|
|
@ -30,10 +27,15 @@ mkdir tmp/bin
|
|||
# after mescc-tools-seed we get into our own little directory because
|
||||
# the mescc-tools-seed one is hella messy
|
||||
mkdir tmp/after/bin -p
|
||||
mkdir tmp/after/{lib,include}
|
||||
mkdir tmp/after/include/{mes,gnu,linux,sys,mach}
|
||||
# put all the kaems for after in
|
||||
cp after.kaem tmp/
|
||||
cp after.kaem.run tmp/after/kaem.run
|
||||
|
||||
# mescc-tools-extra
|
||||
cp -r mescc-tools-extra tmp/after/
|
||||
|
||||
# blynn-compiler
|
||||
pushd tmp/after
|
||||
git clone ../../blynn-compiler-oriansj blynn-compiler
|
||||
|
|
@ -41,6 +43,13 @@ cp ../../blynn-compiler.kaem blynn-compiler/go.kaem
|
|||
mkdir blynn-compiler/{bin,generated}
|
||||
popd
|
||||
|
||||
# mes
|
||||
cp -r mes-0.22 tmp/after/
|
||||
ln -s . tmp/after/mes-0.22/x86-mes
|
||||
#cp -r nyacc-0.99.3 tmp/after/
|
||||
cp -r mes-bins tmp/after/
|
||||
cp mes.kaem tmp/after/
|
||||
|
||||
# General cleanup
|
||||
find tmp -name .git -exec rm -rf \;
|
||||
|
||||
|
|
@ -55,7 +64,7 @@ qemu-system-x86_64 -enable-kvm \
|
|||
-no-reboot \
|
||||
-kernel ../../kernel -initrd initramfs.igz -append console=ttyS0,kernel.panic=2
|
||||
|
||||
# Cleanup
|
||||
sudo umount tmp
|
||||
cd ../..
|
||||
|
||||
popd
|
||||
# Cleanup
|
||||
sudo umount sysa/tmp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue