diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2022-01-06 18:16:24 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-08 14:17:35 +0000 |
commit | 5d653957d599e3e5bf5ed453d7098aed92c2de3c (patch) | |
tree | 5c515c01ca6c700a75718ff3ad26160e3f3a921d /documentation/overview-manual | |
parent | d55fbf4779483d2cfd71df78d0f733b599fef739 (diff) | |
download | poky-5d653957d599e3e5bf5ed453d7098aed92c2de3c.tar.gz |
populate_sdk_base: remove unneeded dirs such as /dev
We met a problem that core-image-tiny-initramfs's SDK cannot be
installed. The error message is like below.
tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod: Operation not permitted
In fact, the '/dev' direcotry is not needed by SDK. So remove it.
This patches uses a variable, SDK_PRUNE_SYSROOT_DIRS, to hold useless dir entries
so that it could be extended. For example, '/usr/bin' could be added if wanted.
(From OE-Core rev: 9154f71c7267e9731156c1dfd57397103e9e6a2b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/overview-manual')
0 files changed, 0 insertions, 0 deletions