diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2020-04-06 16:48:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-06 16:45:11 +0100 |
commit | f15a1f2b7f53b574b5fe0294fc16e88546f97875 (patch) | |
tree | 9123aed9e3ee786926c8dbc957c0c80a4f65c40e /scripts | |
parent | d4fb02ee8b9ccb27b85581904f05d63e74eb5ac8 (diff) | |
download | poky-f15a1f2b7f53b574b5fe0294fc16e88546f97875.tar.gz |
runqemu-extract-sdk: fix install debugfs on rootfs
At least with my current setup and acc. the manual, the images are named
like image-dbg.rootfs.tar.bz2.
The filter has two bugs:
- expects something like -dbg.tar
- tar without compression suffix is not allowed
(From OE-Core rev: e5fb903db308c508fc44bada89fd0210810301a9)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu-extract-sdk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk index 8a4ee90a1d..9bc0c07fb8 100755 --- a/scripts/runqemu-extract-sdk +++ b/scripts/runqemu-extract-sdk | |||
@@ -69,7 +69,7 @@ fi | |||
69 | pseudo_state_dir="$SDK_ROOTFS_DIR/../$(basename "$SDK_ROOTFS_DIR").pseudo_state" | 69 | pseudo_state_dir="$SDK_ROOTFS_DIR/../$(basename "$SDK_ROOTFS_DIR").pseudo_state" |
70 | pseudo_state_dir="$(readlink -f $pseudo_state_dir)" | 70 | pseudo_state_dir="$(readlink -f $pseudo_state_dir)" |
71 | 71 | ||
72 | debug_image="`echo $ROOTFS_TARBALL | grep '\-dbg\.tar\.'`" | 72 | debug_image="`echo $ROOTFS_TARBALL | grep '\-dbg\.rootfs\.tar'`" |
73 | 73 | ||
74 | if [ -e "$pseudo_state_dir" -a -z "$debug_image" ]; then | 74 | if [ -e "$pseudo_state_dir" -a -z "$debug_image" ]; then |
75 | echo "Error: $pseudo_state_dir already exists!" | 75 | echo "Error: $pseudo_state_dir already exists!" |