]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
build-appliance-image: set TERM
authorTrevor Woerner <twoerner@gmail.com>
Tue, 21 Feb 2023 20:44:38 +0000 (15:44 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2023 12:09:40 +0000 (12:09 +0000)
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 <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/images/build-appliance-image_15.0.0.bb

index 064e7a1ed82fcef4d67362cc0f8095765e544e3b..ce5af7764c43c6e0884448ee0d312b7afe7d4f0e 100644 (file)
@@ -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