|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (15)
View page history... |
# Make a copy of the default manifest file (/usr/share/distro_const/slim_cd/slim_cd.xml) to somewhere on your system. In this example, I just put it in / |
| {code}cp /usr/share/distro_const/slim_cd/slim_cd_x86.xml /slim_cd.xml |
| {code} |
| cp /usr/share/distro_const/slim_cd/slim_cd.xml /slim_cd.xml {code} |
| # Make the file writable: {code}chmod +w slim_cd.xml{code} |
| # Modify /slim_cd.xml to specify values that are specific to your environment. The values you need to modify/verify are the following. | *XML tag name* | *Explanation* | |
... |
| Everything else in the file can be left alone for the simple case. # When you are done with modifying the manifest file, you are ready to run the distro constructor. You have to run it as root. |
| {code}/usr/bin/distro_const build /slim_cd.xml |
| {code} |
| /usr/bin/distro_const build /slim_cd.xml {code} |
{anchor:use_checkpoint} |
... |
| The Distro Constructor has a resume and pause feature that will help users debug their selection of files, packages and scripts for creating images. To use the checkpointing feature, you must specify a ZFS dataset as your build area. Each checkpoint is referenced by a name. * To build an image, from start to finish: |
| {code}/usr/bin/distro_const build <manifest> |
| {code} |
| /usr/bin/distro_const build <manifest> {code} |
| * To see which checkpoints are available: |
| {code}/usr/bin/distro_const build -l <manifest> |
| {code} |
| /usr/bin/distro_const build -l <manifest> {code} |
| * Based on the checkpoints available, re-start from the bootroot initialization step (br-init), and run to completion: |
| {code}/usr/bin/distro_const build -r br-init <manifest> |
| {code} |
| /usr/bin/distro_const build -r br-init <manifest> {code} |
| * Based on the checkpoints available, re-start from bootroot initialization step(br-init), and stop at bootroot archiving(br-arch): |
| {code}/usr/bin/distro_const build -p br-arch -r br-init <manifest> |
| {code} |
| /usr/bin/distro_const build -p br-arch -r br-init <manifest> {code} |
| * Based on the checkpoints available, start from beginning, and stop at bootroot archive(br-arch): |
| {code}/usr/bin/distro_const build -p br-arch <manifest> |
| {code} |
| /usr/bin/distro_const build -p br-arch <manifest> {code} |