From 7fe203ec1362133badf047f33652e871673f77a9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 28 Mar 2008 13:11:58 +0000 Subject: Bug #214619 - Add support for a PORTAGE_BINPKG_TAR_OPTS variable that allows the user to specify tar command options for binary package creation. (trunk r9528) svn path=/main/branches/2.1.2/; revision=9580 --- bin/misc-functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/misc-functions.sh') diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index d38c9a14f..27c2cc618 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -534,7 +534,8 @@ dyn_package() { # Sandbox is disabled in case the user wants to use a symlink # for $PKGDIR and/or $PKGDIR/All. export SANDBOX_ON="0" - tar ${tar_options} -cf - . | bzip2 -f > "${pkg_tmp}" || \ + tar $tar_options -cf - $PORTAGE_BINPKG_TAR_OPTS . | \ + bzip2 -f > "${pkg_tmp}" || \ die "Failed to create tarball" cd .. export PYTHONPATH=${PORTAGE_PYM_PATH:-/usr/lib/portage/pym} -- cgit v1.2.3-1-g7c22