Ubuntu personnalisée pour pcDuino
De Wiki Arobose
Gdo (discuter | contributions) |
Gdo (discuter | contributions) |
||
Ligne 47 : | Ligne 47 : | ||
(-c|--configuration) <file> Configuration file | (-c|--configuration) <file> Configuration file | ||
(-d|--target-dir) <path> Bootstrap path | (-d|--target-dir) <path> Bootstrap path | ||
− | (-e|--excluded-packages) "<excluded-packages>" Packages to exclude from bootstrap process. List must be quoted. | + | (-e|--excluded-packages) "<excluded-packages>" Packages to exclude from bootstrap process. List must be quoted. |
(-f|--only-rootfs) Build rootfs only | (-f|--only-rootfs) Build rootfs only | ||
(-h|--help) Display this help message | (-h|--help) Display this help message | ||
(-n|--distro-version) <distro-name> Debian/Ubuntu distribution name (same as host by default). | (-n|--distro-version) <distro-name> Debian/Ubuntu distribution name (same as host by default). | ||
− | (-o|--deb-packages) "<deb-packages>" | + | (-o|--deb-packages) "<deb-packages>" Local .deb packages. List must be quoted. |
− | (-p|--packages) "<packages>" | + | (-p|--packages) "<packages>" Distro packages to use. List must be quoted. |
(--script-rootfs) <script> Launch your script after rootfs is created and all package installed. | (--script-rootfs) <script> Launch your script after rootfs is created and all package installed. | ||
(--script-prepare) <script> Launch your script to prepare the target device. | (--script-prepare) <script> Launch your script to prepare the target device. | ||
Ligne 60 : | Ligne 60 : | ||
(-t|--target) <target> Target achitecture (same as host by default). | (-t|--target) <target> Target achitecture (same as host by default). | ||
(-v|--verbose) Verbose mode</syntaxhighlight> | (-v|--verbose) Verbose mode</syntaxhighlight> | ||
+ | |||
+ | |||
+ | Donc si par exemple vous souhaitez rajouter un environnement graphique ubuntu, vous devrez modifier l'option '''-p''' en ajoutant le package '''ubuntu-desktop''' : | ||
+ | <syntaxhighlight lang="bash">sudo make-deb-distro -a uninstall -c pcduino.conf | ||
+ | sudo make-deb-distro -a install -b /dev/mmcblk0 -c pcduino.conf -p "vim openssh-server language-pack-fr language-pack-fr-base isc-dhcp-client ubuntu-desktop"</syntaxhighlight> | ||
+ | |||
+ | Toutes les options en ligne de commande peuvent être initialisées dans le fichier de conf passé en paramètre ('''pcduino.conf'''). |