Merge pull request #1036 from sarthurdev/T7827

T7827: Add unionfs-fuse package
This commit is contained in:
Daniil Baturin 2025-09-18 11:23:45 +01:00 committed by GitHub
commit 9501cd7187
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 39 additions and 0 deletions

View File

@ -90,6 +90,8 @@ jobs:
- 'scripts/package-build/telegraf/**'
udp-broadcast-relay:
- 'scripts/package-build/udp-broadcast-relay/**'
unionfs-fuse:
- 'scripts/package-build/unionfs-fuse/**'
vpp:
- 'scripts/package-build/vpp/**'
waagent:
@ -247,6 +249,10 @@ jobs:
trigger_build "udp-broadcast-relay"
fi
if [ "${{ steps.changes.outputs.unionfs-fuse }}" == "true" ]; then
trigger_build "unionfs-fuse"
fi
if [ "${{ steps.changes.outputs.vpp }}" == "true" ]; then
trigger_build "vpp"
fi

View File

@ -0,0 +1 @@
unionfs-fuse/

View File

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

View File

@ -0,0 +1,31 @@
[[packages]]
name = "unionfs-fuse"
commit_id = "v3.6"
scm_url = "https://github.com/rpodgorny/unionfs-fuse"
build_cmd = """
mkdir build
cd build
cmake .. -DWITH_LIBFUSE3=TRUE \
-DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=. install
VERSION=$(git describe --tags --exact-match 2>/dev/null || git rev-parse --short HEAD)
fpm --input-type dir --output-type deb --name unionfs-fuse \
--version $VERSION --deb-compression gz \
--maintainer "VyOS Package Maintainers <maintainers@vyos.net>" \
--description "Fuse implementation of unionfs" \
--depends libfuse3-dev \
--license "BSD" --package ../.. usr
"""
[dependencies]
packages = [
"cmake",
"libfuse3-dev"
]