* Re: [gentoo-dev] emerge harmless buglet?
@ 2003-08-04 20:28 99% ` splite-gentoo
0 siblings, 0 replies; 1+ results
From: splite-gentoo @ 2003-08-04 20:28 UTC (permalink / raw
To: gentoo-dev
On Mon, Aug 04, 2003 at 03:52:58PM -0400, Mike Frysinger wrote:
Content-Description: signed data
> On Monday 04 August 2003 10:34, splite-gentoo@sigint.cs.purdue.edu wrote:
>
> > Why not:
> >
> > notok=spawn("tar xpjf "+mytbz2,free=1)
>
> that assumes that tar supports bzip2 ... anyone who has used bsd/older *nixs
> will tell you, dont plan on it :)
Non-GNU tars don't support the "-z", "--files-from", "--no-recursion",
"--exclude", or "--no-same-owner" flags either. emerge-webrsync and
quickpkg already use the "-j" flag.
# fgrep -r 'tar ' /usr/portage/eclass /usr/lib/portage
/usr/portage/eclass/eutils.eclass: # to tar which will make tar not extract anything and exit with 0
/usr/portage/eclass/eutils.eclass: local out="`(tail +${skip} ${src} | gzip -cd | tar -x --no-same-owner -f -) 2>&1`"
/usr/portage/eclass/eutils.eclass: tail +${skip} ${src} | tar -x --no-same-owner -f - \
/usr/portage/eclass/rpm.eclass:# 2. if it is a source rpm, it finds all .tar .tar.gz, .tgz, .tbz2, .tar.bz2,
/usr/portage/eclass/rpm.eclass:# output tar again but directly extracts to ${WORKDIR}
/usr/portage/eclass/selinux-policy.eclass: tar -C /etc/security/selinux/src --exclude policy.12 --exclude tmp \
/usr/lib/portage/bin/ebuild.sh: tar ${tarvars} -xf ${DISTDIR}/${x} || die "$myfail"
/usr/lib/portage/bin/ebuild.sh: tar ${tarvars} -xzf ${DISTDIR}/${x} || die "$myfail"
/usr/lib/portage/bin/ebuild.sh: bzip2 -dc ${DISTDIR}/${x} | tar ${tarvars} -xf - || die "$myfail"
/usr/lib/portage/bin/ebuild.sh: tar ${tarvars} -xzf ${DISTDIR}/${x} || die "$myfail"
/usr/lib/portage/bin/ebuild.sh: bzip2 -dc ${DISTDIR}/${x} | tar ${tarvars} -xf - || die "$myfail"
/usr/lib/portage/bin/ebuild.sh: tar cpvf - * | bzip2 -f > ../bin.tar.bz2 || die "Failed to create tarball"
/usr/lib/portage/bin/ebuild.sh: tar czf /usr/src/redhat/SOURCES/${PF}.tar.gz ${O}/${PF}.ebuild ${O}/files || die "Failed to create base rpm tarball."
/usr/lib/portage/bin/emerge-webrsync: tar jxf $file
/usr/lib/portage/bin/quickpkg: tar cjvf ${MYDIR}/bin.tar.bz2 --files-from=${MYDIR}/filelist --no-recursion
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-08-04 13:03 [gentoo-dev] emerge harmless buglet? Jani Monoses
2003-08-04 13:32 ` Marius Mauch
2003-08-04 14:34 ` splite-gentoo
2003-08-04 19:52 ` Mike Frysinger
2003-08-04 20:28 99% ` splite-gentoo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox