BUILD-ISO » История » Версия 8
« Предыдущее -
Версия 8/16
(Разница(diff)) -
Следующее » -
Текущая версия
Dmitry Chernyak, 24.02.2013 19:06
BUILD-ISO¶
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
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 $ cd sci-cd $ git checkout develop
Use Git magic¶
We recommend you to create your own branch to place modifications and to save the
ability to receive updates.
$ git checkout -b local
For additional useful commands read GITMAGIC
Adjust the environment¶
profiles/SCI-amd64.conf¶
You can 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!