Request to review and propagate two branches

Holger Freyther zecke at openmoko.org
Thu Mar 27 03:37:54 CET 2008


On Thursday 27 March 2008 03:01:38 Holger Freyther wrote:
> On Thursday 27 March 2008 01:46:18 Holger Freyther wrote:

Okay, I got the invariant wrong on the oe_libinstall. Not finding any or one 
lai files with the same name is fine. More than one is evil:



#
# old_revision [5439f8a2f7fc8aea9b32a5d1af1bc53635604c40]
#
# patch "classes/base.bbclass"
#  from [0087d01583787596e6c941c62c87d195d07ab3b1]
#    to [d290f309c62f93dc86b97a9375801e2ca5a3d078]
#
============================================================
--- classes/base.bbclass	0087d01583787596e6c941c62c87d195d07ab3b1
+++ classes/base.bbclass	d290f309c62f93dc86b97a9375801e2ca5a3d078
@@ -306,7 +306,7 @@ oe_libinstall() {
 
         # Sanity check that the libname.lai is unique
         number_of_files=`(cd $dir; find . -name "$dotlai") | wc -l`
-        if [ $number_of_files -ne 1 ]; then
+        if [ $number_of_files -gt 1 ]; then
             oefatal "oe_libinstall: $dotlai is not unique in $dir"
         fi



More information about the distro-devel mailing list