34 lines
939 B
Diff
34 lines
939 B
Diff
From 6370ad16e7dfcabd1485c2981a006f9cda90a878 Mon Sep 17 00:00:00 2001
|
|
From: kpcyrd <[email protected]>
|
|
Date: Fri, 22 Mar 2024 11:26:58 +0100
|
|
Subject: [PATCH] Reproducible Builds: Do not embed build-server kernel version
|
|
on Linux
|
|
|
|
---
|
|
src/daemon/server.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/daemon/server.c b/src/daemon/server.c
|
|
index 60427e89..aac8477e 100644
|
|
--- a/src/daemon/server.c
|
|
+++ b/src/daemon/server.c
|
|
@@ -63,6 +63,7 @@ main(int argc, char *argv[])
|
|
_exit (1);
|
|
}
|
|
#else
|
|
+#ifndef __linux__
|
|
if (strcmp (uts.sysname, LIBGTOP_COMPILE_SYSTEM) ||
|
|
strcmp (uts.release, LIBGTOP_COMPILE_RELEASE) ||
|
|
strcmp (uts.machine, LIBGTOP_COMPILE_MACHINE)) {
|
|
@@ -74,6 +75,7 @@ main(int argc, char *argv[])
|
|
fprintf (stderr, "you should recompile libgtop and dependent "
|
|
"applications.\n");
|
|
}
|
|
+#endif
|
|
#endif
|
|
|
|
glibtop_machine_new (glibtop_global_server);
|
|
--
|
|
GitLab
|
|
|