Scriptmakechroot
Differences between revisions 2 and 3
823
Comment: fixup kteam chroot deployment doc
|
684
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
== Usage of Script build-mkschroot == | == Usage of Script make_chroot == |
Line 7: | Line 7: |
chroot-setup/build-mkschroot [--arch=<arch>] <suite> <target-dir> [<mirror>] | chroot-setup/make_chroot <suite> <arch> [<mirror>] |
Line 13: | Line 13: |
sudo chroot-setup/build-mkschroot --arch=i386 hardy hardy-i386 http://archive.ubuntu.com/ubuntu | sudo chroot-setup/make_chroot precise amd64 http://archive.ubuntu.com/ubuntu |
Line 20: | Line 20: |
* target-dir stands for the directory where the chroot environment will be installed. |
Usage of Script make_chroot
To automatically create the chroot environment use:
chroot-setup/make_chroot <suite> <arch> [<mirror>]
For example:
sudo chroot-setup/make_chroot precise amd64 http://archive.ubuntu.com/ubuntu
Where:
- arch stands for different arch supported by the CPU, for example i386 on AMD64 or LPIA on i386 etc.
- suite stands for release name such as hardy, gutsy, intrepid etc.
mirror stands for the http location to download environment from, http://host[:port]/dir/
Note: You don't need to specify a mirror when using the LPIA arch
Kernel/Action/Scriptmakechroot (last edited 2012-05-23 15:19:01 by c-24-147-74-79)