lcr/0023-add-no-pivot-root-config.patch

42 lines
1.3 KiB
Diff
Raw Permalink Normal View History

From 80037cd8257e5b5702c729953a6c9ef56b4354f4 Mon Sep 17 00:00:00 2001
From: zhongtao <zhongtao17@huawei.com>
Date: Wed, 6 Nov 2024 15:35:02 +0800
Subject: [PATCH 23/25] add no pivot root config
Signed-off-by: zhongtao <zhongtao17@huawei.com>
---
src/json/schema/host-config.json | 3 +++
src/json/schema/shim/client/process-state.json | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/json/schema/host-config.json b/src/json/schema/host-config.json
index a9679bd..f9e2d4c 100644
--- a/src/json/schema/host-config.json
+++ b/src/json/schema/host-config.json
@@ -306,6 +306,9 @@
"type": "string"
}
},
+ "NoPivotRoot": {
+ "type": "boolean"
+ },
"CdiRequestedDevices": {
"type": "array",
"items": {
diff --git a/src/json/schema/shim/client/process-state.json b/src/json/schema/shim/client/process-state.json
index bfa8416..f35ee6a 100644
--- a/src/json/schema/shim/client/process-state.json
+++ b/src/json/schema/shim/client/process-state.json
@@ -188,7 +188,7 @@
}
},
"noPivotRoot": {
- "tyoe": "boolean"
+ "type": "boolean"
},
"checkpoint": {
"type": "string"
--
2.34.1