diff --git a/css/nord.css b/css/nord.css index 384d9d5..812c4cc 100644 --- a/css/nord.css +++ b/css/nord.css @@ -253,6 +253,12 @@ cil { padding: 2px; } +cil-inv { + font-family: monospace; + background-color: #2E3440; + color: #ECEFF4; + padding: 2px; + wiki { border-left-style: solid; border-left-width: 4px; diff --git a/docs/intro-to-glacier.html b/docs/intro-to-glacier.html index eef17a4..f26355f 100644 --- a/docs/intro-to-glacier.html +++ b/docs/intro-to-glacier.html @@ -28,13 +28,42 @@
Glacier is the package management system for Glacier. All users should be familiar with how it works.
-In this case, the word 'merge' and 'install' mean the same thing.
-A package index is a list of all installed packages on any given Everest system.
-The local index is managed by all users on the system, and is located in /usr/glacier/index.
-The global index is managed by Git, and is located in /glacier/index.
-A system profile describes your base system, including C library, architecture, SELinux support, multilib support, etc.
-On an Everest system, packages are stored in an "index", of which there are two, the system index and the user index.
+The system index is located in
When you merge a package from a repository,
Unlike most distributions, Everest installations include a copy of the package repository on the local system. Rather than downloading packages from a remote server, Glacier clones a package from the local repository.
+This presents some advantages:
+Package modifications can be done easily
In the result of connection loss, Glacier can still be used
And also some disadvantages:
+Security risks may surface if the repository is not kept updated or an unauthorized party makes changes to packages
The
An Everest installation includes a system profile. In simple terms, this is a series of environment variables and configurations that tell Glacier which packages it can install. The system profile should not change unless the user intends to migrate profiles.
+The following environment variables are defined by the system profile:
+The following system profiles are available:
+The following system profiles are planned for the future:
+3.1 gpkg
3.2 syspkg
@@ -49,13 +78,13 @@3.7 glacier-update-pkdgb
Frontends, or wrappers, may provide additional functionality to Glacier.
Third party frontends and wrapper scripts are not supported. Use them at your own risk.
5.1 Using gpkg
To merge a package from a repository:
(root)# gpkg -f pkg
@@ -66,7 +95,7 @@
If you understand these risks, and wish to use
To merge a package:
(root)# syspkg -f pkg
- 6.1 Introduction
When merging a package into any index, the package file is retained in said index. This provides most information needed to keep track of the package, however, when updating, an updated package file will need to be downloaded. Old package files will be retained as
6.2 Using gpkg
@@ -81,7 +110,7 @@To update a package:
(root)# syspkg -u pkg
- 7.1 Introduction
When removing a package, the package info file is moved from the appropriate index to /tmp, and saved as
7.2 Using gpkg
@@ -96,7 +125,7 @@If you wish to proceed anyways, you can remove a package with:
(root)# syspkg -x pkg
- 8.1 Patching packages
Patching packages is the act of editing a package file to change compile options, optimizations, etc. It is very useful if used correctly.
The officially tested and verified method for patching is as follows:
@@ -109,7 +138,7 @@If Glacier's standard package repository is not sufficient, you can use a custom one.
Ensure the repository you wish to migrate to supports your system profile. For example, if your profile is
Ensure the repository you wish to migrate to supports your system profile. For example, if your profile is
Errors will occur if this is not taken into account.
To use a custom repository once, to merge a package:
@@ -158,7 +187,7 @@GLACIER_SRV_DIR="/etc/glacier/services"
$GLACIER_SRV_DIR/update-pkgdb.hook
-9.1 Introduction
Glacier packages, in ther simplest form, are text files, containing instructions on how the package is built, who made it, what it's called, and what files it includes.
9.2 Querying files
@@ -167,7 +196,12 @@9.3 Querying info
Package info can be listed with:
(user)$ gquery -i pkg
- This section is outdated as of 9/17/2024
+Reason: Glacier v4 changes the package format
+10.1 Introduction
As mentioned before, Glacier packages are simply text files. This makes them very easy to write and maintain.
If you have previous experience writing PKGBUILDs for the AUR, writing Glacier packages should feel very similar.
@@ -227,7 +261,7 @@Anything prefixed with "system" refers to the use of 'syspkg'.