[bitbake-devel] [PATCH] Revert "bitbake: cooker: Ensure bbappends are found in stable order"

Martin Jansa martin.jansa at gmail.com
Thu Sep 12 12:36:27 UTC 2019


This reverts commit 94c0c7f15c7a6244a8576ed948ffc21afb96ba82.

This ignores the layer priority, making the issue much worse.
E.g. I'm seeing a lot of failures caused by missing users, because
base-passwd bbappends applied in unexpected order caused different
passwd.master to be found in re-ordered FILESPATH.

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 lib/bb/cooker.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 89d1916e..a0e60024 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1855,7 +1855,6 @@ class CookerCollectFiles(object):
             (bbappend, filename) = b
             if (bbappend == f) or ('%' in bbappend and bbappend.startswith(f[:bbappend.index('%')])):
                 filelist.append(filename)
-        filelist.sort()
         return filelist
 
     def collection_priorities(self, pkgfns, d):
-- 
2.17.1



More information about the bitbake-devel mailing list