The anaconda image needs some files in the work dir of the target
build image, if the rm_work feature is enabled, these files will
be removed and the anaconda image will be incorrect, so exclude
these image recipes from rm_work features to ensure the required
files will not be removed.
Issue-ID: INF-178
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I2ccd1b86b6cab14283e56291d4af07bc58de09b7
if [ "${RM_WORK}" == "Yes" ]; then
echo "INHERIT += 'rm_work'" | tee -a conf/local.conf
+ echo "RM_WORK_EXCLUDE += '${IMG_STX}'" | tee -a conf/local.conf
fi
if [ "${RM_WORK}" == "Yes" ]; then
echo "INHERIT += 'rm_work'" | tee -a conf/local.conf
+ echo "RM_WORK_EXCLUDE += '${IMG_ANACONDA}'" | tee -a conf/local.conf
fi
if [ "${EXTRA_CONF}" != "" ] && [ -f "${EXTRA_CONF}" ]; then