summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-10-07 14:28:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-07 12:52:05 +0100
commit81e678bc0a6c727178d8216918234337f0b697e8 (patch)
tree73d2c508827fc1e5df6c88415f302553f4e58348 /bitbake/lib/bb/cooker.py
parent3c5b6af99110bd7f64f5240a3e9d156f0593c497 (diff)
downloadpoky-81e678bc0a6c727178d8216918234337f0b697e8.tar.gz
bitbake: 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] (Bitbake rev: 42601a5edef0316767b952b162123534aa8fee18) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index d17716d39e..ad36b34aa4 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -328,7 +328,7 @@ class BBCooker:
328 begin_line = total.count("\n",0,index) 328 begin_line = total.count("\n",0,index)
329 329
330 #check if the variable was saved before in the same way 330 #check if the variable was saved before in the same way
331 if contents[begin_line-1]== "#added by bitbake\n": 331 if contents[begin_line-1]== "#added by hob\n":
332 contents[begin_line-1] = contents[begin_line] = "\n" 332 contents[begin_line-1] = contents[begin_line] = "\n"
333 else: 333 else:
334 contents[begin_line] = "\n" 334 contents[begin_line] = "\n"