summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-multimedia')
-rw-r--r--meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb7
-rw-r--r--meta-oe/recipes-multimedia/cdrkit/files/0001-install-netscsid-to-bin-for-nativesdk.patch28
2 files changed, 33 insertions, 2 deletions
diff --git a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
index 3344821fa..54d396343 100644
--- a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
+++ b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
@@ -12,6 +12,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
12 file://0002-Do-not-use-rcmd-on-build-with-musl.patch \ 12 file://0002-Do-not-use-rcmd-on-build-with-musl.patch \
13 file://0001-genisoimage-Add-missing-extern-definition.patch \ 13 file://0001-genisoimage-Add-missing-extern-definition.patch \
14 " 14 "
15SRC_URI_append_class-nativesdk = " \
16 file://0001-install-netscsid-to-bin-for-nativesdk.patch \
17"
15SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9" 18SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9"
16SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da" 19SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da"
17 20
@@ -51,7 +54,7 @@ FILES_wodim = " \
51" 54"
52 55
53do_install_append() { 56do_install_append() {
54 ln -sf ${bindir}/genisoimage ${D}${bindir}/mkisofs 57 ln -sf --relative ${D}${bindir}/genisoimage ${D}${bindir}/mkisofs
55} 58}
56 59
57BBCLASSEXTEND = "native" 60BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-multimedia/cdrkit/files/0001-install-netscsid-to-bin-for-nativesdk.patch b/meta-oe/recipes-multimedia/cdrkit/files/0001-install-netscsid-to-bin-for-nativesdk.patch
new file mode 100644
index 000000000..fdf1563b3
--- /dev/null
+++ b/meta-oe/recipes-multimedia/cdrkit/files/0001-install-netscsid-to-bin-for-nativesdk.patch
@@ -0,0 +1,28 @@
1From 6b698b7c1045d279fe24818d45c67d9884d5fd81 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 7 May 2021 15:10:04 +0800
4Subject: [PATCH] install netscsid to bin for nativesdk
5
6For Yocto, the nativesdk does not have sbin dir, use bin to relpace
7
8Upstream-Status: Inappropriate [oe specific]
9
10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11---
12 netscsid/CMakeLists.txt | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/netscsid/CMakeLists.txt b/netscsid/CMakeLists.txt
16index f6bddf1..cf23312 100644
17--- a/netscsid/CMakeLists.txt
18+++ b/netscsid/CMakeLists.txt
19@@ -9,5 +9,5 @@ ADD_EXECUTABLE (netscsid netscsid.c)
20 #SET_SOURCE_FILES_PROPERTIES(netscsid.c )
21 TARGET_LINK_LIBRARIES(netscsid ${EXTRA_LIBS} )
22 #SET_TARGET_PROPERTIES(netscsid PROPERTIES SKIP_BUILD_RPATH TRUE)
23-INSTALL(TARGETS netscsid DESTINATION sbin)
24+INSTALL(TARGETS netscsid DESTINATION bin)
25
26--
272.27.0
28