diff options
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch index 3824eb3b70..75c6f3b8de 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch +++ b/meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | |||
@@ -31,7 +31,7 @@ Index: git/opkg-build | |||
31 | + | 31 | + |
32 | +# Ignore error code 1, caused by modifying the number of hard links while creating the tar file | 32 | +# Ignore error code 1, caused by modifying the number of hard links while creating the tar file |
33 | +rc=0 | 33 | +rc=0 |
34 | +( cd $pkg_dir && tar $ogargs -X $tmp_dir/tarX -cz $tarformat -f $tmp_dir/data.tar.gz . ) || rc=$? | 34 | +( cd $pkg_dir && tar $ogargs -X $tmp_dir/tarX -c --$compressor $tarformat -f $tmp_dir/data.tar.$cext . ) || rc=$? |
35 | +if [ $rc -ne 1 ] && [ $rc -ne 0 ]; then | 35 | +if [ $rc -ne 1 ] && [ $rc -ne 0 ]; then |
36 | + exit $rc | 36 | + exit $rc |
37 | +fi | 37 | +fi |