Проект

Общее

Профиль

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

Dmitry Chernyak, 08.06.2013 03:01

1 1 Владимир Ипатов
h1. BUILD-ISO
2 1 Владимир Ипатов
3 1 Владимир Ипатов
{{toc}}
4 1 Владимир Ипатов
5 8 Dmitry Chernyak
[[OVERVIEW]] | [[BUILD-ISO]] | [[INSTALL]] | [[SETUP]] | [[OPERATIONS]] | [[GITMAGIC]] | [[LICENSE]] | [[STATUS]]
6 8 Dmitry Chernyak
[[ОБЗОР]] | [[СБОРКА-ISO]] | [[УСТАНОВКА]] | [[НАСТРОЙКА]] | [[ОПЕРАЦИИ]] | [[МАГИЯ GIT]] | [[ЛИЦЕНЗИЯ]] | [[СОСТОЯНИЕ]]
7 6 Dmitry Chernyak
8 8 Dmitry Chernyak
This is the ISO image building instructions for experienced users.
9 8 Dmitry Chernyak
Basic users can take built ISO from http://sci-dev.skycover.ru/dist/SCI-CD-latest.iso
10 1 Владимир Ипатов
11 1 Владимир Ипатов
h2. You'll need the Internet connection to build CD-ROM
12 1 Владимир Ипатов
13 1 Владимир Ипатов
The build engine is based on the simple-cdd Debian package.
14 1 Владимир Ипатов
15 1 Владимир Ипатов
h2. Install build components
16 1 Владимир Ипатов
17 1 Владимир Ипатов
<pre>
18 11 Dmitry Chernyak
# apt-get install simple-cdd sharutils git debhelper dpkg-dev cdbs mtools dosfstools xorriso
19 1 Владимир Ипатов
</pre>
20 1 Владимир Ипатов
21 1 Владимир Ипатов
h2. Get project sources
22 1 Владимир Ипатов
23 1 Владимир Ипатов
<pre>
24 1 Владимир Ипатов
$ git clone http://github.com/skycover/sci-cd.git
25 8 Dmitry Chernyak
$ cd sci-cd
26 8 Dmitry Chernyak
$ git checkout develop
27 1 Владимир Ипатов
</pre>
28 1 Владимир Ипатов
29 1 Владимир Ипатов
h2. Use Git magic
30 1 Владимир Ипатов
31 8 Dmitry Chernyak
We recommend you to create your own branch to place modifications and to save the
32 2 Владимир Ипатов
ability to receive updates.
33 1 Владимир Ипатов
34 1 Владимир Ипатов
<pre>
35 1 Владимир Ипатов
$ git checkout -b local
36 1 Владимир Ипатов
</pre>
37 1 Владимир Ипатов
38 1 Владимир Ипатов
For additional useful commands read [[GITMAGIC]]
39 1 Владимир Ипатов
40 1 Владимир Ипатов
h2. Adjust the environment
41 1 Владимир Ипатов
42 1 Владимир Ипатов
h3. _profiles/SCI-amd64.conf_
43 1 Владимир Ипатов
44 8 Dmitry Chernyak
You can change debian_mirror and security_mirror settings if
45 1 Владимир Ипатов
you are using another mirrors or apt-proxies.
46 1 Владимир Ипатов
47 1 Владимир Ипатов
h3. _profiles/SCI-amd64.downloads_
48 1 Владимир Ипатов
49 1 Владимир Ипатов
You can add more packages here to make more functional distro on the
50 1 Владимир Ипатов
CD.  It is recomended that you should first try the default list and
51 1 Владимир Ипатов
then rebuild with your extention.
52 1 Владимир Ипатов
53 1 Владимир Ипатов
h3. _profiles/SCI-amd64.files/postinst.conf_
54 1 Владимир Ипатов
55 1 Владимир Ипатов
Optional. The file should be created.
56 1 Владимир Ипатов
Tunable parameters:
57 1 Владимир Ипатов
58 1 Владимир Ипатов
*vlan_no* - if set, the control network will be placed in this vlan
59 1 Владимир Ипатов
using 802.1q tagging.
60 1 Владимир Ипатов
61 1 Владимир Ипатов
h2. Build ISO image
62 1 Владимир Ипатов
63 1 Владимир Ипатов
<pre>
64 1 Владимир Ипатов
./build.sh -b develop
65 5 Dmitry Chernyak
</pre>
66 8 Dmitry Chernyak
67 1 Владимир Ипатов
68 1 Владимир Ипатов
Image will be built in @images/@ folder, burn it with your favorite tool
69 1 Владимир Ипатов
(for ex. - k3b).
70 5 Dmitry Chernyak
71 5 Dmitry Chernyak
h2. Build bootable USB-flash
72 5 Dmitry Chernyak
73 5 Dmitry Chernyak
Any usb-flash will be sufficient with the partition, already formatted as vfat and that is capable to port the ISO image.
74 5 Dmitry Chernyak
75 5 Dmitry Chernyak
Run as root:
76 5 Dmitry Chernyak
77 5 Dmitry Chernyak
<pre>
78 5 Dmitry Chernyak
./makeusb.sh /dev/sdX
79 5 Dmitry Chernyak
</pre>
80 5 Dmitry Chernyak
81 5 Dmitry Chernyak
Where /dev/sdX - the path to the block device of your USB-flash (thr whole flash /dev/sdX, not the vfat parition - /dev/sdX1)
82 5 Dmitry Chernyak
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).
83 5 Dmitry Chernyak
Next you should copy the built ISO-image into the top folder of the flash ad then unmount it.
84 5 Dmitry Chernyak
85 5 Dmitry Chernyak
The bootable USB-flash is complete!
86 9 Dmitry Chernyak
87 9 Dmitry Chernyak
Next read [[INSTALL]]