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
Debian QA
jenkins.debian.net
Commits
d019f87a
Verified
Commit
d019f87a
authored
Jul 18, 2017
by
Mattia Rizzolo
Browse files
chroot-run: another case when to retry debootstrap…
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
87f86325
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/chroot-run.sh
View file @
d019f87a
...
...
@@ -68,7 +68,7 @@ bootstrap() {
echo
"
$(
date
-u
)
- bootstraping
$DISTRO
into
$CHROOT_TARGET
now."
set
+e
sudo
debootstrap
$BOOTSTRAP_OPTIONS
$DISTRO
$CHROOT_TARGET
$MIRROR
|
tee
$TMPLOG
local
RESULT
=
$(
egrep
"E: (Couldn't download packages|Invalid Release signature)"
$TMPLOG
||
true
)
local
RESULT
=
$(
egrep
"E: (Couldn't download
(
packages|
dists)|
Invalid Release signature)"
$TMPLOG
||
true
)
rm
$TMPLOG
set
-e
if
[
!
-z
"
$RESULT
"
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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