Проект

Общее

Профиль

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

« Предыдущее - Версия 5/16 (Разница(diff)) - Следующее » - Текущая версия
Dmitry Chernyak, 22.02.2013 01:20


BUILD-ISO

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

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

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

Install build components

# apt-get install simple-cdd sharutils git debhelper dpkg-dev cdbs

Get project sources

$ git clone http://github.com/skycover/sci-cd.git

Use Git magic

You should create your own branch to place modifications and to save the
ability to receive updates.

$ cd sci-cd
$ git checkout -b local

For additional useful commands read GITMAGIC

Adjust the environment

profiles/SCI-amd64.conf

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

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.

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.

Build ISO image

./build.sh -b develop

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

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:

./makeusb.sh /dev/sdX

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!