~ubuntu-branches/ubuntu/precise/live-manual/precise

« back to all changes in this revision

Viewing changes to manual/fr/installation.xml

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2010-06-06 15:30:21 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100606153021-wjm839uxrii9x2ks
Tags: upstream-2.0~a1
Import upstream version 2.0~a1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 
3
    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
 
4
  <!ENTITY % commondata SYSTEM "common.ent" > %commondata;
 
5
]>
 
6
<chapter id="installation">
 
7
<title>Installation</title>
 
8
 
 
9
<section>
 
10
<title>Prérequis</title>
 
11
 
 
12
<para>Construire des systèmes Debian Live ne nécessite que très peu de prérequis:</para>
 
13
 
 
14
<orderedlist>
 
15
<listitem><para>Un accès super-utilisateur (root)</para></listitem>
 
16
<listitem><para>Une version à jour de &live-helper;</para></listitem>
 
17
<listitem><para>Un shell compatible POSIX comme <command>bash</command> ou
 
18
<command>dash</command>.</para></listitem>
 
19
<listitem><para><command>debootstrap</command> ou <command>cdebootstrap</command></para></listitem>
 
20
<listitem><para>Linux 2.6.x</para></listitem>
 
21
</orderedlist>
 
22
 
 
23
<para>Noter qu'il n'est pas nécessaire d'utiliser Debian ou une distribution
 
24
dérivée de Debian.&live-helper;s'exécutera su presque tous les systèmes
 
25
d'exploitation remplissant les conditions ci-dessus.</para>
 
26
 
 
27
</section>
 
28
 
 
29
<section>
 
30
<title>Installer &live-helper;</title>
 
31
 
 
32
<para>Vous pouvez installer &live-helper; de manière très variées:</para>
 
33
 
 
34
<orderedlist>
 
35
<listitem><para>Depuis le dépot Debian</para></listitem>
 
36
<listitem><para>Depuis les sources</para></listitem>
 
37
<listitem><para>Depuis les snapshots</para></listitem>
 
38
<listitem><para>Depuis backports.org</para></listitem>
 
39
</orderedlist>
 
40
 
 
41
<para>Si vous utilisez &lenny; ou &sid; il est conseillé d'installer &live-helper;
 
42
depuis le dépot Debian.</para>
 
43
 
 
44
<section>
 
45
<title>Depuis le dépot Debian</title>
 
46
 
 
47
<para>Installer simplement &live-helper; comme n'importe quel autre paquet:</para>
 
48
<screen># apt-get install live-helper</screen>
 
49
<para>ou</para>
 
50
<screen># aptitude install live-helper</screen>
 
51
 
 
52
</section>
 
53
 
 
54
<section>
 
55
<title>Depuis les sources</title>
 
56
 
 
57
<para>&live-helper; est développé avec le système de contrôle de version Git. Sur
 
58
les systèmes Debian, il est fourni par le paquet
 
59
<command>git-core</command>. Pour rapatrier la dernière version, exécuter:</para>
 
60
<screen>$ git clone git://live.debian.net/git/live-helper.git</screen>
 
61
<para>Vous pouvez construire et installer votre propre paquet Debian en exécutant:</para>
 
62
<screen>
 
63
 $ cd live-helper
 
64
 $ dpkg-buildpackage -rfakeroot -b -uc -us
 
65
 $ cd ..
 
66
 # dpkg -i live-helper*.deb
 
67
</screen>
 
68
<para>Vous pouvez aussi utiliser une version locale de &live-helper; sans
 
69
installation:</para>
 
70
<screen># live-helper/helpers/lh_local</screen>
 
71
<para>Subsequent calls to <filename>lh_</filename>-prefixed helpers in that shell
 
72
environment will then use the version located in the directory you executed
 
73
<filename>lh_local</filename> from.</para>
 
74
<para>Vous pouvez aussi installer &live-helper; directement sur votre système en
 
75
exécutant:</para>
 
76
<screen># make install</screen>
 
77
 
 
78
</section>
 
79
 
 
80
<section>
 
81
<title>Depuis les 'snapshots'</title>
 
82
<para>If you do not wish to build or install &live-helper; from source, you can
 
83
use snapshots. These are built automatically from the latest version in Git
 
84
and are available on <ulink
 
