From 0f44e93f20279e48d1098f7b0a5dcde3c688249e Mon Sep 17 00:00:00 2001 From: Luca Ceresoli Date: Tue, 23 Jul 2019 16:05:13 +0000 Subject: [PATCH] ti-unpack.inc: abort if 32 bit libs are not installed ti_bin_do_unpack() detects the absence of the required 32 bit libraries, but only emits a warning. Later on the build will fail with a mysterious error. Fail immediately so the user can clearly read the error message and the (always appreciated) instructions on how to fix the problem. Signed-off-by: Luca Ceresoli Signed-off-by: Denys Dmytriyenko --- recipes-ti/includes/ti-unpack.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-ti/includes/ti-unpack.inc b/recipes-ti/includes/ti-unpack.inc index dbc49491..81fcf6a6 100644 --- a/recipes-ti/includes/ti-unpack.inc +++ b/recipes-ti/includes/ti-unpack.inc @@ -24,7 +24,7 @@ python ti_bin_do_unpack() { if os.path.exists('/lib64') and (os.path.islink('/lib64') or os.path.islink('/lib') or os.path.exists('/lib32')): lib32path = '/lib32' if not os.path.exists('%s/libc.so.6' % lib32path) and not os.path.exists('%s/i386-linux-gnu/libc.so.6' % lib32path): - bb.warn("TI installer requires 32bit glibc libraries for proper operation\nrun 'yum install glibc.i686' on Fedora or 'apt-get install libc6:i386' on Ubuntu/Debian") + bb.fatal("TI installer requires 32bit glibc libraries for proper operation\nrun 'yum install glibc.i686' on Fedora or 'apt-get install libc6:i386' on Ubuntu/Debian") localdata = bb.data.createCopy(d) bb.data.update_data(localdata)