diff options
| author | Ming Liu <liu.ming50@gmail.com> | 2021-06-30 11:57:31 +0200 |
|---|---|---|
| committer | Ming Liu <liu.ming50@gmail.com> | 2021-06-30 13:53:39 +0200 |
| commit | 6e24e397347b0d14652793fea3dcf95438442ed8 (patch) | |
| tree | d219817f9fdfdeabd83941a40dad8b3a242f33ab /classes/sota.bbclass | |
| parent | 05e0075ffe155c6177ac5402e8b05ec5e7cb556d (diff) | |
| download | meta-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.bbclass | 1 |
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}" | |||
| 32 | OSTREE_DEPLOY_DEVICETREE ??= "0" | 32 | OSTREE_DEPLOY_DEVICETREE ??= "0" |
| 33 | OSTREE_DEVICETREE ??= "${KERNEL_DEVICETREE}" | 33 | OSTREE_DEVICETREE ??= "${KERNEL_DEVICETREE}" |
| 34 | OSTREE_MULTI_DEVICETREE_SUPPORT ??= "0" | 34 | OSTREE_MULTI_DEVICETREE_SUPPORT ??= "0" |
| 35 | OSTREE_SYSROOT_READONLY ??= "0" | ||
| 35 | 36 | ||
| 36 | INITRAMFS_IMAGE ?= "initramfs-ostree-image" | 37 | INITRAMFS_IMAGE ?= "initramfs-ostree-image" |
| 37 | 38 | ||
