Add DEBIAN_NOAUTONAME_ variable to disable debian.bbclass renaming for specific packages.
authorRichard Purdie <rpurdie@rpsys.net>
Sun, 12 Feb 2006 17:10:46 +0000 (17:10 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 12 Feb 2006 17:10:46 +0000 (17:10 +0000)
classes/debian.bbclass

index d66c1fc..63a126c 100644 (file)
@@ -74,7 +74,7 @@ python debian_package_name_hook () {
                        if soname_result:
                                (pkgname, devname) = soname_result
                                for pkg in packages.split():
-                                       if (bb.data.getVar('PKG_' + pkg, d)):
+                                       if (bb.data.getVar('PKG_' + pkg, d) or bb.data.getVar('DEBIAN_NOAUTONAME_' + pkg, d)):
                                                continue
                                        if pkg == orig_pkg:
                                                newpkg = pkgname