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

login
register
mail settings
Submitter Cristiana Voicu
Date Oct. 7, 2013, 11:28 a.m.
Message ID <1381145335-13742-1-git-send-email-cristiana.voicu@intel.com>
Download mbox | patch
Permalink /patch/59331/
State New
Headers show

Comments

Cristiana Voicu - Oct. 7, 2013, 11:28 a.m.
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@intel.com>
---
 bitbake/lib/bb/cooker.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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"