debian build fixed

This commit is contained in:
Marc Wäckerlin
2016-01-19 08:48:39 +00:00
parent 5a5d4a3044
commit 681d4fcebb
2 changed files with 2 additions and 1 deletions

View File

@@ -171,6 +171,7 @@ OPTIONS='-o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew -
docker pull $img
DOCKER_ID=$(docker run -d ${dirs[@]} ${envs[@]} -w /workdir $img sleep infinity)
trap 'traperror '"${DOCKER_ID}"' "$? ${PIPESTATUS[@]}" $LINENO $BASH_LINENO "$BASH_COMMAND" "${FUNCNAME[@]}" "${FUNCTION}"' SIGINT INT TERM EXIT
docker exec -it ${DOCKER_ID} bash -c 'for f in "libpam-systemd:amd64" "policykit*" "colord"; do echo "Package: $f" >> /etc/apt/preferences; echo "Pin-Priority: -100" >> /etc/apt/preferences; echo >> /etc/apt/preferences; done'
docker exec ${DOCKER_ID} apt-get update ${OPTIONS}
docker exec ${DOCKER_ID} apt-get upgrade ${OPTIONS}
docker exec ${DOCKER_ID} apt-get install ${OPTIONS} python-software-properties software-properties-common apt-transport-https dpkg-dev lsb-release || \

2
debian/control.in vendored
View File

@@ -1,7 +1,7 @@
Source: @PACKAGE_NAME@
Priority: extra
Maintainer: @AUTHOR@
Build-Depends: debhelper, subversion, pkg-config, automake, libtool, autotools-dev, lsb-release, doxygen, graphviz, mscgen, git, nodejs, default-jdk, libc6-i386, lib32stdc++6, lib32gcc1, lib32ncurses5, lib32z1
Build-Depends: debhelper, subversion, pkg-config, automake, libtool, autotools-dev, lsb-release, doxygen, graphviz, mscgen, git, nodejs, default-jre-headless, libc6-i386, lib32stdc++6, lib32gcc1, lib32ncurses5, lib32z1
Package: @PACKAGE_NAME@
Section: web