Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jenkins.debian.net
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
3
Merge Requests
3
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Debian QA
jenkins.debian.net
Commits
b24eb8f5
Commit
b24eb8f5
authored
Jan 12, 2019
by
Holger Levsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reproducible Arch Linux: add debug output
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
8374b86c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
reproducible_setup_archlinux_schroot.sh
bin/reproducible_setup_archlinux_schroot.sh
+6
-2
No files found.
bin/reproducible_setup_archlinux_schroot.sh
View file @
b24eb8f5
#!/bin/bash
# Copyright 2015-201
8
Holger Levsen <holger@layer-acht.org>
# Copyright 2015-201
9
Holger Levsen <holger@layer-acht.org>
# 2017 kpcyrd <git@rxv.cc>
# 2017 Mattia Rizzolo <mattia@debian.org>
# Juliana Oliveira Rodrigues <juliana.orod@gmail.com>
...
...
@@ -29,7 +29,7 @@ bootstrap() {
echo
"
$(
date
-u
)
- downloading Arch Linux latest/sha1sums.txt"
BOOTSTRAP_DATE
=
$(
curl
-sSf
$BOOTSTRAP_BASE
/latest/sha1sums.txt |
grep
x86_64.tar.gz |
cut
-d
" "
-f3
|
cut
-d
"-"
-f3
| egrep
-o
'[0-9.]{10}'
)
if
[
-z
$BOOTSTRAP_DATE
]
;
then
echo
"Cannot determine version of boostrap file, aborting."
echo
"Cannot determine version of boo
t
strap file, aborting."
curl
-sSf
"
$BOOTSTRAP_BASE
/latest/sha1sums.txt"
|
grep
x86_64.tar.gz
exit
1
fi
...
...
@@ -47,6 +47,10 @@ bootstrap() {
sudo rm
-rf
--one-file-system
"
$SCHROOT_BASE
/
$TARGET
.old"
rm
archlinux-bootstrap-
$BOOTSTRAP_DATE
-x86_64
.tar.gz
else
echo
'debug output:'
pwd
ls
"archlinux-bootstrap-
$BOOTSTRAP_DATE
-x86_64.tar.gz"
fi
# write the schroot config
...
...
Write
Preview
Markdown
is supported
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