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