mirror of
https://github.com/moby/moby.git
synced 2026-07-10 08:39:25 +00:00
The generated "changelog" was not removed before re-generating, causing the changelog to be added twice on repeated runs of "make rpm" (when bind-mounting the local source). As a result, rpms failed to build, because the resulting file had entries in non-chronological order. This change removes the generated file before re-generating, and adds the file to .gitignore, to prevent it from accidentally being added to source control. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This directory holds scripts called by make.sh in the parent directory.
Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:
./hack/make.sh test
./hack/make.sh binary ubuntu
# Or to run all bundles:
./hack/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh