Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

Build: lord-sessiond depends on the generated version header (rc2's lord-sessiond still said rc1 in its log and boot-times.jsonl)

Federico Pereira4c6bebbece5f
diff --git a/server/Makefile b/server/Makefile
index fce3a99..30a54c8 100644
--- a/server/Makefile
+++ b/server/Makefile
@@ -535,7 +535,7 @@ build/gen/lord_version.h: FORCE
@printf '#define LORD_VERSION "%s"\n#define LORD_CHANNEL "%s"\n#define LORD_BUILD "%s"\n' \
'$(or $(LORD_VERSION),0.0.0)' '$(LORD_CHANNEL)' '$(shell printf %s '$(LORD_BUILD)' | tr -cd 'A-Za-z0-9.+~-')' > [email protected]
@if cmp -s [email protected] $@; then rm -f [email protected]; else mv [email protected] $@; fi
-build/obj/ui/js.o build/obj/ui/js_sys.o build/obj/ui/js_hw.o build/obj/term/pty.o: build/gen/lord_version.h
+build/obj/ui/js.o build/obj/ui/js_sys.o build/obj/ui/js_hw.o build/obj/term/pty.o build/obj/remote/sessiond.o: build/gen/lord_version.h
# Verified system code (src/sec/codesig.c, docs/SIGNING.md "Verified system code"). RELEASE=1: a
# release build, which only runs a manifest signed with the LordOS release key (no development mode).
# CODE_PUBKEY=<64 hex>: a TEST build that trusts a throwaway key instead of the release key (VM tests