Skip to content
Snippets Groups Projects
Unverified Commit 2fd81444 authored by aviau's avatar aviau
Browse files

Packaging: ubuntu14.04 support

Change-Id: I041c4e7c691fde3d3df4dffb0618dc252b9abb8d
Tuleap: #879
parent 256b4e89
Branches
Tags
No related merge requests found
...@@ -75,6 +75,8 @@ package-all: package-debian8 \ ...@@ -75,6 +75,8 @@ package-all: package-debian8 \
package-debian8_i386 \ package-debian8_i386 \
package-debian9 \ package-debian9 \
package-debian9_i386 \ package-debian9_i386 \
package-ubuntu14.04 \
package-ubuntu14.04_i386 \
package-ubuntu15.10 \ package-ubuntu15.10 \
package-ubuntu15.10_i386 \ package-ubuntu15.10_i386 \
package-ubuntu16.04 \ package-ubuntu16.04 \
......
client-gnome @ 02b283d7
Subproject commit 28ca3174b8671e7c1c187c2072ea4308d15cf52a Subproject commit 02b283d7ddac093d7a729d5602815587135a23e8
daemon @ a386003f
Subproject commit 20f402051d423648b12fdc6828608bcdd56c6c9e Subproject commit a386003fe234b17bb5f309635252a8baa3cb5e4e
...@@ -28,18 +28,13 @@ override_dh_auto_configure: ...@@ -28,18 +28,13 @@ override_dh_auto_configure:
echo "Repacked $$projectname"; \ echo "Repacked $$projectname"; \
done done
# Prevent bootstrap script from verifying checksums
mkdir -p daemon/contrib/native
touch daemon/contrib/native/.sum-msgpack
touch daemon/contrib/native/.sum-opendht
touch daemon/contrib/native/.sum-pjproject
########################### ###########################
## Ring Daemon configure ## ## Ring Daemon configure ##
########################### ###########################
mkdir -p daemon/contrib/native mkdir -p daemon/contrib/native
cd daemon/contrib/native && \ cd daemon/contrib/native && \
../bootstrap \ ../bootstrap \
--no-checksums \
--disable-ogg \ --disable-ogg \
--disable-flac \ --disable-flac \
--disable-vorbis \ --disable-vorbis \
......
...@@ -45,9 +45,15 @@ dch --create --package ring --newversion ${DEBIAN_VERSION} "Automatic nightly re ...@@ -45,9 +45,15 @@ dch --create --package ring --newversion ${DEBIAN_VERSION} "Automatic nightly re
dch --release --distribution "unstable" debian/changelog dch --release --distribution "unstable" debian/changelog
# create orig tarball # create orig tarball
# mk-origtargz isn't in ubuntu14.04
if [ "${DISTRIBUTION}" = "ubuntu14.04" ] || [ "${DISTRIBUTION}" = "ubuntu14.04_i386" ]; then
mv ${RELEASE_TARBALL_FILENAME} ../ring_${DEBIAN_VERSION}.orig.tar.gz
else
mk-origtargz ${RELEASE_TARBALL_FILENAME} mk-origtargz ${RELEASE_TARBALL_FILENAME}
rm --verbose ${RELEASE_TARBALL_FILENAME} rm --verbose ${RELEASE_TARBALL_FILENAME}
GET_ORIG_SOURCE_OVERRIDE_USCAN_TARBALL=$(realpath ../ring_*.orig.tar.gz) debian/rules get-orig-source fi
GET_ORIG_SOURCE_OVERRIDE_USCAN_TARBALL=$(readlink -f ../ring_*.orig.tar.gz) debian/rules get-orig-source
# move the tarball to the work directory # move the tarball to the work directory
mkdir -p /opt/ring-packaging mkdir -p /opt/ring-packaging
......
...@@ -45,6 +45,7 @@ PACKAGE_%(distribution)s_DOCKER_RUN_COMMAND:= docker run \\ ...@@ -45,6 +45,7 @@ PACKAGE_%(distribution)s_DOCKER_RUN_COMMAND:= docker run \\
-e DEBIAN_VERSION=$(DEBIAN_VERSION) \\ -e DEBIAN_VERSION=$(DEBIAN_VERSION) \\
-e DEBIAN_PACKAGING_OVERRIDE=%(debian_packaging_override)s \\ -e DEBIAN_PACKAGING_OVERRIDE=%(debian_packaging_override)s \\
-e CURRENT_UID=$(CURRENT_UID) \\ -e CURRENT_UID=$(CURRENT_UID) \\
-e DISTRIBUTION=%(distribution)s \\
-v $(CURDIR):/opt/ring-project-ro:ro \\ -v $(CURDIR):/opt/ring-project-ro:ro \\
-v $(CURDIR)/packages/%(distribution)s:/opt/output \\ -v $(CURDIR)/packages/%(distribution)s:/opt/output \\
-t $(PACKAGE_%(distribution)s_DOCKER_IMAGE_NAME) -t $(PACKAGE_%(distribution)s_DOCKER_IMAGE_NAME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment