summaryrefslogtreecommitdiff
path: root/classes/image.bbclass
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-02-12 17:56:42 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-02-12 17:56:42 +0000
commitb9e4b25300b451df273a4d64aef4530b8ec18fbc (patch)
tree84400839bd02ce74d210740d796509a535007fae /classes/image.bbclass
parent7083b385f61a37eabba234ec5704e4e3e3c8cd26 (diff)
bitbake.conf, image.bbclass: Add and use USERDISTRO var to preserve original DISTRO value.
* Some distros override DISTRO var to hack overrides right, etc. Yet, original value may be needed sometimes. For example, bbimage expects DISTRO to be what user set/passed it, not something else. * TODO: After interim cleanup during preparation of this patch, it turns out that angstrom is the only distro to (ab)use DISTRO overriding. It may make sense to instead get its OVERRIDES value right.
Diffstat (limited to 'classes/image.bbclass')
-rw-r--r--classes/image.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass
index ca9c9458e1..d70cfa5daf 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -90,6 +90,7 @@ fakeroot do_rootfs () {
${IMAGE_PREPROCESS_COMMAND}
export TOPDIR=${TOPDIR}
+ export DISTRO=${USERDISTRO}
export MACHINE=${MACHINE}
for type in ${IMAGE_FSTYPES}; do