2023-08-09 12:59:28 +02:00
# Arkanium
A toolkit for building, deploying and maintaining a btrfs-based multi-root system.
2023-08-14 07:27:35 +02:00
## Packaging
### Custom configurations
#### Arch Linux-based
```text
arkanium-build.d
2023-08-14 07:29:46 +02:00
├── customlinux # Directory carrying a custom name
| ├── overlay # Root filesystem overlay directory, contents are copied to root
| ├── base.list # Plain text file containing list of packages installed by pacstrap
| ├── package.list # (Optional) Plain text file containing list of packages installed by pacman
| ├── systemd.services # (Optional) Plain text file containing list of systemd services to enable
| ├── type # Plain text file, for configs of the Arch type should contain `archlinux`
2023-08-14 07:27:35 +02:00
```
### Building an image
Use the arkanium-build script to build your customlinux images.
```shell
2023-08-14 08:24:46 +02:00
sudo arkanium-build customlinux
2023-08-14 08:24:10 +02:00
2023-08-14 08:24:46 +02:00
# Or alternatively using a custom image name
sudo ARKANIUM_OVERWRITE_RANDOM='customos_v1.0' arkanium-build customlinux
2023-08-14 07:27:35 +02:00
```
Once done you can find compressed and uncompressed copies of your new image in the `target` directory.
2023-08-14 07:29:46 +02:00
Arkanium will by default generate a psuedo-random hex string and use this as the name of your image. This behaviour can be overwritten by assigning a custom name to the `ARKANIUM_OVERWRITE_RANDOM` environment variable.