summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/dev-manual-common-tasks.xml
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2020-04-07 05:41:58 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-07 22:00:10 +0100
commit4a115c52cfc9aeab466350b62e83a5448b1320be (patch)
treed89e8ac558c76f19c0b59bb999355e2f7308b3c9 /documentation/dev-manual/dev-manual-common-tasks.xml
parentfc4d55008edb667ae55c2111fe86a98b8926900f (diff)
downloadpoky-4a115c52cfc9aeab466350b62e83a5448b1320be.tar.gz
dev-manual: clarify how to select "read-only-rootfs"
For stylistic reasons, clarify the use of both IMAGE_FEATURES versus EXTRA_IMAGE_FEATURES when configuring a read-only rootfs. (From yocto-docs rev: 4111e4e70a87400671455ddd873d802d40d6b587) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml18
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