Scott Murray
2026-09-14 20:56:10 +03:00
parent d8dc1ec244
commit 958edac22e
4 changed files with 847 additions and 533 deletions
@@ -0,0 +1,24 @@
From 2ab05412b6c4abf21c1eec11fb62b28068e5ea81 Mon Sep 17 00:00:00 2001
From: Armin Kuster <akuster808@gmail.com>
Date: Tue, 27 Jul 2021 08:06:43 -0700
Subject: [PATCH] Disable abort on panic
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 8e37e968..92e6fb9a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -107,7 +107,7 @@ urlparse = "0.7"
# Make sure that Krill crashes on panics, rather than losing threads and
# limping on in a bad state.
[profile.release]
-panic = "abort"
+#panic = "abort"
# ------------------------------------------------------------------------------
# START DEBIAN PACKAGING
@@ -1,16 +0,0 @@
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Index: git/Cargo.toml
===================================================================
--- git.orig/Cargo.toml
+++ git/Cargo.toml
@@ -91,7 +91,7 @@ hsm-tests-pkcs11 = [ "hsm" ]
# Make sure that Krill crashes on panics, rather than losing threads and
# limping on in a bad state.
[profile.release]
-panic = "abort"
+#panic = "abort"
[dev-dependencies]
regex = "1.5.5"
File diff suppressed because it is too large Load Diff
@@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
DEPENDS = "openssl"
# SRC_URI += "crate://crates.io/krill/0.9.1"
SRC_URI = "git://github.com/NLnetLabs/krill.git;protocol=https;branch=main"
SRCREV = "e92098419c7ad82939e0483bc76df21eff705b80"
SRC_URI += "file://panic_workaround.patch"
SRC_URI = "git://github.com/NLnetLabs/krill.git;protocol=https;branch=main \
file://0001-Disable-abort-on-panic.patch \
"
SRCREV = "b2a26cd9f44a385d8a62a0199b082f44e5062039"
include krill-crates.inc