diff options
Diffstat (limited to 'meta-oe/recipes-multimedia')
-rw-r--r-- | meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb | 7 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/cdrkit/files/0001-install-netscsid-to-bin-for-nativesdk.patch | 28 |
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 | " |
15 | SRC_URI_append_class-nativesdk = " \ | ||
16 | file://0001-install-netscsid-to-bin-for-nativesdk.patch \ | ||
17 | " | ||
15 | SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9" | 18 | SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9" |
16 | SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da" | 19 | SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da" |
17 | 20 | ||
@@ -51,7 +54,7 @@ FILES_wodim = " \ | |||
51 | " | 54 | " |
52 | 55 | ||
53 | do_install_append() { | 56 | do_install_append() { |
54 | ln -sf ${bindir}/genisoimage ${D}${bindir}/mkisofs | 57 | ln -sf --relative ${D}${bindir}/genisoimage ${D}${bindir}/mkisofs |
55 | } | 58 | } |
56 | 59 | ||
57 | BBCLASSEXTEND = "native" | 60 | BBCLASSEXTEND = "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 @@ | |||
1 | From 6b698b7c1045d279fe24818d45c67d9884d5fd81 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Fri, 7 May 2021 15:10:04 +0800 | ||
4 | Subject: [PATCH] install netscsid to bin for nativesdk | ||
5 | |||
6 | For Yocto, the nativesdk does not have sbin dir, use bin to relpace | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe specific] | ||
9 | |||
10 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
11 | --- | ||
12 | netscsid/CMakeLists.txt | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/netscsid/CMakeLists.txt b/netscsid/CMakeLists.txt | ||
16 | index 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 | -- | ||
27 | 2.27.0 | ||
28 | |||