You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+16-17Lines changed: 16 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,13 +144,6 @@ Modules write to a shared config dict that is accessible by other modules.
144
144
*`binaries` is a list used to define programs to be pulled into the initrams. `which` is used to find the path of added entries, and `lddtree` is used to resolve dependendies.
145
145
*`paths` is a list of directores to create in the `build_dir`. They do not need a leading `/`.
146
146
147
-
#### base.cpio
148
-
149
-
This module handles CPIO creation.
150
-
151
-
*`out_file` (ugrd.cpio) Sets the name of the output file, under `out_dir` unless a path is defined.
152
-
*`mknod_cpio` (true) Only create devicne nodes within the CPIO.
153
-
154
147
##### symlink creation
155
148
156
149
Symlinks are defined in the `symlinks` dict. Each entry must have a name, `source` and `target`:
@@ -193,7 +186,7 @@ minor = 1
193
186
194
187
Creates `/dev/console` with permissions `0o644`
195
188
196
-
> Using `mknod_cpio` from `ugrd.base.cpio` will not create the device nodes in the build dir, but within the CPIO archive
189
+
> Using `mknod_cpio` from `ugrd.fs.cpio` will not create the device nodes in the build dir, but within the CPIO archive
197
190
198
191
#### base.console
199
192
@@ -305,6 +298,13 @@ destination = "/mnt/extra"
305
298
label = "extra"
306
299
```
307
300
301
+
#### ugrd.fs.cpio
302
+
303
+
This module handles CPIO creation.
304
+
305
+
*`out_file` (ugrd.cpio) Sets the name of the output file, under `out_dir` unless a path is defined.
306
+
*`mknod_cpio` (true) Only create devicne nodes within the CPIO.
307
+
308
308
##### General mount options
309
309
310
310
These are set at the global level and are not associated with an individual mount:
@@ -535,7 +535,7 @@ The `cpio` module imports the `make_cpio_list` packing function with:
535
535
536
536
```
537
537
[imports.pack]
538
-
"ugrd.base.base" = [ "make_cpio_list" ]
538
+
"ugrd.fs.cpio" = [ "make_cpio" ]
539
539
```
540
540
541
541
##### funcs
@@ -587,12 +587,12 @@ The `custom_init` function should return a tuple with the line used to call the
587
587
def custom_init(self) -> str:
588
588
"""
589
589
init override for the console module.
590
-
Write the main init runlevels to the self.config_dict['_custom_init_file'] file.
590
+
Write the main init runlevels to self._custom_init_file.
591
591
Returns the output of console_init which is the command to start agetty.
0 commit comments