From 7849fca4a0f87a13b5dcaf630f035139669cc77b Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Tue, 1 Aug 2023 20:44:14 +1000 Subject: [PATCH] stamp the kernel variant onto the version string --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 3e095c5..10bd086 100755 --- a/build.sh +++ b/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/