diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-11 23:01:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-14 16:55:21 +0100 |
commit | d3846f06d1e3faedcbc3c28e22c427bb0088683d (patch) | |
tree | c3ed2697085cc06dce01b3ddee017645155659e6 /meta/classes/staging.bbclass | |
parent | faf8f8660fae26a14578738b642fdeb08bcb9d54 (diff) | |
download | ast2050-yocto-poky-d3846f06d1e3faedcbc3c28e22c427bb0088683d.zip ast2050-yocto-poky-d3846f06d1e3faedcbc3c28e22c427bb0088683d.tar.gz |
classes: tar 1.27 fixes
tar version 1.27 returns:
tar: --same-order option cannot be used with -c
with the commandlines we have been using. We can remove the -s option (which
is --same-order) to remove the error.
(From OE-Core rev: 3d5a6d0a480a0fa98260a3b3ffc71b8d9e3e58af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/staging.bbclass')
-rw-r--r-- | meta/classes/staging.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index b522c7d..ae1c546 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass @@ -13,7 +13,7 @@ sysroot_stage_dir() { # However we always want to stage a $src itself, even if it's empty mkdir -p "$dest" if [ -d "$src" ]; then - tar -cf - -C "$src" -ps . | tar -xf - -C "$dest" + tar -cf - -C "$src" -p . | tar -xf - -C "$dest" fi } |