diff mbox series

[meta-security] suricata: fix build issue.

Message ID 20230912112932.1201425-1-akuster808@gmail.com
State New
Headers show
Series [meta-security] suricata: fix build issue. | expand

Commit Message

akuster808 Sept. 12, 2023, 11:29 a.m. UTC
If you want to try to generate the lock file without accessing the network, remove the --frozen flag and use --offline instead.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 recipes-ids/suricata/suricata_6.0.11.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-ids/suricata/suricata_6.0.11.bb b/recipes-ids/suricata/suricata_6.0.11.bb
index 914278e..e9e4a0f 100644
--- a/recipes-ids/suricata/suricata_6.0.11.bb
+++ b/recipes-ids/suricata/suricata_6.0.11.bb
@@ -30,7 +30,8 @@  EXTRA_OECONF += " --disable-debug \
     "
 
 CARGO_SRC_DIR = "rust"
-#CARGO_LOCK_SRC_DIR = "${S}/rust"
+CARGO_BUILD_FLAGS:remove = "--frozen"
+CARGO_BUILD_FLAGS:append = " --offline"
 
 B = "${S}"