1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-26 13:14:31 +01:00

Remove all patches for Debian Upstream

This commit is contained in:
Pavel Odintsov 2022-11-30 19:15:35 +00:00
parent eac549cfdf
commit db3ce483de

@ -41,6 +41,8 @@ jobs:
- run: sudo docker exec -it linux_priviledged_container git clone https://github.com/pavel-odintsov/fastnetmon
- 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 rm -f fastnetmon-debian-salsa/patches/series
- run: sudo docker exec -it linux_priviledged_container rm -f fastnetmon-debian-salsa/patches/01-deprecated-function.diff
- run: sudo docker exec -it linux_priviledged_container rm -f fastnetmon-debian-salsa/patches/02-new-libbpf-interface.diff
- 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"