amazon-ecs-agent
amazon-ecs-agent copied to clipboard
Debian package
Summary
Debian packaging doesn't seem to work.
Description
Running make deb after a regular successful build producing a container image doesn't seem to work.
This is the error the step produces and fails on:
dpkg-source: error: cannot represent change to misc/pause-container/pause-image-tar-files/amazon-ecs-pause-amd64.tar: binary file contents changed
dpkg-source: error: add misc/pause-container/pause-image-tar-files/amazon-ecs-pause-amd64.tar in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to misc/pause-container/pause-image-tar-files/amazon-ecs-pause-arm64.tar: binary file contents changed
dpkg-source: error: add misc/pause-container/pause-image-tar-files/amazon-ecs-pause-arm64.tar in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: warning: executable mode 0775 of 'misc/volumes-test/docker-image' will not be represented in diff
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
make: *** [Makefile:463: .deb-done] Error 29
I have verified that the regular build produced a ./out/amazon-ecs-agent binary.
Expected Behavior
Running make deb should produce a Debian package.
Observed Behavior
Running make deb produces an error above.