netavark: lock cargo dependencies

rust-iptables 0.5.3+ requires rust 1.85.0 to build, use the version
defined in Cargo.toml instead.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2025-03-24 16:09:20 +08:00 committed by Tianling Shen
parent 47ea48c09d
commit aba78031f5
1 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=netavark
PKG_VERSION:=1.9.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/containers/netavark/tar.gz/v$(PKG_VERSION)?
@ -40,6 +40,10 @@ endef
CARGO_PKG_VARS += \
PROTOC=$(STAGING_DIR_HOSTPKG)/bin/protoc
define Build/Compile
$(call Build/Compile/Cargo,,--locked)
endef
define Package/netavark/install
$(INSTALL_DIR) $(1)/etc/config $(1)/usr/lib/podman
$(INSTALL_CONF) ./files/netavark-config $(1)/etc/config/netavark