forked from izaya/OC-PsychOS2
stamp the kernel variant onto the version string
This commit is contained in:
parent
ae634bc52e
commit
7849fca4a0
4
build.sh
4
build.sh
@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
LUA=${LUA:-lua}
|
||||
KVAR=${1:-lua}
|
||||
KVAR=${1:-base}
|
||||
rm -r target/*
|
||||
mkdir -p target/doc &>/dev/null
|
||||
$LUA build.lua kcfg/$KVAR.cfg target/init.lua
|
||||
echo _OSVERSION=\"PsychOS 2.0a3-$(git rev-parse --short HEAD)\" > target/version.lua
|
||||
echo _OSVERSION=\"PsychOS 2.0a3-$(git rev-parse --short HEAD)-$KVAR\" > target/version.lua
|
||||
cat target/version.lua target/init.lua > target/tinit.lua
|
||||
mv target/tinit.lua target/init.lua
|
||||
cp -r service/ lib/ cfg/ exec/ target/
|
||||
|
Loading…
Reference in New Issue
Block a user