Skip to contentSkip to conversation

distro/minimal.conf: Dont keep CACHE as weak assignment.

PATCH New Khem Raj 1 participant 1 message May 24, 2010

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 distro/minimal.conf: Dont keep CACHE as weak assignment.

* As this is a weak assignment and bitbake.conf has a proper assignment and bitbake.conf is included before distro conf file it leaves this weak assignment as no-op. The problem happens when using minimal but changing libc from eglibc to uclibc then it will use same cache directory and then its infact wrong.

---
 conf/distro/minimal.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
conf/distro/minimal.conf +1 -1
index f42f1b6..1e72efd 100644
@@ -66,7 +66,7 @@ IPKG_VARIANT = "opkg-nogpg"
 #############################################################################
 # Name the generated images in a sane way
 IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${LIBC}-${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}"
-CACHE ?= "${TMPDIR}/cache/${LIBC}/${MACHINE}"
+CACHE = "${TMPDIR}/cache/${LIBC}/${MACHINE}"
 DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}"
 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
 SPLASH ?= '${@base_contains("MACHINE_FEATURES", "screen", "psplash", "",d)}'
Signature · 1 line
1.7.0.4