lcr/0023-add-no-pivot-root-config.patch
liuxu afb705c076 lcr: sync from upstream
Signed-off-by: liuxu <liuxu156@huawei.com>
(cherry picked from commit a31b7e00909a434144979f31851b3040b5881ac3)
2024-11-25 17:22:18 +08:00

42 lines
1.3 KiB
Diff

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