Merge branch 'integration-not-installation' into 'main'
Integration not Installation See merge request crystal/software/tourmaline!2chrooting
commit
8f063cdef1
@ -1,2 +1,37 @@
|
||||
# tourmaline
|
||||
|
||||
Tourmaline is a (planned) agnostic, asynchronous and awesome installer framework
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
Just run `cargo run -- help` or `trm help` for now.
|
||||
|
||||
|
||||
## Scripts
|
||||
|
||||
Scripts for all supported distros are stored in the `config` folder of this repository.
|
||||
Each distro has its own folder with several subfolders corresponding to all integration tasks.
|
||||
|
||||
```
|
||||
<distro>
|
||||
| <task>
|
||||
| up.nu
|
||||
| down.nu
|
||||
| <task>
|
||||
| up.nu
|
||||
| down.nu
|
||||
```
|
||||
|
||||
The `up.nu` scripts contain the required steps to apply the change described by the task.
|
||||
This can include installing packages, creating configuration files and starting systemd units.
|
||||
|
||||
The `down.nu` scripts contain the steps to revert the change applied by a task. These scripts will
|
||||
later be used to offer functionalities like reinstalling grub or changing installed kernels.
|
||||
|
||||
|
||||
# License
|
||||
|
||||
> GPL v3
|
||||
|
||||
See LICENSE.
|
||||
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `configure-locale`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `configure-locale` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `configure-locale`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `configure-locale` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `configure-network`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `configure-network` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `configure-network`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `configure-network` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `configure-unakite`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `configure-unakite` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `configure-unakite`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `configure-unakite` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `create-partitions`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `create-partitions` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `create-partitions`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `create-partitions` with config" $cfg
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing after Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing before Task with task config: " $cfg
|
||||
echo "The global config is: " $TRM_CONFIG
|
||||
}
|
||||
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `install-base`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-base` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `install-base`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-base` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `install-bootloader`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-bootloader` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `install-bootloader`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-bootloader` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `install-desktop`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-desktop` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `install-desktop`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-desktop` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `install-extra-packages`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-extra-packages` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `install-extra-packages`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-extra-packages` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `install-flatpak`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-flatpak` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `install-flatpak`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-flatpak` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `install-kernels`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-kernels` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `install-kernels`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-kernels` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `install-timeshift`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-timeshift` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `install-timeshift`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-timeshift` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `install-zramd`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-zramd` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `install-zramd`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `install-zramd` with config" $cfg
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
def main [cfg] {
|
||||
echo "Executing Task with config" $cfg
|
||||
}
|
||||
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `setup-root-user`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `setup-root-user` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `setup-root-user`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `setup-root-user` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Reverts all system changes of `setup-users`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `setup-users` with config" $cfg
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# Applies all system changes of `setup-users`
|
||||
def main [cfg] {
|
||||
echo "Executing up task `setup-users` with config" $cfg
|
||||
}
|
Loading…
Reference in New Issue