Projet

Général

Profil

GitPackagingCreateSchroot » Historique » Version 1

Daniel Dehennin, 10/01/2012 10:44

1 1 Daniel Dehennin
h1. Installation du système de base
2 1 Daniel Dehennin
3 1 Daniel Dehennin
La création du chroot en lui même est très simple mais nécessitera des
4 1 Daniel Dehennin
ajustements préalables décris ci-après en fonction du choix fait entre
5 1 Daniel Dehennin
@LVM@ et @btrfs@.
6 1 Daniel Dehennin
7 1 Daniel Dehennin
En assumant que le chroot doit être créer dans le répertoire
8 1 Daniel Dehennin
@/srv/chroot/${dist}-${arch}-sbuild/@, la commande pour installer le
9 1 Daniel Dehennin
chroot est la suivante :
10 1 Daniel Dehennin
11 1 Daniel Dehennin
<pre>
12 1 Daniel Dehennin
buildd@build:~$ sudo sbuild-createchroot --keyring=/etc/apt/trusted.gpg \
13 1 Daniel Dehennin
    --arch=${arch} \
14 1 Daniel Dehennin
    --components=main,restricted,universe,multiverse \
15 1 Daniel Dehennin
    --include=sudo \
16 1 Daniel Dehennin
    ${dist} \
17 1 Daniel Dehennin
    /srv/chroot/${dist}-${arch}-sbuild \
18 1 Daniel Dehennin
    http://eoleng.ac-dijon.fr/ubuntu
19 1 Daniel Dehennin
</pre>
20 1 Daniel Dehennin
21 1 Daniel Dehennin
L’utilisation de l’option @--components@ est importante pour la
22 1 Daniel Dehennin
résolution des dépendances.