[bitbake-devel] [PATCH] bitbake: replace comment added in conf files

Cristiana Voicu cristiana.voicu at intel.com
Mon Oct 7 11:28:55 UTC 2013


The patch that implements removeConfigurationVar method was made before
merging the patch that replaces "added by bitbake" with "added by hob".
This patch corrects this issue.

[YOCTO #5284]
Signed-off-by: Cristiana Voicu <cristiana.voicu at intel.com>
---
 bitbake/lib/bb/cooker.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index d17716d..ad36b34 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -328,7 +328,7 @@ class BBCooker:
                     begin_line = total.count("\n",0,index)
 
                     #check if the variable was saved before in the same way
-                    if contents[begin_line-1]== "#added by bitbake\n":
+                    if contents[begin_line-1]== "#added by hob\n":
                         contents[begin_line-1] = contents[begin_line] = "\n"
                     else:
                         contents[begin_line] = "\n"
-- 
1.7.9.5




More information about the bitbake-devel mailing list