diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-16 07:49:38 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-03-16 06:58:36 +0000 |
commit | e887f582cfd7de39dd2ac6d6ced1c121b2e1c37e (patch) | |
tree | 2208aa7cc92acb55304643320595b3b0999cdb8a /packages/hsflowd/build.sh | |
parent | 9f542e620429305f7ed47924121f6bcd1d7823db (diff) | |
download | vyos-build-e887f582cfd7de39dd2ac6d6ced1c121b2e1c37e.tar.gz vyos-build-e887f582cfd7de39dd2ac6d6ced1c121b2e1c37e.zip |
hsflowd: T5086: ARM package has aarch64 extension, rename to arm64
Diffstat (limited to 'packages/hsflowd/build.sh')
-rwxr-xr-x | packages/hsflowd/build.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/hsflowd/build.sh b/packages/hsflowd/build.sh index 75af892d..0693b2fe 100755 --- a/packages/hsflowd/build.sh +++ b/packages/hsflowd/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh -x +#!/bin/bash CWD=$(pwd) set -e @@ -18,3 +18,10 @@ sudo apt-get install -y libpcap0.8-dev # make deb FEATURES="NFLOG PCAP TCP DOCKER KVM OVS DBUS SYSTEMD DROPMON PSAMPLE DENT CONTAINERD" echo "I: Build VyOS hsflowd Package" make deb FEATURES="PCAP" + +# hsflowd builds ARM package as aarch64 extension, rename to arm64 +for file in *.deb ; do mv $file ${file//aarch64/arm64} || true ; done + +# Do not confuse *.deb upload logic by removing build in debian packages ... +# ugly but works +find src -name "*.deb" -type f -exec rm {} \; |