Building Installation Images

Aus Seadot Wiki
Wechseln zu: Navigation, Suche

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.


Inhaltsverzeichnis

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.

git clone git://gitorious.org/seadot/build-tools.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

./build-image.sh iso

or a chroot tarball

./build-image.sh chroot

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:

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Werkzeuge