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