package_{deb, rpm, ipk}.bbclass: fix 'lingusa' typo
(From OE-Core rev: 5e22d7d1fea7dfb14380de5692e4b2940781b518) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d8ddc1a3e5
commit
6243fb5004
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue