How could we add some additional kernel files to sysroot directory? I want to extend do_populate_sysroot
task, how can we to copy few more files into sysroot after do_populate_sysroot
and before do_package
? I tried to create do_populate_sysroot_append()
in recipe but it is getting parsing error. How could we add file in sysroot after populate_sysroot
and before do_package
task starts? How can we create new task in between?
do_populate_sysroot
is a python function so if you append it with shell then parse errors are to be expected.
If you want to stage more files then you can either append sysroot_stage_all
or write a function that calls sysroot_stage_dir
and add it to SYSROOT_PREPROCESS_FUNCS
.
There are examples of both of these methods in oe-core.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With