mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
fix(make.conf): Remove custom fetch and tar commands.
Switch to portage's default (wget) for fetching. wget is nice and reports the URL it is downloading while curl does not. This makes understanding errors like '404' actually somewhat possible. The --checkpoint arg to tar didn't serve much of a useful purpose as far as I know besides adding to the build noise. Just drop it.
This commit is contained in:
parent
23d1888e87
commit
83dfaeae34
@ -35,15 +35,6 @@ PORTDIR_OVERLAY="
|
||||
# of the ChromiumOS set. You can use "--select" to override this.
|
||||
EMERGE_DEFAULT_OPTS="--oneshot"
|
||||
|
||||
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}\"'"
|
||||
|
||||
FETCHCOMMAND='curl -y 30 -f --retry 9 -L --output \${DISTDIR}/\${FILE} \${URI}'
|
||||
RESUMECOMMAND='curl -y 30 -f -C - --retry 9 -L --output \${DISTDIR}/\${FILE} \${URI}'
|
||||
|
||||
# Print a checkpoint message every 10MB while archiving.
|
||||
PORTAGE_BINPKG_TAR_OPTS="--checkpoint=1000"
|
||||
|
||||
# Since our portage comes from version control, we redirect distfiles.
|
||||
DISTDIR="/var/lib/portage/distfiles-target"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user