summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/rootfsdebugfiles.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-07 12:57:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-09 22:14:41 +0100
commit6fd8af0d30e555da55e5ca954009f32a84ced4a6 (patch)
treea8f0f66819459f548a9631161adc366bdc0da908 /meta/classes-recipe/rootfsdebugfiles.bbclass
parent32c98e6a8cd60aa5d2e60ab7b573ec6abae85ed4 (diff)
downloadpoky-6fd8af0d30e555da55e5ca954009f32a84ced4a6.tar.gz
classes: Drop ';' delimiter from ROOTFS/IMAGE*COMMAND variables
Originally these were shell functions but they have long since been processed by bb.build.exec_func(). Since we no longer need shell syntax, we can drop the ';' delimiters and just use a space separated string. This cleans up the variable and quietly removes any stray ';' that do happen to still make it in. (From OE-Core rev: c3365dfd9ddd7fbe70b62e0f11166e57a8ca6f73) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/rootfsdebugfiles.bbclass')
-rw-r--r--meta/classes-recipe/rootfsdebugfiles.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/rootfsdebugfiles.bbclass b/meta/classes-recipe/rootfsdebugfiles.bbclass
index cbcf876479..4c2fc1de25 100644
--- a/meta/classes-recipe/rootfsdebugfiles.bbclass
+++ b/meta/classes-recipe/rootfsdebugfiles.bbclass
@@ -34,7 +34,7 @@
34ROOTFS_DEBUG_FILES ?= "" 34ROOTFS_DEBUG_FILES ?= ""
35ROOTFS_DEBUG_FILES[doc] = "Lists additional files or directories to be installed with 'cp -a' in the format 'source1 target1;source2 target2;...'" 35ROOTFS_DEBUG_FILES[doc] = "Lists additional files or directories to be installed with 'cp -a' in the format 'source1 target1;source2 target2;...'"
36 36
37ROOTFS_POSTPROCESS_COMMAND += "rootfs_debug_files;" 37ROOTFS_POSTPROCESS_COMMAND += "rootfs_debug_files"
38rootfs_debug_files () { 38rootfs_debug_files () {
39 #!/bin/sh -e 39 #!/bin/sh -e
40 echo "${ROOTFS_DEBUG_FILES}" | sed -e 's/;/\n/g' | while read source target mode; do 40 echo "${ROOTFS_DEBUG_FILES}" | sed -e 's/;/\n/g' | while read source target mode; do