summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms/0001-UNS-CMakeLists.txt-migrate-udev-rules-to-usr.patch
blob: 80b64b3780fd6c5363f6ec0747fcbe20dcef968f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 072d20e6dcd99ff272a934fcfda8df9dd15d4359 Mon Sep 17 00:00:00 2001
From: Naveen Saini <naveen.kumar.saini@intel.com>
Date: Fri, 16 Jun 2023 11:35:42 +0800
Subject: [PATCH] UNS/CMakeLists.txt: migrate udev rules to /usr

With the upcoming v254 release of systemd mandating usrmerge[1] this
will become mandatory for anyone using systemd.

[1] https://lists.freedesktop.org/archives/systemd-devel/2023-June/049173.html

Upstream-Status: Submitted [https://github.com/intel/lms/pull/16]

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
 UNS/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/UNS/CMakeLists.txt b/UNS/CMakeLists.txt
index 09000eb..c6b98c1 100644
--- a/UNS/CMakeLists.txt
+++ b/UNS/CMakeLists.txt
@@ -139,7 +139,7 @@ if (UNIX)
   install (FILES
     ${CMAKE_CURRENT_SOURCE_DIR}/linux_scripts/70-persistent-mei.rules
     ${CMAKE_CURRENT_SOURCE_DIR}/linux_scripts/70-mei-wdt.rules
-    DESTINATION /lib/udev/rules.d/
+    DESTINATION /usr/lib/udev/rules.d/
   )
 
   install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/linux_scripts/20-lms.conf
-- 
2.34.1