Browse code

Revert tasksmax workaround to avoid unsupported bins

Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>

Stefan Scherer authored on 2016/06/29 15:10:10
Showing 1 changed files
... ...
@@ -90,16 +90,6 @@ set -e
90 90
 		cat >> "$DEST/$version/Dockerfile.build" <<-EOF
91 91
 			RUN cp -aL hack/make/.build-deb debian
92 92
 			RUN { echo '$debSource (${debVersion}-0~${suite}) $suite; urgency=low'; echo; echo '  * Version: $VERSION'; echo; echo " -- $debMaintainer  $debDate"; } > debian/changelog && cat >&2 debian/changelog
93
-		EOF
94
-		# Remove the following case-based substitution when none of these are supported, and the TasksMax value is uncommented in docker.service
95
-		case "$version" in
96
-		debian-jessie|debian-wheezy|ubuntu-precise|ubuntu-trusty|ubuntu-wily)
97
-			;;
98
-		*)
99
-			echo "RUN sed -i -- 's/#TasksMax=infinity/TasksMax=infinity/' contrib/init/systemd/docker.service" >> "$DEST/$version/Dockerfile.build"
100
-			;;
101
-		esac
102
-		cat >> "$DEST/$version/Dockerfile.build" <<-EOF
103 93
 			RUN dpkg-buildpackage -uc -us -I.git
104 94
 		EOF
105 95
 		tempImage="docker-temp/build-deb:$version"