[OE-core] [PATCH 09/10] classes/populate_sdk_ext: add some pre-install checks

Paul Eggleton paul.eggleton at linux.intel.com
Thu Aug 11 22:47:03 UTC 2016


On Thu, 11 Aug 2016 16:45:06 Paul Eggleton wrote:
> +        # Check setting of LC_ALL set above
> +	canonicalised_locale=`echo $LC_ALL | sed 's/UTF-8/utf8/'`
> +	if ! locale -a | grep -q $canonicalised_locale ; then
> +		echo "ERROR: the installer requires the $LC_ALL locale to be
> installed (but not selected), please install it first" 
> +		exit 1
> +	fi

Note that this will of course need updating if we go ahead with the fix for
the issue that Enrico brought up [1] then this will need to be changed as
well.

Cheers,
Paul

[1] http://lists.openembedded.org/pipermail/openembedded-core/2016-August/124896.html

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list