blob: 98709572ec14fefb1eb7dafa3cdbaa51fd5d221b (
plain) (
blame)
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
|
# Shione.net
Experimental Debian packaging and configuration. This project is mainly for
educational purposes. However, the aim is to package shione-specific
configuration in a way that would allow deployment to be reproducible.
## Package-specific configuration
Because shione runs GNU/Linux Debian, I wish to transform per-package config
into `.deb` packages themselves. This project is basically an application of
[`config-package-dev`](https://debathena.mit.edu/config-package-dev/). This
will allow me to integrate the modifications I introduce to the said packages
within the Debian packaging system which comes with many benefits.
1. Quickly rebuild a host machine from scratch if needed.
2. Know the configuration state of each machine using the package manager.
3. Automatically update configuration by updating the system itself.
4. Integrate complex post-installation configuration, possibly such as
introducing cron jobs (is it possible?) as part of the configuration
package.
## Project hierarchy
It is not yet clear to me how I'll do this. I'm thinking perhaps about having a
single source package that produces multiple "binary" packages. Each one would
be a package-specific configuration. Standalone packages not specific to shione
will probably reside in their own git repository under the Debian section.
## References
* https://www.eyrie.org/~eagle/notes/debian/git.html
* https://people.debian.org/~debalance/packaging-with-git.html
* http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.upstream-git.html
|