summaryrefslogtreecommitdiffstats
path: root/classes/sota.bbclass
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2021-06-30 11:57:31 +0200
committerMing Liu <liu.ming50@gmail.com>2021-06-30 13:53:39 +0200
commit6e24e397347b0d14652793fea3dcf95438442ed8 (patch)
treed219817f9fdfdeabd83941a40dad8b3a242f33ab /classes/sota.bbclass
parent05e0075ffe155c6177ac5402e8b05ec5e7cb556d (diff)
downloadmeta-updater-6e24e397347b0d14652793fea3dcf95438442ed8.tar.gz
meta: support readonly sysroot
Currently ostree sysroot is being mounted as RW by ostree-remount systemd service, add a variable OSTREE_SYSROOT_READONLY to control that, so the end users could choose to mount sysroot as RO. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r--classes/sota.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index 8f3f5d7..a331fa4 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -32,6 +32,7 @@ OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}"
32OSTREE_DEPLOY_DEVICETREE ??= "0" 32OSTREE_DEPLOY_DEVICETREE ??= "0"
33OSTREE_DEVICETREE ??= "${KERNEL_DEVICETREE}" 33OSTREE_DEVICETREE ??= "${KERNEL_DEVICETREE}"
34OSTREE_MULTI_DEVICETREE_SUPPORT ??= "0" 34OSTREE_MULTI_DEVICETREE_SUPPORT ??= "0"
35OSTREE_SYSROOT_READONLY ??= "0"
35 36
36INITRAMFS_IMAGE ?= "initramfs-ostree-image" 37INITRAMFS_IMAGE ?= "initramfs-ostree-image"
37 38