diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 16:34:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 16:34:22 +0000 |
commit | 1a2fd4f86916c1bf9b1a751e83a65c5c085dc859 (patch) | |
tree | e391214378eeb77d1d1f9aebbe422e6a43174bcb /scripts/ipkg-build | |
parent | 542ee6ed19a8eba74f3b85df821d0e96018944f9 (diff) | |
download | mtk-20170518-1a2fd4f86916c1bf9b1a751e83a65c5c085dc859.zip mtk-20170518-1a2fd4f86916c1bf9b1a751e83a65c5c085dc859.tar.gz mtk-20170518-1a2fd4f86916c1bf9b1a751e83a65c5c085dc859.tar.bz2 |
ipkg-build: add ogargs to outer tar/ipk
prevent name:uid leaks of build system
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46863
Diffstat (limited to 'scripts/ipkg-build')
-rwxr-xr-x | scripts/ipkg-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ipkg-build b/scripts/ipkg-build index a54e9b5..73cd87c 100755 --- a/scripts/ipkg-build +++ b/scripts/ipkg-build @@ -152,7 +152,7 @@ echo "2.0" > $tmp_dir/debian-binary pkg_file=$dest_dir/${pkg}_${version}_${arch}.ipk rm -f $pkg_file -( cd $tmp_dir && $TAR --format=gnu --sort=name -zcf $pkg_file --mtime="$TIMESTAMP" ./debian-binary ./data.tar.gz ./control.tar.gz ) +( cd $tmp_dir && $TAR $ogargs --format=gnu --sort=name -zcf $pkg_file --mtime="$TIMESTAMP" ./debian-binary ./data.tar.gz ./control.tar.gz ) rm $tmp_dir/debian-binary $tmp_dir/data.tar.gz $tmp_dir/control.tar.gz rmdir $tmp_dir |