From 922eaae5d497ddbe88384020a38bb2b15953725d Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 25 Jul 2011 11:48:58 -0700 Subject: cooker: only append files once A list can contain the same value twice, therefore only append to the appendlist for a recipe if the append file is not already in the list. (Bitbake rev: d11f9dd33cdcc97a4a937e8bf7e97558d813cadd) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bitbake/lib/bb/cooker.py') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 3959abf14d..40c2694a3e 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -1212,7 +1212,8 @@ class BBCooker: base = os.path.basename(f).replace('.bbappend', '.bb') if not base in self.appendlist: self.appendlist[base] = [] - self.appendlist[base].append(f) + if f not in self.appendlist[base]: + self.appendlist[base].append(f) # Find overlayed recipes # bbfiles will be in priority order which makes this easy -- cgit v1.2.3-54-g00ecf