Arkdep usage
Updating the system
sudo arkdep deployWhen the deploy parameter is passed without providing any further arguments Arkdep will read /arkdep/config and combine $repo_url/$repo_default_image to infer from where it is expected to download its images and which image variant it should download.
In this example no specific version is specified, it will first download the database file at $repo_url/$repo_default_image/database and grab the very first entry in the list, the top most entry in the database file is assumed to be the latest image available.
Deploying a specified image variant
sudo arkdep deploy test-arkanelinux-kdeProviding this extra argument will overwrite $repo_default_image allowing you to pull a different image variant from the default repository. Deploying a specified image version sudo arkdep deploy test-arkanelinux-kde aaabbbccc
When specifying a version it will search the database file and download the first version matching the provided pattern.
If you are intend on pulling a specific version of the default image variant as defined in $repo_default_image the variant may be substituted with a -.
sudo arkdep deploy - aaabbbcccDeploying images from cache
Any image already stored in /arkdep/cache, for example an image called aaabbbccc.tar.zst, can also be installed straight from cache. This can be utilized to deploy custom images build locally.
sudo arkdep deploy cache aaabbbcccRemoving a deployment
Deployments which are not the currently active deployment can be manually removed. For deployments to be removable the deployment has to be listed in the /arkdep/tracker file.
sudo arkdep remove aaabbbcccImpartial targets can be provided, if Arkdep has no more than a single hit the found deployment will be removed.
sudo arkdep remove aaaLayering packages
Layered packages are installed using the system package manager on top of image deployments. It is recommended to avoid this feature because it infringes on the stability of the images.
When a package is layered it will be installed to the current deployment and any future deployments.
To avoid hard breakages, package layering will be skipped should it run in to an error at deploy time.
sudo arkdep layer chromiumMultiple packages to be layered can be provided at the same time.
sudo arkdep layer chromium firefoxCurrent packages which are layered can be listed using the following command. Note that it does not validate the layered tracker against the current deployment, upon a rollback packages which are to be layered but are not in the current deployment will still be listed as layered despite not being installed on the current deployment.
sudo arkdep layer-lsWhen a package is unlayered it is removed from the current deployment and will no longer be installed to any future deployments.
sudo arkdep unlayer chromium