From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Subject: Re: [PATCH] package_{deb, rpm, ipk}.bbclass: fix 'lingusa' typo
Date: Tue, 02 Aug 2011 10:52:10 -0700 [thread overview]
Message-ID: <4E38394A.2030205@linux.intel.com> (raw)
In-Reply-To: <1312030000-7961-1-git-send-email-koen@dominion.thruhere.net>
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!
prev parent reply other threads:[~2011-08-02 17:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-30 12:46 [PATCH] package_{deb, rpm, ipk}.bbclass: fix 'lingusa' typo Koen Kooi
2011-08-02 17:52 ` Saul Wold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E38394A.2030205@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=koen@dominion.thruhere.net \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox