summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/debian.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/debian.bbclass b/classes/debian.bbclass
index 2480ffd664..d66c1fc763 100644
--- a/classes/debian.bbclass
+++ b/classes/debian.bbclass
@@ -79,7 +79,7 @@ python debian_package_name_hook () {
if pkg == orig_pkg:
newpkg = pkgname
else:
- newpkg = pkg.replace(orig_pkg, devname)
+ newpkg = pkg.replace(orig_pkg, devname, 1)
if newpkg != pkg:
bb.data.setVar('PKG_' + pkg, newpkg, d)