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
febd8f57
Commit
febd8f57
authored
Mar 25, 2016
by
Holger Levsen
Browse files
WIP: reproducible debian: support testing multiple archs on one host
parent
6cd42750
Changes
1
Show whitespace changes
Inline
Side-by-side
bin/reproducible_setup_pbuilder.sh
View file @
febd8f57
...
@@ -123,8 +123,8 @@ setup_pbuilder() {
...
@@ -123,8 +123,8 @@ setup_pbuilder() {
#
#
# main
# main
#
#
BASETGZ
=
/var/cache/pbuilder/
$SUITE
-reproducible-base
.tgz
BASETGZ
=
/var/cache/pbuilder/
$SUITE
-
$ARCH
-
reproducible-base
.tgz
STAMP
=
/var/log/jenkins/
$SUITE
-reproducible-base
.tgz.stamp
STAMP
=
/var/log/jenkins/
$SUITE
-
$ARCH
-
reproducible-base
.tgz.stamp
OLDSTAMP
=
$(
find
$STAMP
-mtime
+1
-exec
ls
-lad
{}
\;
||
echo
"nostamp"
)
OLDSTAMP
=
$(
find
$STAMP
-mtime
+1
-exec
ls
-lad
{}
\;
||
echo
"nostamp"
)
if
[
-n
"
$OLDSTAMP
"
]
||
[
!
-f
$BASETGZ
]
||
[
!
-f
$STAMP
]
;
then
if
[
-n
"
$OLDSTAMP
"
]
||
[
!
-f
$BASETGZ
]
||
[
!
-f
$STAMP
]
;
then
if
[
!
-f
$BASETGZ
]
;
then
if
[
!
-f
$BASETGZ
]
;
then
...
@@ -132,7 +132,7 @@ if [ -n "$OLDSTAMP" ] || [ ! -f $BASETGZ ] || [ ! -f $STAMP ] ; then
...
@@ -132,7 +132,7 @@ if [ -n "$OLDSTAMP" ] || [ ! -f $BASETGZ ] || [ ! -f $STAMP ] ; then
else
else
echo
"
$BASETGZ
outdated, creating a new one..."
echo
"
$BASETGZ
outdated, creating a new one..."
fi
fi
setup_pbuilder
$SUITE
$SUITE
-reproducible-base
dpkg dpkg-dev
setup_pbuilder
$SUITE
-
$ARCH
$SUITE
-
$ARCH
-
reproducible-base
dpkg dpkg-dev
else
else
echo
"
$BASETGZ
not old enough, doing nothing..."
echo
"
$BASETGZ
not old enough, doing nothing..."
fi
fi
...
...
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