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

Fix symlink copying for deb init scripts
This commit is contained in:
Sebastiaan van Stijn 2016-03-25 01:08:09 -07:00
commit 36458b5787
1 changed files with 1 additions and 1 deletions

View File

@ -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