summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfsdebugfiles.bbclass
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2020-07-08 13:09:35 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-27 10:37:57 +0100
commit7d82155fd5a4718d7375327a36651413fcc47d68 (patch)
tree0f2ea5f3b2d1d11898fe22ad01751b684735bcb2 /meta/classes/rootfsdebugfiles.bbclass
parent6c2bb4a4ad097e3f24e59731a551c2e33f97d4b3 (diff)
downloadpoky-7d82155fd5a4718d7375327a36651413fcc47d68.tar.gz
rootfs-post: remove traling blanks from tasks
remove the traling blanks before the ;-delimiter, so one could use "_remove" to avoid running tasks like 'rootfs_update_timestamp', which are currently hardcoded and not bound to any configurable feature flag (From OE-Core rev: 8c835f63c2bca0a66385eb7ea5ec021d86265777) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfsdebugfiles.bbclass')
-rw-r--r--meta/classes/rootfsdebugfiles.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfsdebugfiles.bbclass b/meta/classes/rootfsdebugfiles.bbclass
index e2ba4e3647..85c7ec7434 100644
--- a/meta/classes/rootfsdebugfiles.bbclass
+++ b/meta/classes/rootfsdebugfiles.bbclass
@@ -28,7 +28,7 @@
28ROOTFS_DEBUG_FILES ?= "" 28ROOTFS_DEBUG_FILES ?= ""
29ROOTFS_DEBUG_FILES[doc] = "Lists additional files or directories to be installed with 'cp -a' in the format 'source1 target1;source2 target2;...'" 29ROOTFS_DEBUG_FILES[doc] = "Lists additional files or directories to be installed with 'cp -a' in the format 'source1 target1;source2 target2;...'"
30 30
31ROOTFS_POSTPROCESS_COMMAND += "rootfs_debug_files ;" 31ROOTFS_POSTPROCESS_COMMAND += "rootfs_debug_files;"
32rootfs_debug_files () { 32rootfs_debug_files () {
33 #!/bin/sh -e 33 #!/bin/sh -e
34 echo "${ROOTFS_DEBUG_FILES}" | sed -e 's/;/\n/g' | while read source target mode; do 34 echo "${ROOTFS_DEBUG_FILES}" | sed -e 's/;/\n/g' | while read source target mode; do