diff options
Diffstat (limited to 'meta/classes/debian.bbclass')
-rw-r--r-- | meta/classes/debian.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass index 46a9d089c..188083077 100644 --- a/meta/classes/debian.bbclass +++ b/meta/classes/debian.bbclass @@ -104,6 +104,10 @@ python debian_package_name_hook () { newpkg = pkgname else: newpkg = pkg.replace(orig_pkg, devname, 1) + mlpre=bb.data.getVar('MLPREFIX', d, True) + if mlpre: + if not newpkg.find(mlpre) == 0: + newpkg = mlpre + newpkg if newpkg != pkg: bb.data.setVar('PKG_' + pkg, newpkg, d) |