mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
staging.bbclass: Might as well drop the applications, fonts and pixmap directories from ${datadir}
These cause various file conflicts and aren't useful within the sysroot anyway. We might
as well remove them. Whitelisting the contents of ${datadir} that *is* useful might
be a better option in future.
(From OE-Core rev: c9fdd2fd108fa557d8f60339405447b4ea4d6f64)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8354db9258
commit
266d9ce1cf
|
|
@ -53,6 +53,7 @@ sysroot_stage_dirs() {
|
|||
sysroot_stage_dir $from${datadir} $to${datadir}
|
||||
# We don't care about docs/info/manpages/locales
|
||||
rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/ ${to}${datadir}/locale/
|
||||
rm -rf $to${datadir}/applications/ $to${datadir}/fonts/ $to${datadir}/pixmaps/
|
||||
}
|
||||
|
||||
sysroot_stage_all() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user