mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 14:56:43 +01:00
cdrkit: add nativesdk support
- Fix an absolute path symlink issue, replace with a relative link - Fix installed-vs-shipped QA Issue of nativesdk package ... |ERROR: nativesdk-cdrkit-1.1.11-r0 do_package: QA Issue: nativesdk-cdrkit: Files/directories were installed but not shipped in any package: | /opt/windriver/wrlinux-graphics/21.18/sysroots/x86_64-wrlinuxsdk-linux/usr/sbin/netscsid ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
c7f8fc0200
commit
f6b4cb0231
|
|
@ -12,6 +12,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
|
|||
file://0002-Do-not-use-rcmd-on-build-with-musl.patch \
|
||||
file://0001-genisoimage-Add-missing-extern-definition.patch \
|
||||
"
|
||||
SRC_URI_append_class-nativesdk = " \
|
||||
file://0001-install-netscsid-to-bin-for-nativesdk.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9"
|
||||
SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da"
|
||||
|
||||
|
|
@ -51,7 +54,7 @@ FILES_wodim = " \
|
|||
"
|
||||
|
||||
do_install_append() {
|
||||
ln -sf ${bindir}/genisoimage ${D}${bindir}/mkisofs
|
||||
ln -sf --relative ${D}${bindir}/genisoimage ${D}${bindir}/mkisofs
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
From 6b698b7c1045d279fe24818d45c67d9884d5fd81 Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Fri, 7 May 2021 15:10:04 +0800
|
||||
Subject: [PATCH] install netscsid to bin for nativesdk
|
||||
|
||||
For Yocto, the nativesdk does not have sbin dir, use bin to relpace
|
||||
|
||||
Upstream-Status: Inappropriate [oe specific]
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
netscsid/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/netscsid/CMakeLists.txt b/netscsid/CMakeLists.txt
|
||||
index f6bddf1..cf23312 100644
|
||||
--- a/netscsid/CMakeLists.txt
|
||||
+++ b/netscsid/CMakeLists.txt
|
||||
@@ -9,5 +9,5 @@ ADD_EXECUTABLE (netscsid netscsid.c)
|
||||
#SET_SOURCE_FILES_PROPERTIES(netscsid.c )
|
||||
TARGET_LINK_LIBRARIES(netscsid ${EXTRA_LIBS} )
|
||||
#SET_TARGET_PROPERTIES(netscsid PROPERTIES SKIP_BUILD_RPATH TRUE)
|
||||
-INSTALL(TARGETS netscsid DESTINATION sbin)
|
||||
+INSTALL(TARGETS netscsid DESTINATION bin)
|
||||
|
||||
--
|
||||
2.27.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user