source: calamares/trunk/fuentes/src/modules/packages/packages.conf @ 7538

Last change on this file since 7538 was 7538, checked in by kbut, 13 months ago

sync with github

File size: 5.4 KB
Line 
1---
2#
3# Which package manager to use, options are:
4#  - packagekit  - PackageKit CLI tool
5#  - zypp        - Zypp RPM frontend
6#  - yum         - Yum RPM frontend
7#  - dnf         - DNF, the new RPM frontend
8#  - urpmi       - Mandriva package manager
9#  - apt         - APT frontend for DEB and RPM
10#  - pacman      - Pacman
11#  - portage     - Gentoo package manager
12#  - entropy     - Sabayon package manager
13#  - dummy       - Dummy manager, only logs
14#
15backend: dummy
16
17# Often package installation needs an internet connection.
18# Since you may allow system installation without a connection
19# and want to offer **optional** package installation, it's
20# possible to have no internet, yet have this packages module
21# enabled in settings.
22#
23# You can skip the whole module when there is no internet
24# by setting *skip_if_no_internet* to true.
25#
26# You can run a package-manager specific update procedure
27# before installing packages (for instance, to update the
28# list of packages and dependencies); this is done only if there
29# is an internet connection. Set *update_db* to true to do so.
30skip_if_no_internet: false
31update_db: true
32
33#
34# List of maps with package operations such as install or remove.
35# Distro developers can provide a list of packages to remove
36# from the installed system (for instance packages meant only
37# for the live system).
38#
39# A job implementing a distro specific logic to determine other
40# packages that need to be installed or removed can run before
41# this one. Distro developers may want to install locale packages
42# or remove drivers not needed on the installed system.
43# Such a job would populate a list of dictionaries in the global
44# storage called "packageOperations" and that list is processed
45# after the static list in the job configuration (i.e. the list
46# that is in this configuration file).
47#
48# Allowed package operations are:
49#  - install, try_install: will call the package manager to
50#       install one or more packages. The install target will
51#       abort the whole installation if package-installation
52#       fails, while try_install carries on. Packages may be
53#       listed as (localized) names, or as (localized) package-data.
54#       See below for the description of the format.
55# - localInstall: this is used to call the package manager
56#       to install a package from a path-to-a-package. This is
57#       useful if you have a static package archive on the install media.
58# - remove, try_remove: will call the package manager to
59#       remove one or more packages. The remove target will
60#       abort the whole installation if package-removal fails,
61#       while try_remove carries on. Packages may be listed as
62#       (localized) names.
63#
64# There are two formats for naming packages: as a name or as package-data,
65# which is an object notation providing package-name, as well as pre- and
66# post-install scripts.
67#
68# Here are both formats, for installing vi. The first one just names the
69# package for vi (using the naming of the installed package manager), while
70# the second contains three data-items; the pre-script is run before invoking
71# the package manager, and the post-script runs once it is done.
72#
73# - install
74#   - vi
75#   - package: vi
76#     pre-script: touch /tmp/installing-vi
77#     post-script: rm -f /tmp/installing-vi
78#
79# The pre- and post-scripts are optional, but you cannot leave both out: using
80# "package: vi" with neither script option will trick Calamares into
81# trying to install a package named "package: vi", which is unlikely to work.
82#
83# Any package name may be localized; this is used to install localization
84# packages for software based on the selected system locale. By including
85# the string LOCALE in the package name, the following happens:
86#
87# - if the system locale is English (any variety), then the package is not
88#   installed at all,
89# - otherwise $LOCALE or ${LOCALE} is replaced by the **lower-cased** BCP47
90#   name of the **language** part of the selected system locale (not the
91#   country/region/dialect part), e.g. selecting *nl_BE* will use *nl*
92#   here.
93#
94# Take care that just plain LOCALE will not be replaced, so foo-LOCALE will
95# be left unchanged, while foo-$LOCALE will be changed. However, foo-LOCALE
96# **will** be removed from the list of packages, if English is selected.
97#
98# The following installs localizations for vi, if they are relevant; if
99# there is no localization, installation continues normally.
100#
101# - install
102#   - vi-$LOCALE
103#   - package: vi-${LOCALE}
104#     pre-script: touch /tmp/installing-vi
105#     post-script: rm -f /tmp/installing-vi
106#
107# When installing packages, Calamares will invoke the package manager
108# with a list of package names if it can; package-data prevents this because
109# of the scripts that need to run. In other words, this:
110#
111# - install:
112#   - vi
113#   - binutils
114#   - package: wget
115#     pre-script: touch /tmp/installing-wget
116#
117# This will invoke the package manager three times, once for each package,
118# because not all of them are simple package names. You can speed up the
119# process if you have only a few pre-scripts, by using multiple install targets:
120#
121# - install:
122#   - vi
123#   - binutils
124# - install:
125#   - package: wget
126#     pre-script: touch /tmp/installing-wget
127#
128# This will call the package manager once with the package-names "vi" and
129# "binutils", and then a second time for "wget". When installing large numbers
130# of packages, this can lead to a considerable time savings.
131#
132operations:
133  - install:
134    - vi
135    - vi-${LOCALE}
136    - wget
137    - binutils
138  - remove:
139    - vi
140    - wget
141    - binutils
Note: See TracBrowser for help on using the repository browser.