[oe-commits] Kang Kai : bitbake.conf: update way to set default ROOT_HOME

git at git.openembedded.org git at git.openembedded.org
Fri May 10 10:36:31 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 902d3fa57d4659ee12aac80246dcaca5c45f9d8c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=902d3fa57d4659ee12aac80246dcaca5c45f9d8c

Author: Kang Kai <kai.kang at windriver.com>
Date:   Fri May 10 14:47:39 2013 +0800

bitbake.conf: update way to set default ROOT_HOME

Use "??=" to set default ROOT_HOME. It can be overwrote by developer
with "?=" in any layer and at same time it also can be overwrote in
local.conf.

Signed-off-by: Kang Kai <kai.kang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8d4ccce..86a4831 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -75,7 +75,7 @@ USRBINPATH_class-native = "/usr/bin"
 USRBINPATH_class-nativesdk = "/usr/bin"
 
 # Root home directory
-ROOT_HOME ?= "/home/root"
+ROOT_HOME ??= "/home/root"
 
 ##################################################################
 # Architecture-dependent build variables.





More information about the Openembedded-commits mailing list