Merge pull request #941 from dmbaturin/T7344-build-bash-completion

packages: T7344: build bash-completion from source
This commit is contained in:
Viacheslav Hletenko 2025-04-10 20:08:21 +03:00 committed by GitHub
commit 2f18905e98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 0 deletions

View File

@ -31,6 +31,8 @@ jobs:
- 'scripts/package-build/aws-gwlbtun/**' - 'scripts/package-build/aws-gwlbtun/**'
blackbox_exporter: blackbox_exporter:
- 'scripts/package-build/blackbox_exporter/**' - 'scripts/package-build/blackbox_exporter/**'
bash-completion:
- 'scripts/package-build/bash-completion/**'
ddclient: ddclient:
- 'scripts/package-build/ddclient/**' - 'scripts/package-build/ddclient/**'
dropbear: dropbear:
@ -121,6 +123,10 @@ jobs:
trigger_build "aws-gwlbtun" trigger_build "aws-gwlbtun"
fi fi
if [ "${{ steps.changes.outputs.bash-completion }}" == "true" ]; then
trigger_build "bash-completion"
fi
if [ "${{ steps.changes.outputs.ddclient }}" == "true" ]; then if [ "${{ steps.changes.outputs.ddclient }}" == "true" ]; then
trigger_build "ddclient" trigger_build "ddclient"
fi fi

View File

@ -0,0 +1 @@
/bash-completion/

View File

@ -0,0 +1 @@
../build.py

View File

@ -0,0 +1,12 @@
# VyOS CLI requires an older version of bash-completion to work
[[packages]]
name = "bash-completion"
commit_id = "debian/2.8-6"
scm_url = "https://salsa.debian.org/debian/bash-completion"
build_cmd = """
# Build deb
dpkg-buildpackage -b -us -uc
"""