[OE-core] [PATCH 1/1] base-files: create /usr/lib/locale dir
Phil Blundell
pb at pbcl.net
Tue Jun 18 09:12:09 UTC 2013
On Tue, 2013-06-18 at 16:42 +0800, Rongqing Li wrote:
> diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb
> b/meta/recipes-core/base-files/base-files_3.0.14.bb
> index fa1cc58..84663e3 100644
> --- a/meta/recipes-core/base-files/base-files_3.0.14.bb
> +++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
> @@ -139,6 +139,7 @@ do_install_append_linuxstdbase() {
> for d in ${dirs4775}; do
> install -m 2755 -d ${D}$d
> done
> + install -m 755 -d ${D}/usr/lib/locale
Thanks, that looks better. Could you not just add it to ${dirs3755}
though? (Despite the confusing/misleading name, this variable appears
to be a list of LSB directories that should be created with mode 0755,
cf ${dirs4755} which is apparently directories to be created with mode
2755.)
In a stylistic sense it might be better to use ${prefix}/lib/locale (or
whatever eglibc uses), but in practice LSB requires ${prefix}=="/usr",
and presumably lsbtest is looking for "/usr/lib/locale" specifically, so
I don't think it will actually make any functional difference in this
specific case.
p.
More information about the Openembedded-core
mailing list