diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-11-26 19:56:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-26 19:56:12 +0000 |
| commit | 0ba023e5cfcb5e445f59bf80f2e6a2b2592ac37c (patch) | |
| tree | be4ebc5a73e96a15a358ab73d8607cef843dea52 /scripts/package-build | |
| parent | 87483cc598101da283552d437fbf44e335317df7 (diff) | |
| parent | 4fee26588fea25f9a3bd71040d44989efc87c6c2 (diff) | |
| download | vyos-build-0ba023e5cfcb5e445f59bf80f2e6a2b2592ac37c.tar.gz vyos-build-0ba023e5cfcb5e445f59bf80f2e6a2b2592ac37c.zip | |
Merge pull request #1068 from asklymenko/patch-3
T7997: Exclude auxiliary directories from tarballs
Diffstat (limited to 'scripts/package-build')
| -rwxr-xr-x | scripts/package-build/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package-build/build.py b/scripts/package-build/build.py index 09d2a96b..e7d0300d 100755 --- a/scripts/package-build/build.py +++ b/scripts/package-build/build.py @@ -157,7 +157,7 @@ def build_package(package: list, patch_dir: Path) -> None: # Build the package, check if we have build_cmd in the package.toml try: - build_cmd = package.get('build_cmd', 'dpkg-buildpackage -uc -us -tc -F') + build_cmd = package.get('build_cmd', 'dpkg-buildpackage -uc -us -tc -F --source-option=--tar-ignore=.git --source-option=--tar-ignore=.github') run(build_cmd, cwd=repo_dir, check=True, shell=True) except CalledProcessError as e: print(e) |
