classes/insane.bbclass: Do not follow links, fix the issue that made koen add bb...
authorHolger Freyther <zecke@selfish.org>
Wed, 21 Feb 2007 22:48:55 +0000 (22:48 +0000)
committerHolger Freyther <zecke@selfish.org>
Wed, 21 Feb 2007 22:48:55 +0000 (22:48 +0000)
commitc9ac9672ebe052a347c40c46152287a6d66b6d0b
tree425012b3fb827010ff4fbd2bc98438d4af5a2247
parente46add2af9557af0174688046b1fb73865d0c2e5
classes/insane.bbclass: Do not follow links, fix the issue that made koen add bb.fatal
    udev has a link to host binaries, do not check the architecture
    of these binaries. We will skip all links for now for the two
    reasons:
        -We either point to a file in our package and then we will
         check it anyway
        -It is a file for a another package, which will be checked
         anyway
    Make architecture mismatch a fatal/insane error and return False.
    This should fix the issue koen has seen when he added a bb.fatal
    the make_fatal_error method returns true if the error should be
    made fatal, in this case our checks need to set sane to False.
    The return not makes sure this is happening.
classes/insane.bbclass