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
247041e2
Commit
247041e2
authored
Mar 30, 2017
by
Holger Levsen
Browse files
reproducible Debian: dont (re-)install pbuilder if it's on hold
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
78b9d892
Changes
1
Hide whitespace changes
Inline
Side-by-side
update_jdn.sh
View file @
247041e2
...
@@ -486,13 +486,16 @@ if [ -f /etc/debian_version ] ; then
...
@@ -486,13 +486,16 @@ if [ -f /etc/debian_version ] ; then
fi
fi
$UP2DATE
||
(
sudo cp
--preserve
=
mode,timestamps
-r
hosts/
$HOSTNAME
/etc/apt/sources.list /etc/apt
;
sudo
apt-get update
)
$UP2DATE
||
(
sudo cp
--preserve
=
mode,timestamps
-r
hosts/
$HOSTNAME
/etc/apt/sources.list /etc/apt
;
sudo
apt-get update
)
$UP2DATE
||
sudo
apt-get
install
$DEBS
$MASTERDEBS
$UP2DATE
||
sudo
apt-get
install
$DEBS
$MASTERDEBS
case
$HOSTNAME
in
# dont (re-)install pbuilder if it's on hold
codethink
*
)
$UP2DATE
||
sudo
apt-get
install
-t
jessie-backports pbuilder
if
[
!
-n
"
$(
dpkg
-l
pbuilder | egrep
'^hi.*pbuilder'
)
"
]
;
then
;;
case
$HOSTNAME
in
*
)
$UP2DATE
||
sudo
apt-get
install
-t
jessie-backports
\
codethink
*
)
$UP2DATE
||
sudo
apt-get
install
-t
jessie-backports pbuilder
pbuilder lintian
||
echo
"this should only fail on the first install"
;;
;;
*
)
$UP2DATE
||
sudo
apt-get
install
-t
jessie-backports
\
esac
pbuilder lintian
||
echo
"this should only fail on the first install"
;;
esac
fi
# we need mock from bpo to build current fedora
# we need mock from bpo to build current fedora
if
[
"
$HOSTNAME
"
=
"profitbricks-build3-amd64"
]
||
[
"
$HOSTNAME
"
=
"profitbricks-build4-amd64"
]
||
[
"
$HOSTNAME
"
=
"jenkins"
]
;
then
if
[
"
$HOSTNAME
"
=
"profitbricks-build3-amd64"
]
||
[
"
$HOSTNAME
"
=
"profitbricks-build4-amd64"
]
||
[
"
$HOSTNAME
"
=
"jenkins"
]
;
then
$UP2DATE
||
sudo
apt-get
install
-t
jessie-backports mock
\
$UP2DATE
||
sudo
apt-get
install
-t
jessie-backports mock
\
...
...
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