diff options
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 344b06b0aa..de35d849eb 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -2219,7 +2219,7 @@ | |||
2219 | <para> | 2219 | <para> |
2220 | The following list presents the overall steps you need to | 2220 | The following list presents the overall steps you need to |
2221 | consider and perform to create distributions with smaller | 2221 | consider and perform to create distributions with smaller |
2222 | filesystems, faster boot times, maintain your critical | 2222 | root filesystems, faster boot times, maintain your critical |
2223 | functionality, and avoid initial RAM disks: | 2223 | functionality, and avoid initial RAM disks: |
2224 | <itemizedlist> | 2224 | <itemizedlist> |
2225 | <listitem><para>Determine your goals and guiding | 2225 | <listitem><para>Determine your goals and guiding |
@@ -2306,7 +2306,7 @@ | |||
2306 | <listitem><para><filename>ksize.py</filename>: Reports | 2306 | <listitem><para><filename>ksize.py</filename>: Reports |
2307 | component sizes for the kernel files.</para></listitem> | 2307 | component sizes for the kernel files.</para></listitem> |
2308 | <listitem><para><filename>dirsize.py</filename>: Reports | 2308 | <listitem><para><filename>dirsize.py</filename>: Reports |
2309 | component sizes for root filesystem.</para></listitem> | 2309 | component sizes for the root filesystem.</para></listitem> |
2310 | </itemizedlist> | 2310 | </itemizedlist> |
2311 | This next tool and command helps you organize configuration | 2311 | This next tool and command helps you organize configuration |
2312 | fragments and view file dependencies in a human-readable form: | 2312 | fragments and view file dependencies in a human-readable form: |
@@ -2346,16 +2346,16 @@ | |||
2346 | <title>Trim the Root Filesystem</title> | 2346 | <title>Trim the Root Filesystem</title> |
2347 | 2347 | ||
2348 | <para> | 2348 | <para> |
2349 | Root filesystem is made up of packages for booting, libraries, | 2349 | The root filesystem is made up of packages for booting, |
2350 | and applications. | 2350 | libraries, and applications. |
2351 | To change things you can configure how the packaging happens, | 2351 | To change things you can configure how the packaging happens, |
2352 | which changes the way you build them. | 2352 | which changes the way you build them. |
2353 | You can also tweak the filesystem itself or select a different | 2353 | You can also tweak the filesystem itself or select a different |
2354 | file system. | 2354 | filesystem. |
2355 | </para> | 2355 | </para> |
2356 | 2356 | ||
2357 | <para> | 2357 | <para> |
2358 | First, check out what is hogging your file system running the | 2358 | First, check out what is hogging your root filesystem running the |
2359 | <filename>dirsize.py</filename> script from your root directory: | 2359 | <filename>dirsize.py</filename> script from your root directory: |
2360 | <literallayout class='monospaced'> | 2360 | <literallayout class='monospaced'> |
2361 | $ cd <root-directory-of-image> | 2361 | $ cd <root-directory-of-image> |
@@ -2405,8 +2405,9 @@ | |||
2405 | </para> | 2405 | </para> |
2406 | 2406 | ||
2407 | <para> | 2407 | <para> |
2408 | Finally, you should consider exactly what filesystem you need | 2408 | Finally, you should consider exactly the type of root |
2409 | to meet your needs while also reducing size. | 2409 | filesystem you need to meet your needs while also reducing |
2410 | its size. | ||
2410 | For example, consider <filename>cramfs</filename>, | 2411 | For example, consider <filename>cramfs</filename>, |
2411 | <filename>squashfs</filename>, <filename>ubifs</filename>, | 2412 | <filename>squashfs</filename>, <filename>ubifs</filename>, |
2412 | <filename>ext2</filename>, or an <filename>initramfs</filename> | 2413 | <filename>ext2</filename>, or an <filename>initramfs</filename> |
@@ -3285,7 +3286,7 @@ | |||
3285 | 3286 | ||
3286 | <para> | 3287 | <para> |
3287 | Before starting your debugging session, you need to enter | 3288 | Before starting your debugging session, you need to enter |
3288 | the following to set your sysroot filesystem location | 3289 | the following to set your root filesystem location |
3289 | by using a command with this form: | 3290 | by using a command with this form: |
3290 | <literallayout class='monospaced'> | 3291 | <literallayout class='monospaced'> |
3291 | set sysroot <your-sysroot-path> | 3292 | set sysroot <your-sysroot-path> |
@@ -3299,7 +3300,7 @@ | |||
3299 | <para> | 3300 | <para> |
3300 | To launch the host GDB, you need to source the | 3301 | To launch the host GDB, you need to source the |
3301 | cross-debugging environment script, which if you installed | 3302 | cross-debugging environment script, which if you installed |
3302 | the sysroot filesystem in the default location is at | 3303 | the root filesystem in the default location is at |
3303 | <filename>/opt/poky/&DISTRO;</filename> and begins with the | 3304 | <filename>/opt/poky/&DISTRO;</filename> and begins with the |
3304 | string "environment-setup". | 3305 | string "environment-setup". |
3305 | </para> | 3306 | </para> |