From ab0e748c5652a86d6c535c1f0979aa7d3d367d6e Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Tue, 21 Feb 2023 15:44:38 -0500 Subject: [PATCH] build-appliance-image: set TERM Choose a nicer terminal for the build appliance so that build warnings and errors show up in colour instead of: $<50>Setscene tasks: 2844 of 2844 $<50>WARNING: mesa-2_22.3.3-r0 do_fetch: Failed to fetch URL https://mesa.freedesktop.org/archive/mesa-22.3.3.tar.xz, attempting MIRRORS if available $<50>WARNING: glslang-native-1_1.3.236.0-r0 do_fetch: Failed to fetch URL git://github.com/KhronosGroup/glslang.git;protocol=https;branch=master, attempting MIRRORS if available Signed-off-by: Trevor Woerner Signed-off-by: Richard Purdie --- meta/recipes-core/images/build-appliance-image_15.0.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index 064e7a1ed82..ce5af7764c4 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -63,6 +63,7 @@ fakeroot do_populate_poky_src () { echo "INHERIT += \"rm_work\"" >> ${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf echo "export LC_ALL=en_US.utf8" >> ${IMAGE_ROOTFS}/home/builder/.bashrc + echo "export TERM=xterm-color" >> ${IMAGE_ROOTFS}/home/builder/.bashrc # Also save (for reference only) the actual SRCREV used to create this image echo "export BA_SRCREV=${SRCREV}" >> ${IMAGE_ROOTFS}/home/builder/.bashrc -- 2.47.3