From b10f2a74e42a73a284bcfb46db57202fc1ee9e49 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Wed, 20 Mar 2013 15:21:31 -0700 Subject: package_{ipk, deb, rpm}: drop the TARGET_OS conditional The tclibc file for uclibc already empties IMAGE_LINGUAS, so there's no point to this conditional as far as I can tell, and it can cause issues for certain values of TARGET_OS. (From OE-Core rev: 0fdda5840452c7715ed775d5d18d9f850396f483) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- meta/classes/package_deb.bbclass | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'meta/classes/package_deb.bbclass') diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 84b1c522e7..455919913b 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass @@ -101,16 +101,13 @@ package_install_internal_deb () { apt-get update - # Uclibc builds don't provide this stuff.. - if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then - if [ ! -z "${package_linguas}" ]; then - for i in ${package_linguas}; do - apt-get install $i --force-yes --allow-unauthenticated - if [ $? -ne 0 ]; then - exit 1 - fi - done - fi + if [ ! -z "${package_linguas}" ]; then + for i in ${package_linguas}; do + apt-get install $i --force-yes --allow-unauthenticated + if [ $? -ne 0 ]; then + exit 1 + fi + done fi # normal install -- cgit v1.2.3-54-g00ecf