mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- Without the --git-export-dir option, gbp builds from the current directory which contains .container and many other large files. All of these files will get included into the tarball by default when 'gbp buildpackage' is executed in an unclean folder. - With the --git-export-dir option set, 'git export' is first executed to a temporary directory and this git operation respects patterns in .gitignore. Thus only expected files end up in the freedombox package source tarball. Tests: - When the source directory contains files in ./container, running 'gbp buildpackage' results in freedombox*.tar.xz containing the disk images of the containers. With this change, the tarball is clean and none of the files in .gitignore endup in the tarball. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>