From 3428eee3d15417d30c5ed0bcb34ef716a6d07c4a Mon Sep 17 00:00:00 2001 From: Urko Nalda Date: Thu, 10 Dec 2015 12:36:40 +0100 Subject: [PATCH] build.sh: add support for dey-image-tiny and dey-image-tiny-initramfs In order to build tiny or tiny-initramfs images, the script adds the line: DISTRO_FEATURES_remove = "x11" to 'conf/local.conf' file. https://jira.digi.com/browse/DEL-2106 Signed-off-by: Urko Nalda --- sdk/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/build.sh b/sdk/build.sh index 1a936d791..7abd9fe22 100755 --- a/sdk/build.sh +++ b/sdk/build.sh @@ -207,8 +207,8 @@ for platform in ${DY_PLATFORMS}; do if [ "${DY_RM_WORK}" = "true" ]; then printf "${RM_WORK_CFG}" >> conf/local.conf fi - # Remove 'x11' distro feature if building minimal images - if echo "${DY_TARGET}" | grep -qs "dey-image-minimal"; then + # Remove 'x11' distro feature if building minimal and tiny images + if echo "${DY_TARGET}" | grep -qs "^dey-image-\(minimal\|tiny\)"; then printf "${X11_REMOVAL_CFG}" >> conf/local.conf fi for target in ${DY_TARGET}; do