summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/linux/linux-mfgtool.inc13
1 files changed, 2 insertions, 11 deletions
diff --git a/recipes-kernel/linux/linux-mfgtool.inc b/recipes-kernel/linux/linux-mfgtool.inc
index 915090dc..dc06c541 100644
--- a/recipes-kernel/linux/linux-mfgtool.inc
+++ b/recipes-kernel/linux/linux-mfgtool.inc
@@ -52,18 +52,9 @@ python () {
52 52
53 class LinuxMfgToolExtender(ClassExtender): 53 class LinuxMfgToolExtender(ClassExtender):
54 def extend_name(self, name): 54 def extend_name(self, name):
55 if name.startswith("rtld"): 55 if name.startswith("kernel-"):
56 return name
57 if name.endswith("-" + self.extname):
58 name = name.replace("-" + self.extname, "")
59 if name.startswith("virtual/"):
60 subs = name.split("/", 1)[1]
61 if not subs.startswith(self.extname):
62 return "virtual/" + self.extname + "-" + subs
63 return name
64 if not name.startswith(self.extname):
65 return self.extname + "-" + name 56 return self.extname + "-" + name
66 return name 57 return super().extend_name(name)
67 58
68 clsextend = LinuxMfgToolExtender("mfgtool", d) 59 clsextend = LinuxMfgToolExtender("mfgtool", d)
69 clsextend.rename_packages() 60 clsextend.rename_packages()