staging.bbclass: Might as well drop the applications, fonts and pixmap directories from ${datadir}
PATCH 1/1 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.
Signed-off-by Richard Purdie <[email protected]>
---
meta/classes/staging.bbclass +1 -0
@@ -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() {