Cette page vous affiche les différences entre la révision choisie et la version actuelle de la page.
|
robotics:computing:ubuntu_linux_install_script_using_debootstrap [2012/05/29 21:33] gdo créée |
robotics:computing:ubuntu_linux_install_script_using_debootstrap [2012/09/20 10:52] (Version actuelle) |
||
|---|---|---|---|
| Ligne 13: | Ligne 13: | ||
| == Downloads : == | == Downloads : == | ||
| - | * {{:robotics:computing:ubuntu_linux_install_script_using_debootstrap:make_distro.zip|}} | + | * {{:make_distro.tar.gz|}} |
| * [[http://www.roboard.com/Files/RB-100/linux-image-2.6.34.10-vortex86-sg_1.2_i386.zip|Kernel from DMP]] | * [[http://www.roboard.com/Files/RB-100/linux-image-2.6.34.10-vortex86-sg_1.2_i386.zip|Kernel from DMP]] | ||
| - | |||
| ====== Dependencies ====== | ====== Dependencies ====== | ||
| Ligne 21: | Ligne 20: | ||
| ====== Usage ====== | ====== Usage ====== | ||
| + | |||
| + | <code>$ ./make_distro.sh -h | ||
| + | This script build custom Ubuntu/Debian distributions. | ||
| + | |||
| + | ./make_distro.sh [-h] [-a <action>] [-d <path>] [-o <deb_packages>] [-p <packages>] [-t <target>] [-u <unwanted_packages>] [-v] [-r] | ||
| + | |||
| + | Options: | ||
| + | -a <action> Action : install or uninstall. | ||
| + | -b <device> Target device | ||
| + | -h Display this help message | ||
| + | -d <path> Bootstrap path | ||
| + | -o <deb_packages> .deb packages not in distro. Use ',' as separator. | ||
| + | -p <packages> Distro packages to use. Use ',' as separator. | ||
| + | -t target Target achitecture (same as host by default) | ||
| + | -u <unwanted_packages> Packages to remove after bootstrap. | ||
| + | -v Verbose mode | ||
| + | -r Read only distro</code> | ||
| + | |||
| + | You can customize other options by editing the script : | ||
| + | |||
| + | <code bash>ARCH=i386 | ||
| + | DEBIAN_DISTRO=ubuntu | ||
| + | DEBIAN_VERSION=precise</code> | ||
| + | ====== Example ====== | ||
| + | |||
| + | <code>sudo ./make_distro.sh -a install -p ubuntu-standard,linux-generic -o linux-image-2.6.34.10-vortex86-sg_1.2_i386.deb -b /dev/mmcblk0</code> | ||