2024-04-21 21:02:22 +02:00
.TH ARKDEP 8 "21 April 2024"
.SH NAME
arkdep - Manage arkdep deployments
.SH SYNOPSIS
2024-04-22 02:19:18 +02:00
\fB arkdep\fR {option} <version>...
2024-04-21 21:02:22 +02:00
.br
\fB arkdep\fR {option} [variant] [version]
.SH DESCRIPTION
Arkdep is a utility which downloads, deploys and manages Btrfs subvolume exports.
2024-09-02 18:42:12 +02:00
It is able to perform atomic and immutable system updates, migrate local data to new deployments and update the systemd-boot bootloader configuration with entries for said new deployments.
2024-04-21 21:02:22 +02:00
.SH OPTIONS
.SS deploy
Deploy a new or update an existing deployment.
.SS init
Initialize arkdep on a new system.
.SS teardown
Remove all arkdep-deploy related files and folders.
.SS cleanup
2024-04-22 01:13:06 +02:00
Remove any hanging images, unfinished downloads and untracked deployments.
2024-04-21 21:02:22 +02:00
.SS healthcheck
Check for and report any config issues or untracked deployments.
.SS get-available
Get and print available variants in repo.
2024-07-16 22:03:39 +02:00
.SS diff
2024-07-18 01:48:49 +02:00
Generate and print diff between current deployment and an image from the repos.
2024-04-21 21:02:22 +02:00
.SS remove
Remove specified deployments.
2025-01-20 00:55:58 +01:00
.SS layer
Install a package to the current deployment and any future deployments.
.SS unlayer
Remove a layered package from the current deployment and no longer layer it on future deployments.
.SS layer-ls
List all packages to be layered.
2024-04-21 21:02:22 +02:00
.SH ENVIRONMENT
.SS ARKDEP_ROOT
2024-07-16 22:39:42 +02:00
Prepend path to arkdep target directory, implies ARKDEP_CONFIRM.
2024-04-21 21:02:22 +02:00
.SS ARKDEP_BOOT
2024-09-03 01:00:31 +02:00
Set custom /boot location, overwrites ARKDEP_ROOT on relevant tasks if set.
2024-07-16 22:39:42 +02:00
.SS ARKDEP_CONFIRM
Skip interactive prompts.
2024-08-23 17:39:43 +02:00
.SS ARKDEP_CONFIG
Override configuration file location.
2024-09-15 10:19:34 +02:00
.SS ARKDEP_DATABASE
Override repository database filename.
2024-04-21 21:02:22 +02:00
.SH EXAMPLES
.SS arkdep deploy
Check for updates, if available download and deploy.
.SS arkdep deploy test-arkanelinux-kde
Download and deploy the latest version of the defined image variant.
.SS arkdep deploy - stable_v1
2024-07-27 22:15:17 +02:00
Download the specified image version from the default variant.
2024-04-21 21:02:22 +02:00
.SS arkdep deploy test-arkanelinux-kde stable_v1
Download the defined image version from the specified variant.
.SS arkdep deploy cache stable_v1
Deploy an image from the local cache skipping database download and checksum check.
.SS arkdep remove stable_v1
Remove the defined deployment.
2024-07-16 22:03:39 +02:00
.SS arkdep diff
2024-07-17 20:54:33 +02:00
Generate diff between currently active deployment and latest version of the default variant.
2024-07-16 22:03:39 +02:00
.SS arkdep diff test-arkanelinux-kde
2024-07-17 20:54:33 +02:00
Generate diff between current deployment and latest version of the specified variant.
.SS arkdep diff test-arkanelinux-kde aabbcc123
2024-07-27 22:15:17 +02:00
Generate diff between current version and a defined version of a specified variant.