Changeset 2a0b49e in clfs-embedded
- Timestamp:
- Mar 23, 2011, 3:39:24 PM (14 years ago)
- Branches:
- master
- Children:
- 3e496b8
- Parents:
- 373cf47
- git-author:
- Andrew Bradford <bradfa@…> (03/21/11 04:21:34)
- git-committer:
- Andrew Bradford <bradfa@…> (03/23/11 15:39:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cleanup/remove-files.xml
r373cf47 r2a0b49e 11 11 <title>Remove Unnecessary Files</title> 12 12 13 <para>Well we have this system finished, we can make it smaller by 14 removing files that are not necessary for our build. On this page 15 we remove the bloat from our build.</para> 13 <para>The system is almost finished. It can be made smaller by removing 14 files that are not necessary.</para> 16 15 17 <para>Now let's create a backup of our build:</para> 16 <para>Create a copy of the file system in case changes need to be made 17 to it later:</para> 18 18 19 19 <screen><userinput>install -dv ${CLFS}-final 20 20 cp -arv ${CLFS}/* ${CLFS}-final/</userinput></screen> 21 21 22 <para> Let's remove the files we don't need anymore:</para>22 <para>Remove files that aren't needed:</para> 23 23 24 24 <screen><userinput>rm -rfv ${CLFS}-final/cross-tools … … 28 28 rm -rfv ${CLFS}-final/usr/share/man</userinput></screen> 29 29 30 <para> Let's remove the static libaries:</para>30 <para>Remove the static libaries:</para> 31 31 32 32 <screen><userinput>FILES="$(ls ${CLFS}-final/lib/*.a ${CLFS}-final/usr/lib/*.a)"
Note:
See TracChangeset
for help on using the changeset viewer.