diff mbox series

[meta-selinux,3/3] README: update

Message ID 20230922022236.3578345-3-yi.zhao@windriver.com
State New
Headers show
Series [meta-selinux,1/3] selinux-image.bbclass: refactor bbclass | expand

Commit Message

Yi Zhao Sept. 22, 2023, 2:22 a.m. UTC
Add how to enable labeling on first boot.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 README | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/README b/README
index 77b6253..67708f7 100644
--- a/README
+++ b/README
@@ -75,6 +75,14 @@  VIRTUAL-RUNTIME_init_manager = "systemd"
 DISTRO_FEATURES_BACKFILL_CONSIDERED = ""
 
 
+Enable labeling on first boot
+----------------------------
+By default, the system will label selinux contexts during build. To enable
+labeling on first boot. Set FIRST_BOOT_RELABEL to 1 in local.conf:
+
+FIRST_BOOT_RELABEL = "1"
+
+
 Starting up the system
 ----------------------
 Most likely the reference policy selected will not just work "out of the box".