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.0.51.16.orig/bin/ebuild.sh (-1 / +5 lines)
Lines 962-968 dyn_compile() { Link Here
962
dyn_package() {
962
dyn_package() {
963
	trap "abort_package" SIGINT SIGQUIT
963
	trap "abort_package" SIGINT SIGQUIT
964
	cd "${BUILDDIR}/image"
964
	cd "${BUILDDIR}/image"
965
	tar cpvf - ./ | bzip2 -f > ../bin.tar.bz2 || die "Failed to create tarball"
965
	if [ "${USERLAND}" == "GNU" ]; then 	# check for gnu tar and esxclude files from.
966
		[ -z "${PKG_EXCLUDEFROM}" ] && PKG_EXCLUDEFROM=/etc/portage/package_excludes
967
		[ -e ${PKG_EXCLUDEFROM} ] && tarvars="--exclude-from=${PKG_EXCLUDEFROM}"
968
	fi
969
	tar ${tarvars} -cpvf - ./ | bzip2 -f > ../bin.tar.bz2 || die "Failed to create tarball"
966
	cd ..
970
	cd ..
967
	xpak build-info inf.xpak
971
	xpak build-info inf.xpak
968
	tbz2tool join bin.tar.bz2 inf.xpak "${PF}.tbz2"
972
	tbz2tool join bin.tar.bz2 inf.xpak "${PF}.tbz2"
(-)portage-2.0.51.16.orig/man/make.conf.5 (-2 / +8 lines)
Lines 259-266 Defaults to false. Link Here
259
.TP
259
.TP
260
\fBPKGDIR\fR = \fI[path]\fR
260
\fBPKGDIR\fR = \fI[path]\fR
261
Defines the location where created .tbz2 binary packages will be stored.
261
Defines the location where created .tbz2 binary packages will be stored.
262
.br 
262
.br
263
Defaults to ${PORTDIR}/packages.
263
Defaults to ${PORTDIR}/packages. 
264
.TP
265
\fBPKG_EXCLUDEFROM\fR = \fI"/etc/portage/package_excludes"\fR
266
When this variable is set it will invoke tar with the --exclude-from
267
option on GNU systems with the variable you defined in the dyn_package
268
phase.  This is mainly used to exclude man/doc/info files in order to
269
gain smaller binary package sizes for use with embedded systems. \fBUse with caution.\fR
264
.TP
270
.TP
265
.B PORT_LOGDIR
271
.B PORT_LOGDIR
266
This variable defines the directory in which per\-ebuild logs are kept.
272
This variable defines the directory in which per\-ebuild logs are kept.

Return to bug 81025