some cleaning up.

This commit is contained in:
Izaya 2017-09-13 12:17:26 +10:00
parent 438b185412
commit db6cfd9fc5
3 changed files with 30 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
out/*
kernel.lua kernel.lua
skernel.lua skernel.lua
*.swp *.swp

27
configs/minimal.cfg Executable file
View File

@ -0,0 +1,27 @@
modules/base/loadlin.lua
modules/debug/log.lua
modules/base/header.lua
modules/base/component.lua
modules/lib/fs.lua
modules/util/logflush.lua
modules/lib/buffer.lua
modules/lib/io.lua
modules/drivers/vt52.lua
modules/lib/print.lua
modules/drivers/kbd.lua
modules/lib/cdlib.lua
modules/lib/relib.lua
modules/net/copper.lua
modules/util/motd.lua
modules/lib/readline.lua
modules/lib/shutil.lua
modules/lib/sha256.lua
modules/lib/userlib.lua
modules/net/net-ext.lua
modules/applications/login.lua
modules/applications/luash.lua
modules/applications/genkernel.lua
modules/util/fs-automount.lua
modules/setup.lua
modules/base/footer.lua

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
for f in `dir -d configs/*`; do for f in `dir -d configs/*`; do
kn=$(echo $f | cut -f 1 -d '.' | cut -f 2 -d "/") kn=$(echo $f | cut -f 1 -d '.' | cut -f 2 -d "/")
./genkernel.lua $f "$(git rev-parse --short HEAD)" > $kn.lua ./genkernel.lua $f "$(git rev-parse --short HEAD)" > out/$kn.lua
lua strip.lua $kn.lua s$kn.lua lua strip.lua out/$kn.lua out/s$kn.lua
done done