Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 81025 | Differences between
and this patch

Collapse All | Expand All

(-)portage-2.1_pre5.orig/bin/ebuild.sh (-1 / +5 lines)
Lines 1001-1007 Link Here
1001
dyn_package() {
1001
dyn_package() {
1002
	trap "abort_package" SIGINT SIGQUIT
1002
	trap "abort_package" SIGINT SIGQUIT
1003
	cd "${PORTAGE_BUILDDIR}/image"
1003
	cd "${PORTAGE_BUILDDIR}/image"
1004
	tar cpvf - ./ | bzip2 -f > ../bin.tar.bz2 || die "Failed to create tarball"
1004
	if [ "${USERLAND}" == "GNU" ]; then     # check for gnu tar and exclude files from.
1005
		[ -z "${PKG_EXCLUDEFROM}" ] && PKG_EXCLUDEFROM=/etc/portage/package_excludes
1006
		[ -e ${PKG_EXCLUDEFROM} ] && tarvars="--exclude-from=${PKG_EXCLUDEFROM}"
1007
	fi
1008
	tar ${tarvars} -cpvf - ./ | bzip2 -f > ../bin.tar.bz2 || die "Failed to create tarball"
1005
	cd ..
1009
	cd ..
1006
	xpak build-info inf.xpak
1010
	xpak build-info inf.xpak
1007
	tbz2tool join bin.tar.bz2 inf.xpak "${PF}.tbz2"
1011
	tbz2tool join bin.tar.bz2 inf.xpak "${PF}.tbz2"
(-)portage-2.1_pre5.orig/man/make.conf.5 (+6 lines)
Lines 277-282 Link Here
277
.br
277
.br
278
Defaults to ${PORTDIR}/packages.
278
Defaults to ${PORTDIR}/packages.
279
.TP
279
.TP
280
\fBPKG_EXCLUDEFROM\fR = \fI"/etc/portage/package_excludes"\fR
281
When this variable is set it will invoke tar with the --exclude-from
282
option on GNU systems with the variable you defined in the dyn_package
283
phase.  This is mainly used to exclude man/doc/info files in order to
284
gain smaller binary package sizes for use with embedded systems. \fBUse with caution.\fR
285
.TP
280
.B PORT_LOGDIR
286
.B PORT_LOGDIR
281
This variable defines the directory in which per\-ebuild logs are kept.
287
This variable defines the directory in which per\-ebuild logs are kept.
282
Logs are created only when this is set and writable.
288
Logs are created only when this is set and writable.

Return to bug 81025