Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

adding patch and another git source does not work in yocto

$
0
0

I have tried to add another git sources from another project and a patch like follwoing in bbappend file (fyi in the bb file I have the first git repo where I get my kernel source and it works) :

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"SRCREV_my_modules = "${AUTOREV}"SRC_URI += "git://server/produc/kernel-modules;protocol=ssh;branch=master;name=my_modules;destsuffix=${S}/my_modules"SRC_URI += "file://drivers_makefile.patch"

The problem is when I tried to build like following :

bitbake -c cleanall linuxbitbake linux

the changes does not take account, there are no sources getted from git and the patch is not applied

When I tried to make an error in git URI or in the name of patch bitbake detects the problem and shows an error even for git URI

ssh: Could not resolve hostname server: Name or service not knownfatal: Could not read from remote repository.

even in the patch file name.

fyi when I tried to add some symbolic link to the new source in do_compile_append() it works and the symbolic link is created but of course the link is done for nonexistent source code.

I do not see what is the problem? Can you help me to find the solution for that?

NOTE: I have followed the same idea of meta/recipes-core/glibc/cross-localedef-native_2.22.bb


Viewing all articles
Browse latest Browse all 6334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>