Patchwork [1/4] bitbake.conf: import var ROOT_HOME

login
register
mail settings
Submitter Kang Kai
Date Dec. 19, 2012, 9:39 a.m.
Message ID <21be2b547be10e5a1405b1b1f0a561df6b80a09e.1355902677.git.kai.kang@windriver.com>
Download mbox | patch
Permalink /patch/41329/
State Accepted
Commit de5b44a74018c49b6f3079c4c5085b4146b422c4
Headers show

Comments

Kang Kai - Dec. 19, 2012, 9:39 a.m.
Import var ROOT_HOME to configure root home directory dynamically.

[Yocto 2683]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta/conf/bitbake.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index be3bfc2..983b3c0 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -73,6 +73,9 @@  USRBINPATH = "${bindir}"
 USRBINPATH_class-native = "/usr/bin"
 USRBINPATH_class-nativesdk = "/usr/bin"
 
+# Root home directory
+ROOT_HOME ?= "/home/root"
+
 ##################################################################
 # Architecture-dependent build variables.
 ##################################################################