diff options
-rw-r--r-- | meta/classes/kernel-module-split.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass index 32b80856e0..cd42dbe846 100644 --- a/meta/classes/kernel-module-split.bbclass +++ b/meta/classes/kernel-module-split.bbclass | |||
@@ -148,7 +148,7 @@ python split_kernel_module_packages () { | |||
148 | postinst = d.getVar('pkg_postinst_%s' % pkg, True) | 148 | postinst = d.getVar('pkg_postinst_%s' % pkg, True) |
149 | if not postinst: | 149 | if not postinst: |
150 | bb.fatal("pkg_postinst_%s not defined" % pkg) | 150 | bb.fatal("pkg_postinst_%s not defined" % pkg) |
151 | postinst += d.getVar('autoload_postinst_fragment', True) % autoload | 151 | postinst += d.getVar('autoload_postinst_fragment', True) % (autoload or basename) |
152 | d.setVar('pkg_postinst_%s' % pkg, postinst) | 152 | d.setVar('pkg_postinst_%s' % pkg, postinst) |
153 | 153 | ||
154 | # Write out any modconf fragment | 154 | # Write out any modconf fragment |