diff options
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 2b8868b625..8bb8612e0f 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -11195,18 +11195,18 @@ | |||
11195 | 11195 | ||
11196 | <para> | 11196 | <para> |
11197 | To create the read-only root filesystem, simply add the | 11197 | To create the read-only root filesystem, simply add the |
11198 | "read-only-rootfs" feature to your image. | 11198 | "read-only-rootfs" feature to your image, normally in one of two ways. |
11199 | Using either of the following statements in your | 11199 | The first way is to add the "read-only-rootfs" image feature |
11200 | image recipe or from within the | 11200 | in the image's recipe file via the |
11201 | <filename>local.conf</filename> file found in the | 11201 | <filename>IMAGE_FEATURES</filename> variable: |
11202 | <ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink> | ||
11203 | causes the build system to create a read-only root filesystem: | ||
11204 | <literallayout class='monospaced'> | 11202 | <literallayout class='monospaced'> |
11205 | IMAGE_FEATURES = "read-only-rootfs" | 11203 | IMAGE_FEATURES += "read-only-rootfs" |
11206 | </literallayout> | 11204 | </literallayout> |
11207 | or | 11205 | As an alternative, you can add the same feature from within your |
11206 | build directory's <filename>local.conf</filename> file with the | ||
11207 | associated <filename>EXTRA_IMAGE_FEATURES</filename> variable, as in: | ||
11208 | <literallayout class='monospaced'> | 11208 | <literallayout class='monospaced'> |
11209 | EXTRA_IMAGE_FEATURES += "read-only-rootfs" | 11209 | EXTRA_IMAGE_FEATURES = "read-only-rootfs" |
11210 | </literallayout> | 11210 | </literallayout> |
11211 | </para> | 11211 | </para> |
11212 | 11212 | ||