Patchwork package_{deb, rpm, ipk}.bbclass: fix 'lingusa' typo

login
register
mail settings
Submitter Koen Kooi
Date July 30, 2011, 12:46 p.m.
Message ID <1312030000-7961-1-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/8889/
State New, archived
Headers show

Comments

Koen Kooi - July 30, 2011, 12:46 p.m.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta/classes/package_deb.bbclass |    6 +++---
 meta/classes/package_ipk.bbclass |    6 +++---
 meta/classes/package_rpm.bbclass |    6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
Saul Wold - Aug. 2, 2011, 5:52 p.m.
On 07/30/2011 05:46 AM, Koen Kooi wrote:
> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
> ---
>   meta/classes/package_deb.bbclass |    6 +++---
>   meta/classes/package_ipk.bbclass |    6 +++---
>   meta/classes/package_rpm.bbclass |    6 +++---
>   3 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
> index fb502cb..8e363f8 100644
> --- a/meta/classes/package_deb.bbclass
> +++ b/meta/classes/package_deb.bbclass
> @@ -116,7 +116,7 @@ package_install_internal_deb () {
>   	local archs="${INSTALL_ARCHS_DEB}"
>   	local package_to_install="${INSTALL_PACKAGES_NORMAL_DEB}"
>   	local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_DEB}"
> -	local package_lingusa="${INSTALL_PACKAGES_LINGUAS_DEB}"
> +	local package_linguas="${INSTALL_PACKAGES_LINGUAS_DEB}"
>   	local task="${INSTALL_TASK_DEB}"
>
>   	rm -f ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev
> @@ -155,12 +155,12 @@ package_install_internal_deb () {
>
>   	# Uclibc builds don't provide this stuff..
>   	if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
> -		if [ ! -z "${package_lingusa}" ]; then
> +		if [ ! -z "${package_linguas}" ]; then
>   			apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated
>   			if [ $? -ne 0 ]; then
>   				exit 1
>   			fi
> -			for i in ${package_lingusa}; do
> +			for i in ${package_linguas}; do
>   				apt-get install $i --force-yes --allow-unauthenticated
>   				if [ $? -ne 0 ]; then
>   					exit 1
> diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
> index b7afa83..16574e9 100644
> --- a/meta/classes/package_ipk.bbclass
> +++ b/meta/classes/package_ipk.bbclass
> @@ -99,7 +99,7 @@ package_install_internal_ipk() {
>   	local conffile="${INSTALL_CONF_IPK}"
>   	local package_to_install="${INSTALL_PACKAGES_NORMAL_IPK}"
>   	local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_IPK}"
> -	local package_lingusa="${INSTALL_PACKAGES_LINGUAS_IPK}"
> +	local package_linguas="${INSTALL_PACKAGES_LINGUAS_IPK}"
>   	local package_multilib="${INSTALL_PACKAGES_MULTILIB_IPK}"
>   	local task="${INSTALL_TASK_IPK}"
>
> @@ -111,8 +111,8 @@ package_install_internal_ipk() {
>
>   	# Uclibc builds don't provide this stuff...
>   	if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
> -		if [ ! -z "${package_lingusa}" ]; then
> -			for i in ${package_lingusa}; do
> +		if [ ! -z "${package_linguas}" ]; then
> +			for i in ${package_linguas}; do
>   				opkg-cl ${ipkg_args} install $i
>   			done
>   		fi
> diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
> index 0377100..2cc0584 100644
> --- a/meta/classes/package_rpm.bbclass
> +++ b/meta/classes/package_rpm.bbclass
> @@ -194,7 +194,7 @@ package_install_internal_rpm () {
>   	local confbase="${INSTALL_CONFBASE_RPM}"
>   	local package_to_install="${INSTALL_PACKAGES_NORMAL_RPM}"
>   	local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_RPM}"
> -	local package_lingusa="${INSTALL_PACKAGES_LINGUAS_RPM}"
> +	local package_linguas="${INSTALL_PACKAGES_LINGUAS_RPM}"
>   	local providename="${INSTALL_PROVIDENAME_RPM}"
>   	local task="${INSTALL_TASK_RPM}"
>
> @@ -223,8 +223,8 @@ package_install_internal_rpm () {
>
>   	# Uclibc builds don't provide this stuff...
>   	if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
> -		if [ ! -z "${package_lingusa}" ]; then
> -			for pkg in ${package_lingusa}; do
> +		if [ ! -z "${package_linguas}" ]; then
> +			for pkg in ${package_linguas}; do
>   				echo "Processing $pkg..."
>
>   				archvar=base_package_archs

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index fb502cb..8e363f8 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -116,7 +116,7 @@  package_install_internal_deb () {
 	local archs="${INSTALL_ARCHS_DEB}"
 	local package_to_install="${INSTALL_PACKAGES_NORMAL_DEB}"
 	local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_DEB}"
-	local package_lingusa="${INSTALL_PACKAGES_LINGUAS_DEB}"
+	local package_linguas="${INSTALL_PACKAGES_LINGUAS_DEB}"
 	local task="${INSTALL_TASK_DEB}"
 
 	rm -f ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev
@@ -155,12 +155,12 @@  package_install_internal_deb () {
 
 	# Uclibc builds don't provide this stuff..
 	if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
-		if [ ! -z "${package_lingusa}" ]; then
+		if [ ! -z "${package_linguas}" ]; then
 			apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated
 			if [ $? -ne 0 ]; then
 				exit 1
 			fi
-			for i in ${package_lingusa}; do
+			for i in ${package_linguas}; do
 				apt-get install $i --force-yes --allow-unauthenticated
 				if [ $? -ne 0 ]; then
 					exit 1
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index b7afa83..16574e9 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -99,7 +99,7 @@  package_install_internal_ipk() {
 	local conffile="${INSTALL_CONF_IPK}"
 	local package_to_install="${INSTALL_PACKAGES_NORMAL_IPK}"
 	local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_IPK}"
-	local package_lingusa="${INSTALL_PACKAGES_LINGUAS_IPK}"
+	local package_linguas="${INSTALL_PACKAGES_LINGUAS_IPK}"
 	local package_multilib="${INSTALL_PACKAGES_MULTILIB_IPK}"
 	local task="${INSTALL_TASK_IPK}"
 
@@ -111,8 +111,8 @@  package_install_internal_ipk() {
 
 	# Uclibc builds don't provide this stuff...
 	if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
-		if [ ! -z "${package_lingusa}" ]; then
-			for i in ${package_lingusa}; do
+		if [ ! -z "${package_linguas}" ]; then
+			for i in ${package_linguas}; do
 				opkg-cl ${ipkg_args} install $i
 			done
 		fi
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 0377100..2cc0584 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -194,7 +194,7 @@  package_install_internal_rpm () {
 	local confbase="${INSTALL_CONFBASE_RPM}"
 	local package_to_install="${INSTALL_PACKAGES_NORMAL_RPM}"
 	local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_RPM}"
-	local package_lingusa="${INSTALL_PACKAGES_LINGUAS_RPM}"
+	local package_linguas="${INSTALL_PACKAGES_LINGUAS_RPM}"
 	local providename="${INSTALL_PROVIDENAME_RPM}"
 	local task="${INSTALL_TASK_RPM}"
 
@@ -223,8 +223,8 @@  package_install_internal_rpm () {
 
 	# Uclibc builds don't provide this stuff...
 	if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
-		if [ ! -z "${package_lingusa}" ]; then
-			for pkg in ${package_lingusa}; do
+		if [ ! -z "${package_linguas}" ]; then
+			for pkg in ${package_linguas}; do
 				echo "Processing $pkg..."
 
 				archvar=base_package_archs