Patchwork staging.bbclass: Also don't bother staging locale files, its pointless

login
register
mail settings
Submitter Richard Purdie
Date July 19, 2012, 1:24 p.m.
Message ID <1342704299.7940.12.camel@ted>
Download mbox | patch
Permalink /patch/32525/
State Accepted
Commit 782ce542a8250133cf1b1bc32927c17cd09cfca3
Headers show

Comments

Richard Purdie - July 19, 2012, 1:24 p.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 1af9b15..cf160a7 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -51,8 +51,8 @@  sysroot_stage_dirs() {
 		sysroot_stage_libdir $from${base_libdir} $to${base_libdir}
 	fi
 	sysroot_stage_dir $from${datadir} $to${datadir}
-	# We don't care about docs/info/manpages
-	rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/
+	# We don't care about docs/info/manpages/locales
+	rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/ ${to}${datadir}/locale/
 }
 
 sysroot_stage_all() {