blob: 73bacc91392101b866495f1f66c10d7679e52d07 [file] [log] [blame]
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05001From ca126a2832aaff0deef3ba7eaf411dd0dc43b068 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 16 Mar 2023 11:31:14 -0700
4Subject: [PATCH] Unbolt ubuntu hack
5
6This bites during cross compiling where the target is different than
7build host and build host might be ubuntu but that does not matter in
8cross compilation case. This fails builds when usrmerge feature is used
9
Andrew Geissler220dafd2023-10-04 10:18:08 -050010Upstream-Status: Inappropriate [ Cross-compile specific ]
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050011Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 configure.ac | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16--- a/configure.ac
17+++ b/configure.ac
18@@ -429,7 +429,7 @@ AC_CHECK_LIB([udev], [udev_device_new_fr
19 ])
20
21 dnl Ubuntu's systemd pkg-config seems broken beyond repair. So:
22-kernelversion=`cat /proc/version || echo "non-linux"`
23+kernelversion="cross-compiled"
24 AS_CASE([$kernelversion],
25 [*Ubuntu*],[
26 AC_MSG_NOTICE([Hardwiring Ubuntu systemd setup])