]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
package.bbclass: Prevent perform_packagecopy from removing /sysroot-only
authorRuss Dill <russ.dill@nikolamotor.com>
Wed, 20 Apr 2022 16:03:29 +0000 (09:03 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Apr 2022 19:40:23 +0000 (20:40 +0100)
commit493145c6f1bc92ab2b7a23e181641b09df87c9ff
treed1ca3856ab964a3da5f10a891865e95ccc77f991
parentf099e0467599b18f162bc101d2de2fcc3a75b2ec
package.bbclass: Prevent perform_packagecopy from removing /sysroot-only

The files in /sysroot-only are intended to make it into the
recipes sysroot output, but not into the package. However, if
do_package is run before do_populate_sysroot, the files are
removed.

Use a smaller hammer to avoid copying the files into the package so
they are still around when do_populate_sysroot runs.

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
meta/classes/package.bbclass