fix(profiles): Enable lbzip2 for both SDK and targets, move to profiles

It has been long enough since adding lbzip2 to the system set, time to
put it to work for all our binary package needs!
This commit is contained in:
Michael Marineau 2013-07-26 19:10:03 -04:00
parent c55c29dce2
commit 7696459498
3 changed files with 4 additions and 9 deletions

View File

@ -26,11 +26,6 @@ PORTDIR_OVERLAY="
# of the ChromiumOS set. You can use "--select" to override this.
EMERGE_DEFAULT_OPTS="--oneshot"
# Use parallel bzip2 for portage
# TODO(marineam): switch to lbzip2
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_BUNZIP2_COMMAND="pbunzip2 --ignore-trailing-garbage=1"
# Where to store built packages.
PKGDIR="/var/lib/portage/pkgs"

View File

@ -37,10 +37,6 @@ PORTDIR_OVERLAY="
# of the ChromiumOS set. You can use "--select" to override this.
EMERGE_DEFAULT_OPTS="--oneshot"
# Use parallel bzip2 for portage
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
FETCHCOMMAND_GS="bash -c 'BOTO_CONFIG=/home/\${PORTAGE_USERNAME}/.boto gsutil cp \"${URI}\" \"${DISTDIR}/${FILE}\"'"
RESUMECOMMAND_GS="bash -c 'BOTO_CONFIG=/home/\${PORTAGE_USERNAME}/.boto gsutil cp \"${URI}\" \"${DISTDIR}/${FILE}\"'"

View File

@ -48,3 +48,7 @@ LDFLAGS="-Wl,-O1 -Wl,--as-needed"
# http://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml
# Build kernel modules from linux-mod by default:
USE="${USE} modules"
# Use parallel bzip2 for binary packages
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"