-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
46 lines (39 loc) · 1.34 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Usage Examle:
Step 1)
$ ddiskit prepare_sources
Writing new config file (module.config)... OK
Creating directory structure for RPM build ... OK
Creating directory for source code ... OK
Your module source code put in src directory.
Step 2)
Copy your code into src directory
$ tree src
src
├── drivers
│ └── net
│ └── ethernet
│ └── broadcom
│ ├── Makefile
│ ├── tg3.c
│ └── tg3.h
└── patches
├── 0001-test.patch
└── 0002-test.patch
Note1: Please, respect kernel tradicional directories!
Note2: Code in src could be patched or you can use additional
patches. Additional patches just copy into "patches" directory.
Step 3)
$ ddiskit generate_spec
Checking config ...
Config check ... done
File Exist rpm/SPECS/tg3.spec!
Found directory with patches, adding into spec file:
Patch0: 0001-test.patch
Patch1: 0002-test.patch
Firmware directory not found or empty-> skipping
Writing spec into rpm/SPECS/tg3.spec ... OK
Step 4)
$ ddiskit build_rpm
NOTE: Before this step, optionaly can check spec file in rpm/SPEC/ directory
Step 5)
$ ddiskit build_iso