Building Installation Images
These steps must be performed in a Seadot environment. You may use a real device running Seadot, a Seadot virtual machine, or the Seadot Chroot Environment.
Get the Build Tools
The Seadot build-tools project is hosted at http://gitorious.org/seadot/build-tools.
You may have to install git first.
zypper install git
Clone the repository with git.
This will create a directory build-tools at your current location.
Update the Build Tools
The build-tools project is under constant development. You should update to the latest version regularly.
cd build-tools git pull
Build an Image
You may have to install mic first.
zypper install mic
Enter the build-tools directory and invoke the build-image.sh script as root to build an USB disk image.
cd build-tools ./build-image.sh usb
Alternatively, you can build ISO
or a chroot tarball
After the build has finished, you will find the result in the subdirectory mic-output.
Enabling Special Features
The build-image.sh script accepts a comma-separated list of feature keys as second parameter. By default, if you supply no feature keys, the key repo_stable is set, which builds Seadot using the stable repository.
For instance, to build from stage repository, pass the key repo_stage.
./build-image.sh usb repo_stage
The currently supported feature keys are:
- repo_test Build from the local test repository, if you have one.
- repo_stage Build from the stage repository.
- repo_stable Build from the stable repository (this is the default setting).
- repo_mer_core_latest Build against the latest stable Mer core instead of the one approved by Seadot. Builds resulting from this may not always work as expected.