Is this use case possible with Yocto eSDK or does it need a full build?
- Add a file into a local clone of an application's repository that is not to be used in building but to be installed into the target. In this case, it is a systemd .service file.
- Add that file into that application's Yocto recipe on the list of files that are installed by the recipe and also add the lines needed to actually install it.
- Run build for that recipe in order to verify that all files end up where they should.
It seems to me that with the eSDK, devtool modify allows me to modify the application's source code, but it only works when the list of files that the recipe installs is not changed.
What I have tried so far is doing the addition files in the .bbappend file created by devtool modify and then trying devtool build, but I am getting an error from do_install saying that the new file, a systemd .service file doesn't exist. The file is in the clone of the application's repository but devtool/bitbake is looking for it in <esdk-install-dir>/tmp/work/<machine>/<recipe-name>/<version>/git/<new-systemd-service>.service.
With a full build, this worked. I modified both the recipe and the source code and didn't get that error about a file missing when I built the recipe.