From: Cristiana Voicu Date: Mon, 7 Oct 2013 11:28:55 +0000 (+0300) Subject: bitbake: replace comment added in conf files X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42601a5edef0316767b952b162123534aa8fee18;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: replace comment added in conf files 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 Signed-off-by: Richard Purdie --- diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index d17716d39e8..ad36b34aa48 100644 --- a/lib/bb/cooker.py +++ b/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"