diff options
-rw-r--r-- | meta/classes-recipe/kernel-module-split.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-module-split.bbclass b/meta/classes-recipe/kernel-module-split.bbclass index 75ed696b72..c289808404 100644 --- a/meta/classes-recipe/kernel-module-split.bbclass +++ b/meta/classes-recipe/kernel-module-split.bbclass | |||
@@ -131,7 +131,7 @@ python split_kernel_module_packages () { | |||
131 | if modconf and basename in modconflist: | 131 | if modconf and basename in modconflist: |
132 | os.makedirs(os.path.dirname(name), exist_ok=True) | 132 | os.makedirs(os.path.dirname(name), exist_ok=True) |
133 | with open(name, 'w') as f: | 133 | with open(name, 'w') as f: |
134 | f.write("%s\n" % modconf) | 134 | f.write("%s\n" % modconf.encode().decode('unicode-escape')) |
135 | elif modconf: | 135 | elif modconf: |
136 | bb.error("Please ensure module %s is listed in KERNEL_MODULE_PROBECONF since module_conf_%s is set" % (basename, basename)) | 136 | bb.error("Please ensure module %s is listed in KERNEL_MODULE_PROBECONF since module_conf_%s is set" % (basename, basename)) |
137 | # If the .conf file exits, then add it to FILES:* and CONFFILES:*. | 137 | # If the .conf file exits, then add it to FILES:* and CONFFILES:*. |