From e887f582cfd7de39dd2ac6d6ced1c121b2e1c37e Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 16 Mar 2023 07:49:38 +0100 Subject: hsflowd: T5086: ARM package has aarch64 extension, rename to arm64 --- packages/hsflowd/build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'packages/hsflowd') 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 {} \; -- cgit v1.2.3