Browse Source

Merge pull request #21501 from tonistiigi/fix-deb-init-symlinks

Fix symlink copying for deb init scripts
Sebastiaan van Stijn 9 years ago
parent
commit
36458b5787
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hack/make/build-deb

+ 1 - 1
hack/make/build-deb

@@ -84,7 +84,7 @@ set -e
 			echo 'ENV DOCKER_EXPERIMENTAL 1' >> "$DEST/$version/Dockerfile.build"
 		fi
 		cat >> "$DEST/$version/Dockerfile.build" <<-EOF
-			RUN mv -v hack/make/.build-deb debian
+			RUN cp -aL hack/make/.build-deb debian
 			RUN { echo '$debSource (${debVersion}-0~${suite}) $suite; urgency=low'; echo; echo '  * Version: $VERSION'; echo; echo " -- $debMaintainer  $debDate"; } > debian/changelog && cat >&2 debian/changelog
 			RUN dpkg-buildpackage -uc -us
 		EOF