made a configs/ dir for kernel configurations, and ./genkernel.sh generate all of them.
This commit is contained in:
parent
d2a0fa5910
commit
438b185412
28
configs/headless.cfg
Executable file
28
configs/headless.cfg
Executable file
@ -0,0 +1,28 @@
|
||||
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/lib/print.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
|
||||
fwrap skex exec/skex2.lua
|
||||
fwrap nshd exec/nshd.lua
|
||||
fwrap nsh exec/nsh.lua
|
||||
modules/util/fs-automount.lua
|
||||
modules/setup.lua
|
||||
modules/base/footer.lua
|
||||
|
@ -1,3 +1,6 @@
|
||||
#!/bin/bash
|
||||
./genkernel.lua build.cfg "$(git rev-parse --short HEAD)" > kernel.lua
|
||||
lua strip.lua kernel.lua skernel.lua
|
||||
for f in `dir -d configs/*`; do
|
||||
kn=$(echo $f | cut -f 1 -d '.' | cut -f 2 -d "/")
|
||||
./genkernel.lua $f "$(git rev-parse --short HEAD)" > $kn.lua
|
||||
lua strip.lua $kn.lua s$kn.lua
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user