aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-11 16:34:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-11 16:34:22 +0000
commit1a2fd4f86916c1bf9b1a751e83a65c5c085dc859 (patch)
treee391214378eeb77d1d1f9aebbe422e6a43174bcb
parent542ee6ed19a8eba74f3b85df821d0e96018944f9 (diff)
downloadupstream-1a2fd4f86916c1bf9b1a751e83a65c5c085dc859.tar.gz
upstream-1a2fd4f86916c1bf9b1a751e83a65c5c085dc859.tar.bz2
upstream-1a2fd4f86916c1bf9b1a751e83a65c5c085dc859.zip
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
-rwxr-xr-xscripts/ipkg-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ipkg-build b/scripts/ipkg-build
index a54e9b5af2..73cd87ceea 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