Bug 12961 - Files from COPY_LIC_DIRS have wrong owner on target
Summary: Files from COPY_LIC_DIRS have wrong owner on target
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 2.4.5
Hardware: All Multiple
: Medium normal
Target Milestone: 2.7
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-10-16 13:04 UTC by Ernst Persson
Modified: 2018-11-24 00:09 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Persson 2018-10-16 13:04:59 UTC
The files installed on the target image by COPY_LIC_DIRS are owned by my local user that doesn't exist on target.
Looks like some missing fakeroot.
Comment 1 Ernst Persson 2018-10-16 13:10:48 UTC
For example the file
/usr/share/common-licenses/systemd/recipeinfo
Comment 2 Ross Burton 2018-10-17 12:20:17 UTC
Had a quick look at this: the code is using os.link to get files into the rootfs *from the deploy dir* which is why the ownership is wrong.