The documentation for do_populate_sysroot seems a bit terse at the moment. I suggest writing something like the following, which also makes staging.bbclass easier to find: "Copies a subset of the files installed by the do_install task into the sysroot to make them available to other recipes. Files that would typically not be needed by other recipes at build time are skipped, including files installed into /etc. See [staging.bbclass] for exactly which files are copied."
Hi, See http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#ref-tasks-populate_sysroot for the updated explanation of do_populate_sysroot. Also, I noticed that the staging class description (http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#ref-classes-staging) really doesn't say much about it. Do you have any suggestions for this class? Thanks, Scott
Looks good - thanks! Maybe staging.bbclass could be rephrased like this, though I don't think it's that bad as is: "The staging class provides the do_populate_sysroot task, which stages files into the sysroot to make them available to other recipes at build time." With that wording it's clearer that do_populate_sysroot is from staging.bbclass.
Thanks, Your wording is fine. I updated the section. See http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#ref-classes-staging. Scott
Closing this one out.