Last active
November 7, 2019 16:52
-
-
Save cengiz-io/7ff3ea865bd3148b228092e9c1a1b4cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IMAGE_INSTALL += " \ | |
myapp \ | |
bzip2 \ | |
curl \ | |
dosfstools \ | |
file \ | |
findutils \ | |
gdb \ | |
htop \ | |
i2c-tools \ | |
ldd \ | |
less \ | |
lrzsz \ | |
nano \ | |
strace \ | |
systemd-bootchart \ | |
tzcode \ | |
unzip \ | |
util-linux \ | |
util-linux-blkid \ | |
valgrind \ | |
vim \ | |
wget \ | |
zip \ | |
" | |
TOOLCHAIN_TARGET_TASK_append = " \ | |
mylib-dev \ | |
mylib-staticdev \ | |
" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUMMARY = "" | |
DESCRIPTION = "" | |
SECTION = "services" | |
LICENSE = "CLOSED" | |
FILESEXTRAPATHS_prepend := "${THISDIR}/${PV}:" | |
inherit cmake | |
DEPENDS = " mylib" | |
SRC_URI = " \ | |
git://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \ | |
" | |
SRCREV = "${AUTOREV}" | |
PV = "1.0+git${SRCPV}" | |
INSANE_SKIP_${PN}_append = "textrel" | |
S = "${WORKDIR}/git" | |
do_install_append() { | |
xxxxxxxxxxxxxxxx | |
xxxxxxxxxxxxxxxx | |
xxxxxxxxxxxxxxxx | |
} | |
FILES_${PN} += "/home/myapp" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: test-base-image-1.0-r0 do_populate_sdk: Unable to install packages. | |
Command '/build/tmp/work/test-fslc-linux-gnueabi/test-base-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg | |
--volatile-cache -f /build/tmp/work/test-fslc-linux-gnueabi/test-base-image/1.0-r0/opkg.conf | |
-t /build/tmp/work/test-fslc-linux-gnueabi/test-base-image/1.0-r0/temp/ipktemp/ | |
-o /build/tmp/work/test-fslc-linux-gnueabi/test-base-image/1.0-r0/sdk/image/opt/fslc-framebuffer/2.6.4/sysroots/armv7at2hf-neon-fslc-linux-gnueabi | |
--force_postinstall | |
--prefer-arch-to-version | |
install | |
myapp | |
mylib-dev | |
mylib-staticdev | |
base-passwd | |
bzip2 | |
curl | |
dosfstools | |
file | |
findutils | |
gdb | |
htop | |
i2c-tools | |
ldd | |
less | |
libc6-staticdev | |
lrzsz | |
nano | |
packagegroup-base-extended | |
packagegroup-core-boot | |
packagegroup-core-standalone-sdk-target | |
packagegroup-fsl-gstreamer1.0 | |
packagegroup-fsl-tools-gpu | |
packagegroup-fsl-tools-testapps | |
packagegroup-imx-tools-audio | |
packagegroup-tzdata | |
run-postinsts | |
shadow | |
strace | |
systemd-bootchart | |
target-sdk-provides-dummy | |
tzcode | |
unzip | |
util-linux | |
util-linux-blkid | |
valgrind | |
vim | |
wget | |
zip' returned 2: | |
Collected errors: | |
* Solver encountered 2 problem(s): | |
* Problem 1/2: | |
* - nothing provides mylib = 1.0+git0+98553092da-r0 needed by mylib-dev-1.0+git0+98553092da-r0.armv7at2hf-neon | |
* | |
* Solution 1: | |
* - do not ask to install a package providing mylib-dev | |
* Problem 2/2: | |
* - nothing provides mylib = 1.0+git0+98553092da-r0 needed by mylib-dev-1.0+git0+98553092da-r0.armv7at2hf-neon | |
* | |
* Solution 1: | |
* - do not ask to install a package providing mylib-staticdev | |
* opkg_finalize_intercepts: Failed to open dir /build/tmp/work/test-fslc-linux-gnueabi/test-base-image/ | |
1.0-r0/temp/ipktemp//opkg-fr9Bdh/opkg-intercept-6Yndaf: No such file or directory. | |
* rm_r: Failed to open dir /build/tmp/work/test-fslc-linux-gnueabi/test-base-image/ | |
1.0-r0/temp/ipktemp//opkg-fr9Bdh/opkg-intercept-6Yndaf: No such file or directory. | |
* rm_r: Failed to open dir /build/tmp/work/test-fslc-linux-gnueabi/test-base-image/ | |
1.0-r0/temp/ipktemp//opkg-fr9Bdh: No such file or directory. | |
ERROR: test-base-image-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk | |
ERROR: Logfile of failure stored in: /build/tmp/work/test-fslc-linux-gnueabi/test-base-image/1.0-r0/temp/log.do_populate_sdk.1078 | |
ERROR: Task (/yocto/sources/meta-xxxxxx/images/test-base-image.bb:do_populate_sdk) failed with exit code '1' | |
NOTE: Tasks Summary: Attempted 4296 tasks of which 4295 didn't need to be rerun and 1 failed. | |
NOTE: Writing buildhistory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUMMARY = "" | |
DESCRIPTION = "" | |
SECTION = "libs" | |
LICENSE = "CLOSED" | |
DEPENDS = "rsync-native" | |
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | |
SRC_URI += " \ | |
git://xxxxxxxxxxxxxxxxxxxxx \ | |
" | |
SRCREV = "${AUTOREV}" | |
PV = "1.0+git${SRCPV}" | |
S = "${WORKDIR}/git" | |
do_install() { | |
install -m 0755 -d ${D}${libdir} | |
install -m 644 ${S}/xxxxx/arm/Release/libxxxxxx_arm.a ${D}${libdir} | |
install -d ${D}${includedir} | |
rsync -a ${S}/xxxxxx/include/ ${D}${includedir} | |
} | |
INSANE_SKIP_${PN}_append = "already-stripped" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment