On 05/29/2018 09:39 AM, Robert Yang wrote:


On 05/29/2018 01:14 AM, Randy MacLeod wrote:
On 05/24/2018 10:48 PM, Robert Yang wrote:
Usually, the debugfs' (-dbg.tar.*) work follow is:
s/work follow/workflow/
1) Install regular rootfs to dir_foo
2) Install debugfs (-dbg.tar.*) to the same dir_foo

So we need allow install debugfs on rootfs.
So we need to allow installing the debugfs on top of the rootfs.


or at least, I think that's what you mean.

Thanks, done.

I meant updated in the repo:

  git://git.openembedded.org/openembedded-core-contrib rbt/fix_from_wr
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/fix_from_wr

// Robert


// Robert

../Randy

Signed-off-by: Robert Yang <liezhi.y...@windriver.com>
---
  scripts/runqemu-extract-sdk | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk
index 2a0dd50..f4286ef 100755
--- a/scripts/runqemu-extract-sdk
+++ b/scripts/runqemu-extract-sdk
@@ -76,7 +76,9 @@ fi
  pseudo_state_dir="$SDK_ROOTFS_DIR/../$(basename "$SDK_ROOTFS_DIR").pseudo_state"
  pseudo_state_dir="$(readlink -f $pseudo_state_dir)"
-if [ -e "$pseudo_state_dir" ]; then
+debug_image="`echo $ROOTFS_TARBALL | grep '\-dbg\.tar\.'`"
+
+if [ -e "$pseudo_state_dir" -a -z "$debug_image" ]; then
      echo "Error: $pseudo_state_dir already exists!"
      echo "Please delete the rootfs tree and pseudo directory manually"
          echo "if this is really what you want."



--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to