treewide: dynamically generate copyright line

A copyright line with hardcoded year was shown in various places of the
UI. Instead, take the year from the commit date.

Change-Id: I424d6c5b3aff34fe4479c37f30f9ea280b7eb4af
Reviewed-on: https://review.monogon.dev/c/monogon/+/4168
Tested-by: Jenkins CI
Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
diff --git a/metropolis/node/core/minit/main.c b/metropolis/node/core/minit/main.c
index 7b3e606..834b023 100644
--- a/metropolis/node/core/minit/main.c
+++ b/metropolis/node/core/minit/main.c
@@ -27,6 +27,8 @@
 #include <sys/wait.h>
 #include <unistd.h>
 
+#include "metropolis/node/core/minit/stamp.h"
+
 void handle_signal(pid_t child_pid, int signum);
 
 #define NUM_CONSOLES 3
@@ -81,7 +83,7 @@
     cprintf(
         "\n"
         "  Metropolis Cluster Operating System\n"
-        "  Copyright 2020-2024 The Monogon Project Authors\n"
+        "  " COPYRIGHT_LINE "\n"
         "\n"
     );