summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangYoun Kwak <sy.kwak@samsung.com>2024-06-17 18:20:27 +0900
committerSangYoun Kwak <sy.kwak@samsung.com>2024-06-17 18:22:08 +0900
commit7ab0d051fe99f5bdf0872c7c52b520c3f1852329 (patch)
tree1a767e03a045d9b8b85f76db12f5c212c0ff8b54
parent9fa5f5577cc41f07237e28de1755b187a2b759e3 (diff)
downloadrootstrap-7ab0d051fe99f5bdf0872c7c52b520c3f1852329.tar.gz
rootstrap-7ab0d051fe99f5bdf0872c7c52b520c3f1852329.tar.bz2
rootstrap-7ab0d051fe99f5bdf0872c7c52b520c3f1852329.zip
Add new package libudev
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>
-rw-r--r--packaging/hal-rootstrap.spec1
-rw-r--r--rs_resource/OSS/libudev-rs.xml22
2 files changed, 23 insertions, 0 deletions
diff --git a/packaging/hal-rootstrap.spec b/packaging/hal-rootstrap.spec
index 8060d08..3818999 100644
--- a/packaging/hal-rootstrap.spec
+++ b/packaging/hal-rootstrap.spec
@@ -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
index 0000000..ce2fc00
--- /dev/null
+++ b/rs_resource/OSS/libudev-rs.xml
@@ -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>