[oe-commits] org.oe.angstrom-2007.12-stable applied changes from 465f9c73626153a7e195a5b8c08ae66282c3722f

pfalcon commit openembedded-commits at lists.openembedded.org
Sun Feb 17 11:23:02 UTC 2008


applied changes from 465f9c73626153a7e195a5b8c08ae66282c3722f
             through 242687582dbdcc1fdca2fc9af1f32a2b5c591f3c

bitbake.conf, image.bbclass: Add and use USERDISTRO var to preserve original DISTRO value. (PaulS, Koen)

Author: pfalcon at openembedded.org
Branch: org.openembedded.angstrom-2007.12-stable
Revision: c85783d7a75d18143af2aab8988ca7ab1d7a395a
ViewMTN: http://monotone.openembedded.org/revision/info/c85783d7a75d18143af2aab8988ca7ab1d7a395a
Files:
1
classes/image.bbclass
conf/bitbake.conf
Diffs:

#
# mt diff -r9142ddab9266fe28664e857a16778b86f7b50e4b -rc85783d7a75d18143af2aab8988ca7ab1d7a395a
#
# 
# 
# patch "classes/image.bbclass"
#  from [4d92381733b09bae07a07da35bd0024744924c3c]
#    to [5edb4feb89d27de2be70aebb9db168e754218491]
# 
# patch "conf/bitbake.conf"
#  from [5044eed5572b1c9c12c31cf7952ccedc1648524c]
#    to [3ca819883efb6751c2f90cd3efc826e055b8b9b0]
# 
============================================================
--- classes/image.bbclass	4d92381733b09bae07a07da35bd0024744924c3c
+++ classes/image.bbclass	5edb4feb89d27de2be70aebb9db168e754218491
@@ -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
@@ -201,3 +202,4 @@ addtask rootfs before do_build after do_
 EXPORT_FUNCTIONS zap_root_password create_etc_timestamp remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp
 
 addtask rootfs before do_build after do_install
+addtask deploy_to after do_rootfs
============================================================
--- conf/bitbake.conf	5044eed5572b1c9c12c31cf7952ccedc1648524c
+++ conf/bitbake.conf	3ca819883efb6751c2f90cd3efc826e055b8b9b0
@@ -529,6 +529,10 @@ include conf/local.conf
 include conf/site.conf
 include conf/auto.conf
 include conf/local.conf
+# USERDISTRO should always contain original DISTRO value as set by user
+# If a distro config overrides DISTRO for whatever reason (e.g. to get
+# overrides like it wants), USERDISTRO must be reassigned with := first
+USERDISTRO = "${DISTRO}"
 include conf/build/${BUILD_SYS}.conf
 include conf/target/${TARGET_SYS}.conf
 include conf/machine/${MACHINE}.conf






More information about the Openembedded-commits mailing list