mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-06-02 10:46:23 +02:00
Switched to upstream Salsa repo and removed logic which removes capnp binding files
This commit is contained in:
parent
5123bf74da
commit
dee57b92c2
|
@ -18,10 +18,7 @@ jobs:
|
|||
- run: sudo docker exec -it linux_priviledged_container apt-get update; true
|
||||
- run: sudo docker exec -it linux_priviledged_container apt install -y dpkg-dev git pbuilder
|
||||
- run: sudo docker exec -it linux_priviledged_container git clone https://github.com/pavel-odintsov/fastnetmon
|
||||
- run:
|
||||
name: Remove existing capnp bindings to force automatic generation
|
||||
command: sudo docker exec -it linux_priviledged_container rm -f fastnetmon/src/simple_packet_capnp/simple_packet.capnp.c++ fastnetmon/src/simple_packet_capnp/simple_packet.capnp.h
|
||||
- run: sudo docker exec -it linux_priviledged_container git clone https://github.com/pavel-odintsov/fastnetmon-debian-salsa.git fastnetmon-debian-salsa
|
||||
- run: sudo docker exec -it linux_priviledged_container git clone https://salsa.debian.org/debian/fastnetmon.git fastnetmon-debian-salsa
|
||||
- run: sudo docker exec -it linux_priviledged_container tar -czf fastnetmon_$(sudo docker exec -it linux_priviledged_container head -n 1 fastnetmon-debian-salsa/debian/changelog|awk '{print $2}'|sed 's/[()]//g' | sed -E 's/(\-[0-9]+)?$//').orig.tar.gz fastnetmon
|
||||
- run: sudo docker exec -it linux_priviledged_container ls -la
|
||||
- run: sudo docker exec -it linux_priviledged_container bash -c "cd fastnetmon && rm -rf debian && cp -a ../fastnetmon-debian-salsa/debian/ . && dpkg-buildpackage -S -sa -d"
|
||||
|
|
Loading…
Reference in New Issue