]> code.ossystems Code Review - openembedded-core.git/commit
license_image: Fix rootfs file ownership issues with COPY_LIC_DIRS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Nov 2018 13:53:01 +0000 (13:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Nov 2018 15:18:28 +0000 (15:18 +0000)
commit6aa0eeaa4d31a440700f7695174de2a1dcc54866
tree301bb169702a089cdc5e9dbe56ac275109d44a5f
parentf13c303491dc8850126ea14baedc7b63b7b5ecf4
license_image: Fix rootfs file ownership issues with COPY_LIC_DIRS

We need to set ownership of the license files after copying into the rootfs.
We also need to ensure we don't overwrite the rootfs files outside rootfs
generation, hence only write there when the new rootfs function parameter
is True.

[YOCTO #12961]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/license_image.bbclass