bodnuti: [PATCH 0/2] rm_work: remove work directories for do_populate_sdk base: 39019629a4ad [PATCH 1/2] rm_work: also remove work directories for do_populate_sdk WARNING oelint oelint.task.noanonpython meta/classes/rm_work.bbclass:143 Avoid anonymous python functions as they are expensive and come with all sorts of side effects 140 | do_rm_work_populate_sdk[depends] = "${@d.getVarFlag('do_populate_sdk', 'depends') or ''}" 141 | do_rm_work_populate_sdk[rdepends] = "${@d.getVarFlag('do_populate_sdk', 'rdepends') or ''}" 142 | do_rm_work_populate_sdk[noexec] = "1" > 143 | python () { 144 | if d.getVarFlag('do_populate_sdk', 'task'): 145 | bb.build.addtask('do_rm_work_populate_sdk', 'do_populate_sdk', '', d) 146 | } [PATCH 2/2] documentation.conf: add do_rm_work_populate_sdk doc WARNING oelint oelint.vars.mispell.unknown meta/conf/documentation.conf:45 'do_rm_work_populate_sdk' is unknown. Consider adding it via --constantmods 42 | do_populate_sysroot[doc] = "Copies a subset of files installed by do_install into the sysroot in order to make them available to other recipes" 43 | do_rm_work[doc] = "Removes work files after the build system has finished with them" 44 | do_rm_work_all[doc] = "Top-level task for removing work files after the build system has finished with them" > 45 | do_rm_work_populate_sdk[doc] = "Removes work files of the recipes do_populate_sdk depends upon" 46 | do_rootfs[doc] = "Creates the root filesystem (file and directory structure) for an image" 47 | do_savedefconfig[doc] = "Creates a minimal Linux kernel configuration file" 48 | do_sizecheck[doc] = "Checks the size of the kernel image against KERNEL_IMAGE_MAXSIZE (if set)" style INFO oelint oelint.task.docstrings meta/classes/rm_work.bbclass:136 Every custom task should have a doc string set by task[doc] = '...' 133 | 134 | # Remove the work directories of the recipes do_populate_sdk depends on. 135 | # Only the dependencies on other recipes are copied, so the image isn't built. > 136 | do_rm_work_populate_sdk () { 137 | : 138 | } 139 | do_rm_work_populate_sdk[recrdeptask] = "do_rm_work" not checked shellcheck shellcheck could not parse meta/classes/rm_work.bbclass at line 22: Couldn't parse this brace group. Fix to allow more checks. (SC1073); its shell was not checked patchtest: 21 pass, 0 fail, 9 skip 2 findings: 0 errors, 2 warnings, 0 info (1 style, not counted)