Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tom Pillot
pi-gen-thymio
Commits
38d22e97
Unverified
Commit
38d22e97
authored
Feb 20, 2020
by
Luigi F. Cruz
Committed by
GitHub
Feb 20, 2020
Browse files
Retry apt downloads 3 times
Fixes #194
parent
5f884374
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
38d22e97
...
...
@@ -20,7 +20,7 @@ EOF
PACKAGES
=
"
$(
sed
-f
"
${
SCRIPT_DIR
}
/remove-comments.sed"
<
"
${
i
}
-packages-nr"
)
"
if
[
-n
"
$PACKAGES
"
]
;
then
on_chroot
<<
EOF
apt-get install --no-install-recommends -y
$PACKAGES
apt-get
-o APT::Acquire::Retries=3
install --no-install-recommends -y
$PACKAGES
EOF
fi
log
"End
${
SUB_STAGE_DIR
}
/
${
i
}
-packages-nr"
...
...
@@ -30,7 +30,7 @@ EOF
PACKAGES
=
"
$(
sed
-f
"
${
SCRIPT_DIR
}
/remove-comments.sed"
<
"
${
i
}
-packages"
)
"
if
[
-n
"
$PACKAGES
"
]
;
then
on_chroot
<<
EOF
apt-get install -y
$PACKAGES
apt-get
-o APT::Acquire::Retries=3
install -y
$PACKAGES
EOF
fi
log
"End
${
SUB_STAGE_DIR
}
/
${
i
}
-packages"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment