[oe-commits] [openembedded-core] 12/17: opkg-utils: refresh patch to fix selectable compressors

git at git.openembedded.org git at git.openembedded.org
Mon Jan 22 23:28:42 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 3c9cf1dd73d82f11d42d8c262f6bb1f483a31c8a
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Jan 22 17:16:48 2018 +0000

    opkg-utils: refresh patch to fix selectable compressors
    
    We patch opkg-build to ignore hard link count changes when archiving, but in the
    last upgrade (oe-core 60c9a97) the patch was refreshed to apply but the result
    is that opkg-build loses the ability to switch compressor.
    
    Refresh the patch again so that it just adds the error ignoring logic and
    doesn't otherwise change the behaviour of opkg-build.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 3824eb3..75c6f3b 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
 +
 +# Ignore error code 1, caused by modifying the number of hard links while creating the tar file
 +rc=0
-+( cd $pkg_dir && tar $ogargs -X $tmp_dir/tarX -cz $tarformat -f $tmp_dir/data.tar.gz . ) || rc=$?
++( cd $pkg_dir && tar $ogargs -X $tmp_dir/tarX -c --$compressor $tarformat -f $tmp_dir/data.tar.$cext . ) || rc=$?
 +if [ $rc -ne 1 ] && [ $rc -ne 0 ]; then
 +        exit $rc 
 +fi

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list