85
url="http://live.debian.net/debian/">http://live.debian.net/debian</ulink>.</para>
 
86
</section>
 
87
 
 
88
<section>
 
89
<title>&live-initramfs;</title>
 
90
 
 
91
<para><emphasis>N.B. Vous n'êtes pas obligé d'installer &live-initramfs; sur votre
 
92
système pour créer des systèmes Debian Live personnalisés. Cependant,
 
93
l'installer ne nuira pas</emphasis></para>
 
94
 
 
95
<section>
 
96
<title>Utiliser un &live-initramfs; personnalisé</title>
 
97
 
 
98
<para>Pour modifer le code vous pouvez suivre la procédure suivante. Assurez-vous,
 
99
svp, d'être familier avec les définitions mentionnées dans <xref
 
100
linkend="terms"/>.</para>
 
101
 
 
102
<orderedlist>
 
103
<listitem>
 
104
<para>Rapatrier les sources de &live-initramfs;</para>
 
105
<screen>$ git clone git://live.debian.net/git/live-initramfs.git</screen>
 
106
</listitem>
 
107
<listitem>
 
108
<para>Faites les changements sur votre copie locale</para>
 
109
<para>Et prenez garde que si vous voulez ajouter votre script pre-init à
 
110
live-bottom, vous devriez le nommer sans tirets '-', par exemple, appeler le
 
111
"81nouvelle_fonctionalite" et non "81nouvelle-fonctionalite".</para>
 
112
</listitem>
 
113
<listitem>
 
114
<para>Constuire un .deb de &live-initramfs;</para>
 
115
<para>You must build either on your target distribution or in a chroot containing
 
116
your target platform: this means if your target is lenny then you should
 
117
build against lenny. You can use a personal builder such as
 
118
<command>pbuilder</command> to automate building packages in chroot. To
 
119
build directly on the target platform, use
 
120
<command>dpkg-buildpackage</command> (provided by the
 
121
<command>dpkg-dev</command> package):</para>
 
122
<screen>
 
123
$ cd live-initramfs
 
124
$ dpkg-buildpackage -rfakeroot -b -uc -us
 
125
</screen>
 
126
</listitem>
 
127
<listitem>
 
128
<para>Utiliser le <command>.deb</command> ainsi généré de &live-initramfs;</para>
 
129
<para>As &live-initramfs; is installed by the build system, installing the package
 
130
in the host system is not sufficient: you should treat the generated
 
131
<command>.deb</command> like another custom package. Please see <xref
 
132
linkend="custom-packages"/> for more information. You should pay particular
 
133
attention to <xref linkend="custom-packages-apt"/>.</para>
 
134
</listitem>
 
135
</orderedlist>
 
136
</section>
 
137
 
 
138
<section>
 
139
<title>Using &live-initramfs; snapshots</title>
 
140
 
 
141
<para>You can let &live-helper; automatically use the latest snapshot of
 
142
&live-initramfs; by configuring a third-party repository in your live-system
 
143
configuration. Assuming you have already created a configuration tree with
 
144
<command>lh config</command>:</para>
 
145
 
 
146
<orderedlist>
 
147
<listitem>
 
148
<para>Créer une entrée dans le fichier sources.list pour l'étape du chroot:</para>
 
149
<screen>echo "deb http://live.debian.net/ sid-snapshots main contrib non-free" > config/chroot_sources/debian-live_sid-snapshots.chroot</screen>
 
150
</listitem>
 
151
<listitem>
 
152
<para>Create a sources.list entry for the binary stage:</para>
 
153
<screen>cp config/chroot_sources/debian-live_sid-snapshots.chroot config/chroot_sources/debian-live_sid-snapshots.binary</screen>
 
154
</listitem>
 
155
<listitem>
 
156
<para>Fetch the archive signing key:</para>
 
157
<screen>
 
158
wget http://live.debian.net/debian/project/openpgp/archive-key.asc -O config/chroot_sources/debian-live_sid-snapshots.chroot.gpg
 
159
cp config/chroot_sources/debian-live_sid-snapshots.chroot.gpg config/chroot_sources/debian-live_sid-snapshots.binary.gpg
 
160
</screen>
 
161
</listitem>
 
162
</orderedlist>
 
163
</section>
 
164
</section>
 
165
</section>
 
166
</chapter>