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 <Urko.Nalda@digi.com>
This commit is contained in:
parent
0e1bf79e56
commit
3428eee3d1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue