* Add additional file with execute permission to SDK
@ 2018-07-02 11:51 Jan Krause
0 siblings, 0 replies; only message in thread
From: Jan Krause @ 2018-07-02 11:51 UTC (permalink / raw)
To: yocto
Hello
I try to add an additional shell script to a Yocto SDK (release rocko). The
file should be installed directly in the target directory of the SDK (same
directory where the environment-setup-* file is installed). I added a
meta-environment.bbappend and do something like this:
create_sdk_files_append() {
cp script.sh ${SDK_OUTPUT}/${SDKPATH}/
}
do_install_append() {
# This makes populate_sdk fail
chmod +x ${D}/${SDKPATH}/script.sh
}
The create_sdk_files_append is enough to include the file in the SDK. The
SDK is successfully generated but script.sh has no execute permission after
SDK installation. To add the execute permission I used do_install_append.
But then populate_sdk fails.
Problem: package
packagegroup-cross-canadian-raspberrypi3-1.0-r0.x86_64_nativesdk requires
meta-environment-raspberrypi3, but none of the providers can be installed
- conflicting requests
- nothing provides /bin/bash needed by
meta-environment-raspberrypi3-1.0-r8.x86_64_nativesdk
How can I fix this problem?
Regards
Jan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-02 11:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-02 11:51 Add additional file with execute permission to SDK Jan Krause
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.