source: clfs-embedded/BOOK/cleanup/copy-to-target.xml@ 1cfc0ed

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

cleanup: Use ${CLFS}/targetfs

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