Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Latest commit

 

History

History
44 lines (29 loc) · 1.69 KB

Develop-GlobalStorage.md

File metadata and controls

44 lines (29 loc) · 1.69 KB

The GlobalStorage structure contains information which is shared among jobs. Jobs are free to define their own keys, but some keys have been standardized. Here they are:

bootLoader

A dictionary with the following keys:

  • installPath: device where the boot loader should be installed ("/dev/sda", "/dev/sdb1"...)

branding

A dictionary with the following keys (loaded from branding.desc):

  • productName: distribution unversioned product name (long version)
  • shortProductName: distribution unversioned product name (short version)
  • version: distribution version number (long version)
  • shortVersion: distribution version number (short version)
  • versionedName: distribution product name and version (long version)
  • shortVersionedName: distribution product name and version (short version)

partitions

A list of dictionaries, one per partition. The dictionary contains the following keys:

  • device: path to the partition device
  • fs: the name of the file system
  • mountPoint: where the device should be mounted
  • uuid: the UUID of the partition device

rootMountPoint

A string which contains the path where the root file system has been mounted. This key is set by the mount job.

packageOperations

A dictionary with the following keys:

  • install: packages to install from the repository.
  • remove: packages to remove.
  • localInstall: packages to install from local files.

The value for each key is a list of package names. The package operations will be executed at the final stage, when the system is actually installed. At the moment Calamares supports the following backends for handling packages: pacman, portage, apt, zypp, yum, dnf, packagekit, entropy, uprmi.