Add new package libudev
authorSangYoun Kwak <sy.kwak@samsung.com>
Mon, 17 Jun 2024 09:20:27 +0000 (18:20 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Mon, 17 Jun 2024 09:22:08 +0000 (18:22 +0900)
A new package is added: platform/upstream/systemd (libudev only)
Among the files in the systemd, only libudev package will be included.

Change-Id: I4eb54b78d131d99927b88834db42f3138fe770dd
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
packaging/hal-rootstrap.spec
rs_resource/OSS/libudev-rs.xml [new file with mode: 0644]

index 8060d08..3818999 100644 (file)
@@ -393,6 +393,7 @@ BuildRequires:      zlib-devel
 BuildRequires: pkgconfig(alsa)
 BuildRequires: pkgconfig(libusb-1.0)
 BuildRequires: pkgconfig(json-glib-1.0)
+BuildRequires: pkgconfig(libudev)
 
 BuildRequires:  pkgconfig(hal-api-audio)
 BuildRequires:  pkgconfig(hal-api-bluetooth)
diff --git a/rs_resource/OSS/libudev-rs.xml b/rs_resource/OSS/libudev-rs.xml
new file mode 100644 (file)
index 0000000..ce2fc00
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<rootstrap name="libudev">
+  <emulator>
+    <rpm accept="libsystemd" arch="i686"/>
+    <rpm accept="systemd-devel" arch="i686"/>
+  </emulator>
+  <target>
+    <rpm accept="libsystemd" arch="armv7l"/>
+    <rpm accept="systemd-devel" arch="armv7l"/>
+  </target>
+
+  <pkgconfig>
+    <file>libudev.pc</file>
+  </pkgconfig>
+
+  <necessary>
+    <file>/usr/include/libudev.h</file>
+    <file>/usr/lib/libudev.so</file>
+    <file>/usr/lib/libudev.so.1</file>
+    <file>/usr/lib/libudev.so.1.6.16</file>
+  </necessary>
+</rootstrap>