mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
T7827: Add unionfs-fuse package
This commit is contained in:
parent
d7c3843909
commit
842b119ca4
@ -90,6 +90,8 @@ jobs:
|
|||||||
- 'scripts/package-build/telegraf/**'
|
- 'scripts/package-build/telegraf/**'
|
||||||
udp-broadcast-relay:
|
udp-broadcast-relay:
|
||||||
- 'scripts/package-build/udp-broadcast-relay/**'
|
- 'scripts/package-build/udp-broadcast-relay/**'
|
||||||
|
unionfs-fuse:
|
||||||
|
- 'scripts/package-build/unionfs-fuse/**'
|
||||||
vpp:
|
vpp:
|
||||||
- 'scripts/package-build/vpp/**'
|
- 'scripts/package-build/vpp/**'
|
||||||
waagent:
|
waagent:
|
||||||
@ -247,6 +249,10 @@ jobs:
|
|||||||
trigger_build "udp-broadcast-relay"
|
trigger_build "udp-broadcast-relay"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${{ steps.changes.outputs.unionfs-fuse }}" == "true" ]; then
|
||||||
|
trigger_build "unionfs-fuse"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${{ steps.changes.outputs.vpp }}" == "true" ]; then
|
if [ "${{ steps.changes.outputs.vpp }}" == "true" ]; then
|
||||||
trigger_build "vpp"
|
trigger_build "vpp"
|
||||||
fi
|
fi
|
||||||
|
|||||||
1
scripts/package-build/unionfs-fuse/.gitignore
vendored
Normal file
1
scripts/package-build/unionfs-fuse/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
unionfs-fuse/
|
||||||
1
scripts/package-build/unionfs-fuse/build.py
Symbolic link
1
scripts/package-build/unionfs-fuse/build.py
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../build.py
|
||||||
31
scripts/package-build/unionfs-fuse/package.toml
Normal file
31
scripts/package-build/unionfs-fuse/package.toml
Normal 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"
|
||||||
|
]
|
||||||
Loading…
x
Reference in New Issue
Block a user