Skip to content

Commit

Permalink
deb: install build dependencies at build time
Browse files Browse the repository at this point in the history
Else they need to be declared twice, in the control and in the dockerfile

Closes #58
  • Loading branch information
scollazo committed Nov 17, 2017
1 parent c4f7ef4 commit 69cb4ab
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions debs/trusty/archivematica-storage-service/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ cd $SOURCE
BRANCH="$(git branch | cut -d\ -f2-)"
COMMIT=$(git rev-parse HEAD)
cp -rf ${BASE}/debian-storage-service/* debian/
yes | mk-build-deps -i debian/control
pip download -d lib --no-binary :all: -r requirements.txt
dch -v 1:${VERSION}${RELEASE} commit: $(echo $COMMIT)
dch -v 1:${VERSION}${RELEASE} checkout: $(echo $BRANCH)
Expand Down
1 change: 1 addition & 0 deletions debs/trusty/archivematica/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ for i in dashboard MCPClient MCPServer archivematicaCommon
do
cd "${SOURCE}/$i/"
cp -rf $BASE/debian-$i/* debian/
yes | mk-build-deps -i debian/control
dch -v 1:${VERSION}${RELEASE} commit: $(echo $COMMIT)
dch -v 1:${VERSION}${RELEASE} checkout: $(echo $BRANCH)
dch -r --distribution trusty --urgency high ignored
Expand Down
2 changes: 2 additions & 0 deletions debs/xenial/archivematica-storage-service/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ cd $SOURCE
BRANCH="$(git branch | cut -d\ -f2-)"
COMMIT=$(git rev-parse HEAD)
cp -rf ${BASE}/debian-storage-service/* debian/
QUILT_PATCHES="debian/patches" quilt push -a || true
pip download -d lib --no-binary :all: -r requirements.txt
yes | mk-build-deps -i debian/control
dch -v 1:${VERSION}${RELEASE} commit: $(echo $COMMIT)
dch -v 1:${VERSION}${RELEASE} checkout: $(echo $BRANCH)
dch -r --distribution xenial --urgency high ignored
Expand Down
1 change: 1 addition & 0 deletions debs/xenial/archivematica/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ for i in dashboard MCPClient MCPServer archivematicaCommon
do
cd "${SOURCE}/$i/"
cp -rf $BASE/debian-$i/* debian/
yes | mk-build-deps -i debian/control
dch -v 1:${VERSION}${RELEASE} commit: $(echo $COMMIT)
dch -v 1:${VERSION}${RELEASE} checkout: $(echo $BRANCH)
dch -r --distribution xenial --urgency high ignored
Expand Down

0 comments on commit 69cb4ab

Please sign in to comment.