From 017a03c86bbaf1d23f6dacc0e2455e3226151521 Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Tue, 28 Jan 2025 19:14:49 +0000 Subject: [PATCH] loxilb: upgrade loxilb to 0.9.8 when upgrading loxilb to 0.9.7, running into issue https://github.com/loxilb-io/loxilb/issues/948 following method to prepare the loxilb source tar ball resolves the issue git clone --recurse-submodules --branch v0.9.8 https://github.com/loxilb-io/loxilb.git cd loxilb go mod vendor cd .. mv loxilb loxilb-0.9.8 tar zcvf loxilb-0.9.8.tar.gz loxilb-0.9.8 mv loxilb-0.9.8.tar.gz /cache/ fix: https://github.com/vincentmli/BPFire/issues/74 also backported libbpf 1.2.3 lonngarch64 to libbpf 0.8 for loxilb Signed-off-by: Vincent Li --- lfs/loxilb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lfs/loxilb b/lfs/loxilb index e3262d7a3..a13ed31d8 100644 --- a/lfs/loxilb +++ b/lfs/loxilb @@ -25,7 +25,7 @@ include Config -VER = 0.9.x +VER = 0.9.8 THISAPP = loxilb-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -41,7 +41,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 947e5639fa110c3656ae8c565d1e2ce0fcc5d396bacc6505b41a341a67d6f096a63649668ab567fa1679dee1bb48d9c42002d0e12ee113e47587d2c101a3294c +$(DL_FILE)_BLAKE2 = b5dd467a2a5303c4a902c49abce844a0d62fbca78b2a209ca5355b3278e9b7b2a11a2c39abba5bf8c1144dd2f51485a17abd0bf96ca19958a48e44bfb636c1ce install : $(TARGET) @@ -74,6 +74,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf /opt/loxilb cd $(DIR_APP) && mkdir -p /opt/loxilb/dp + cd $(DIR_APP) && go clean -cache cd $(DIR_APP) && make cd $(DIR_APP)/loxilb-ebpf/kernel && cp -f *.o /opt/loxilb/ cd $(DIR_APP) && cp -f loxilb /usr/bin/loxilb