source: clfs-embedded/BOOK/cleanup/copy-to-target.xml@ 2864f08

Last change on this file since 2864f08 was 1cfc0ed, checked in by Andrew Bradford <andrew@…>, 11 years ago

cleanup: Use ${CLFS}/targetfs

  • Property mode set to 100644
File size: 947 bytes
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-cleanup-copy-to-target">
9 <?dbhtml filename="copy-to-target.html"?>
10
11 <title>Copy to Target</title>
12
13 <para>We just created a cleaned-up version of our build, now
14 compress it so it can be archived and transferred to the target.</para>
15
16 <para>Create a tarball of the build:</para>
17
18<screen><userinput>install -dv ${CLFS}/build
19cd ${CLFS}/targetfs
20tar jcfv ${CLFS}/build/clfs-embedded.tar.bz2 *</userinput></screen>
21
22 <para>Now you can move your compressed tarball to your target
23 system. This will be different on every embedded device.</para>
24
25 <para>When uncompressing the tarball, make sure to pass tar the "-p"
26 switch to ensure permissions are preserved.</para>
27
28</sect1>
Note: See TracBrowser for help on using the repository browser.