tconfiguration.7.md - libdevuansdk - common library for devuan's simple distro kits
HTML git clone https://git.parazyd.org/libdevuansdk
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
tconfiguration.7.md (1571B)
---
1 configuration
2 =============
3
4 much of the `libdevuansdk` configuration is done in `libdevuansdk/config`. here
5 you can edit the defaults if you wish to do something your needs are expressing.
6
7 ## config file
8
9 `vars` and `arrs` are global arrays holding other global variables and arrays.
10 this is required for `zuper` and helps a lot with debugging. if you declare new
11 variables or arrays, add them to `vars` and `arrs`, respectively.
12
13 * `os`
14 holds the name of the distro being worked on.
15
16 * `release`
17 holds the release name of the distro. used for apt repos mostly.
18
19 * `version`
20 current version of the distro being worked on.
21
22 * `mirror`
23 a mirror holding the packages for `debootstrap`.
24
25 * `section`
26 sections of the repo. for adding in `/etc/apt/sources.list`. separate them
27 with whitespaces.
28
29 * `image_name`
30 output name of the raw image. if you declare `device_name`, it will be added.
31 `arm-sdk` does this.
32
33 * `core_packages`
34 this array holds the core packages that will be installed in the bootstrap
35 process.
36
37 * `base_packages`
38 this array holds the base packages that will be installed later in the
39 bootstrap process.
40
41 * `purge_packages`
42 this array holds the packages that will get purged at the end of the bootstrap
43 process.
44
45
46 ## overriding things
47
48 to be able to override specific unwanted functions of libdevuansdk, consider
49 sourcing it earlier in the process of initialization.
50
51 it is possible to override default variables, or even functions without the need
52 of editing libdevuansdk. share a patch with me if you wish :)