diff mbox series

[isar-cip-core,v3,5/6] Add Kconfig option for separate home partition

Message ID 20250305102807.2614514-6-Quirin.Gylstorff@siemens.com (mailing list archive)
State New
Headers show
Series Make /home partition optional | expand

Commit Message

Quirin Gylstorff March 5, 2025, 10:27 a.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox series

Patch

diff --git a/Kconfig b/Kconfig
index 3c246fa..40eee9d 100644
--- a/Kconfig
+++ b/Kconfig
@@ -241,6 +241,12 @@  config IMAGE_FULL_ENCRYPTION
 	  If the partitions contain secrets the first boot must occur in a secure
 	  location.
 
+config SEPARATE_HOME_PARTITION
+	bool "Separate Home Partition"
+	help
+	  This adds a separate home partition to the build image instead of moving
+	  home to the var partition.
+
 config KAS_INCLUDE_DATA_ENCRYPTION
 	string
 	default "kas/opt/encrypt-data.yml" if IMAGE_DATA_ENCRYPTION
@@ -249,6 +255,10 @@  config KAS_INCLUDE_FULL_ENCRYPTION
 	string
 	default "kas/opt/encrypt-all.yml" if IMAGE_FULL_ENCRYPTION
 
+config KAS_INCLUDE_HOME_PARTITION
+	string
+	default "kas/opt/separate-home-partition.yml" if SEPARATE_HOME_PARTITION
+
 config WDOG_TIMEOUT
 	int "EFI Boot Guard watchdog timeout in seconds"
 	default 60