Проект

Общее

Профиль

BUILD-ISO » История » Версия 12

Версия 11 (Dmitry Chernyak, 08.06.2013 03:01) → Версия 12/16 (Dmitry Chernyak, 19.06.2016 20:40)

h1. BUILD-ISO

{{toc}}

[[OVERVIEW]]| [[OVERVIEW]] | [[BUILD-ISO]] | [[INSTALL]] | [[SETUP]] | [[OPERATIONS]] | [[GITMAGIC]] | [[LICENSE]] | [[STATUS]]
[[ОБЗОР]] | [[СБОРКА-ISO]] | [[УСТАНОВКА]] | [[НАСТРОЙКА]] | [[ОПЕРАЦИИ]] | [[МАГИЯ GIT]] | [[ЛИЦЕНЗИЯ]] | [[СОСТОЯНИЕ]]

This is the ISO image building instructions for experienced users.
Basic users can take built ISO from http://sci-dev.skycover.ru/dist/SCI-CD-latest.iso

h2. You'll need the Internet connection to build CD-ROM

The build engine is based on the simple-cdd Debian package.

h2. Install build components

<pre>
# apt-get install simple-cdd sharutils git debhelper dpkg-dev cdbs mtools dosfstools xorriso
</pre>

h2. Get project sources

<pre>
$ git clone http://github.com/skycover/sci-cd.git
$ cd sci-cd
$ git checkout develop
</pre>

h2. Use Git magic

We recommend you to create your own branch to place modifications and to save the
ability to receive updates.

<pre>
$ git checkout -b local
</pre>

For additional useful commands read [[GITMAGIC]]

h2. Adjust the environment

h3. _profiles/SCI-amd64.conf_

You can change debian_mirror and security_mirror settings if
you are using another mirrors or apt-proxies.

h3. _profiles/SCI-amd64.downloads_

You can add more packages here to make more functional distro on the
CD. It is recomended that you should first try the default list and
then rebuild with your extention.

h3. _profiles/SCI-amd64.files/postinst.conf_

Optional. The file should be created.
Tunable parameters:

*vlan_no* - if set, the control network will be placed in this vlan
using 802.1q tagging.

h2. Build ISO image

<pre>
./build.sh -b develop
</pre>

Image will be built in @images/@ folder, burn it with your favorite tool
(for ex. - k3b).

h2. Build bootable USB-flash

Any usb-flash will be sufficient with the partition, already formatted as vfat and that is capable to port the ISO image.

Run as root:

<pre>
./makeusb.sh /dev/sdX
</pre>

Where /dev/sdX - the path to the block device of your USB-flash (thr whole flash /dev/sdX, not the vfat parition - /dev/sdX1)
After the script finishes, the filysystem from the flash will be mounted to /mnt (you can change the mountpont in the body of the script).
Next you should copy the built ISO-image into the top folder of the flash ad then unmount it.

The bootable USB-flash is complete!

Next read [[INSTALL]]