mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 13:31:28 +02:00
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:
parent
c55c29dce2
commit
7696459498
@ -26,11 +26,6 @@ PORTDIR_OVERLAY="
|
|||||||
# of the ChromiumOS set. You can use "--select" to override this.
|
# of the ChromiumOS set. You can use "--select" to override this.
|
||||||
EMERGE_DEFAULT_OPTS="--oneshot"
|
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.
|
# Where to store built packages.
|
||||||
PKGDIR="/var/lib/portage/pkgs"
|
PKGDIR="/var/lib/portage/pkgs"
|
||||||
|
|
||||||
|
@ -37,10 +37,6 @@ PORTDIR_OVERLAY="
|
|||||||
# of the ChromiumOS set. You can use "--select" to override this.
|
# of the ChromiumOS set. You can use "--select" to override this.
|
||||||
EMERGE_DEFAULT_OPTS="--oneshot"
|
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}\"'"
|
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}\"'"
|
RESUMECOMMAND_GS="bash -c 'BOTO_CONFIG=/home/\${PORTAGE_USERNAME}/.boto gsutil cp \"${URI}\" \"${DISTDIR}/${FILE}\"'"
|
||||||
|
|
||||||
|
@ -48,3 +48,7 @@ LDFLAGS="-Wl,-O1 -Wl,--as-needed"
|
|||||||
# http://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml
|
# http://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml
|
||||||
# Build kernel modules from linux-mod by default:
|
# Build kernel modules from linux-mod by default:
|
||||||
USE="${USE} modules"
|
USE="${USE} modules"
|
||||||
|
|
||||||
|
# Use parallel bzip2 for binary packages
|
||||||
|
PORTAGE_BZIP2_COMMAND="lbzip2"
|
||||||
|
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user