• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1-
2  fs_dir_name: mksh_rootfs
3  fs_dirs:
4    -
5      source_dir: ${root_path}/out/preloader/${product_name}/system
6      target_dir: system
7      dir_mode: 555
8      file_mode: 444
9    -
10      source_dir: bin
11      target_dir: bin
12      ignore_files:
13        - Test.bin
14        - TestSuite.bin
15        - query.bin
16        - cve
17        - checksum
18      is_strip: TRUE
19      dir_mode: 555
20      file_mode: 555
21    -
22      source_dir: libs
23      target_dir: lib
24      ignore_files:
25        - .a
26      is_strip: TRUE
27      dir_mode: 555
28      file_mode: 555
29    -
30      source_dir: usr/lib
31      target_dir: usr/lib
32      ignore_files:
33        - .a
34      is_strip: TRUE
35      dir_mode: 555
36      file_mode: 555
37    -
38      source_dir: usr/bin
39      target_dir: usr/bin
40      is_strip: TRUE
41      dir_mode: 555
42      file_mode: 555
43    -
44      source_dir: vendor
45      target_dir: vendor
46      dir_mode: 555
47      file_mode: 444
48    -
49      source_dir: config
50      target_dir: etc
51      ignore_files:
52        - init.cfg
53      dir_mode: 555
54      file_mode: 444
55    -
56      source_dir: system
57      target_dir: system
58      dir_mode: 555
59      file_mode: 444
60    -
61      source_dir: etc
62      target_dir: etc
63      dir_mode: 555
64      file_mode: 444
65    -
66      source_dir: obj/foundation/systemabilitymgr/samgr_lite/config
67      target_dir: etc
68      dir_mode: 555
69      file_mode: 444
70    -
71      target_dir: system/external
72    -
73      target_dir: proc
74    -
75      target_dir: dev
76    -
77      target_dir: storage
78    -
79      target_dir: userdata
80  fs_filemode:
81    -
82      file_dir: "etc/init.cfg"
83      file_mode: 400
84    -
85      file_dir: "bin/init"
86      file_mode: 500
87    -
88      file_dir: "bin/mksh"
89      file_mode: 500
90  fs_make_cmd:
91    - chmod 777 ${fs_dir}/etc
92    - chmod 777 ${fs_dir}/etc/init_mksh.cfg
93    - mv ${fs_dir}/etc/init_mksh.cfg ${fs_dir}/etc/init.cfg
94    - chmod 400 ${fs_dir}/etc/init.cfg
95    - chmod 555 ${fs_dir}/etc
96    - ${root_path}/build/lite/make_rootfs/rootfsimg_liteos.sh ${fs_dir} vfat
97-
98  fs_dir_name: rootfs
99  fs_dirs:
100    -
101      source_dir: ${root_path}/out/preloader/${product_name}/system
102      target_dir: system
103      dir_mode: 555
104      file_mode: 444
105    -
106      source_dir: bin
107      target_dir: bin
108      ignore_files:
109        - Test.bin
110        - TestSuite.bin
111        - query.bin
112        - cve
113        - checksum
114      is_strip: TRUE
115      dir_mode: 555
116      file_mode: 555
117    -
118      source_dir: libs
119      target_dir: lib
120      ignore_files:
121        - .a
122      is_strip: TRUE
123      dir_mode: 555
124      file_mode: 555
125    -
126      source_dir: usr/lib
127      target_dir: usr/lib
128      ignore_files:
129        - .a
130      is_strip: TRUE
131      dir_mode: 555
132      file_mode: 555
133    -
134      source_dir: usr/bin
135      target_dir: usr/bin
136      is_strip: TRUE
137      dir_mode: 555
138      file_mode: 555
139    -
140      source_dir: vendor
141      target_dir: vendor
142      dir_mode: 555
143      file_mode: 444
144    -
145      source_dir: config
146      target_dir: etc
147      ignore_files:
148        - init_mksh.cfg
149      dir_mode: 555
150      file_mode: 444
151    -
152      source_dir: system
153      target_dir: system
154      dir_mode: 555
155      file_mode: 444
156    -
157      source_dir: etc
158      target_dir: etc
159      dir_mode: 555
160      file_mode: 444
161    -
162      source_dir: obj/foundation/systemabilitymgr/samgr_lite/config
163      target_dir: etc
164      dir_mode: 555
165      file_mode: 444
166    -
167      target_dir: system/external
168    -
169      target_dir: proc
170    -
171      target_dir: dev
172  fs_filemode:
173    -
174      file_dir: "etc/init.cfg"
175      file_mode: 400
176    -
177      file_dir: "bin/init"
178      file_mode: 500
179    -
180      file_dir: "bin/shell"
181      file_mode: 500
182  fs_make_cmd:
183    - ${root_path}/build/lite/make_rootfs/rootfsimg_liteos.sh ${fs_dir} vfat 20971520
184-
185  fs_dir_name: userfs
186  fs_dirs:
187    -
188      source_dir: obj/base/security/services/app_verify/config
189      target_dir: data/verify
190    -
191      source_dir: storage/etc
192      target_dir: etc
193    -
194      source_dir: data
195      target_dir: data
196    -
197      target_dir: app
198    -
199      target_dir: data/system/param
200  fs_make_cmd:
201    - ${root_path}/build/lite/make_rootfs/rootfsimg_liteos.sh ${fs_dir} vfat 104857600
202  fs_attr:
203    tee_enable:
204      fs_dirs:
205        -
206          target_dir: data/sec_storage_data
207        -
208          target_dir: sec_storage
209