summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/staging.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 1af9b1575c..cf160a76fd 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() {