summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Remmet <j.remmet@phytec.de>2018-12-06 14:32:55 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2018-12-10 10:41:42 +0100
commit587654d747006d4d1f7ab719cd9eb20d9397ed09 (patch)
treedead245f8c289aa508d4abeff78a9cac81d2f9ea
parent431edeed767eb59255c8346df973bc0bccf7291f (diff)
downloadmeta-phytec-587654d747006d4d1f7ab719cd9eb20d9397ed09.tar.bz2
meta-phytec-587654d747006d4d1f7ab719cd9eb20d9397ed09.zip
recipes-kernel: bootlogo
Injection of bootloader will fail with "ERROR: Unable to parse..." if devtool finish / update is used. Since rocko branch a do_patch_append task with mixed shell and python can not be parsed by the codeparser of bitbake. So we have to convert this task to a python task. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-kernel/linux/bootlogo.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-kernel/linux/bootlogo.inc b/recipes-kernel/linux/bootlogo.inc
index 0736143..a647244 100644
--- a/recipes-kernel/linux/bootlogo.inc
+++ b/recipes-kernel/linux/bootlogo.inc
@@ -4,7 +4,7 @@
# the fist picture found in SRC_URI, will be convert and used as bootlogo
# the picture size should match the lcd resolution
-do_patch_append () {
+python do_add_logo () {
logo = os.path.join(d.getVar('STAGING_KERNEL_DIR', True),
"drivers/video/logo/logo_linux_clut224.ppm")
for s in src_patches(d, True):
@@ -16,5 +16,6 @@ do_patch_append () {
break
}
-do_patch[depends] += "imagemagick-native:do_populate_sysroot"
+do_add_logo[depends] += "imagemagick-native:do_populate_sysroot"
+addtask add_logo after do_patch before do_compile