-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathswupd-alias.7.rst.in
55 lines (39 loc) · 1.75 KB
/
swupd-alias.7.rst.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
===========
swupd-alias
===========
-------------------------------------
Alias Names for Bundles Configuration
-------------------------------------
:Copyright: \(C) 2018 Intel Corporation, CC-BY-SA-3.0
:Manual section: 7
DESCRIPTION
===========
``swupd bundle-add`` now understands alias names in addition to bundle names.
These alias names are defined in files contained in two directories, the system
directory @SYSTEM_ALIAS_PATH@ and the user directory @USER_ALIAS_PATH@.
The file format for the alias file is a potentially multiline file with an
alias name per line followed by, on the same line, a list of bundle names
with all fields being tab separated.
For example:
alias-name1<tab>bundle-one<tab>bundle-two<newline>
alias-name2<tab>bundle-three
Would be an alias defintion file with two aliases, alias-name1 and alias-name2
defined in it. Running ``swupd bundle-add alias-name1`` would install bundle-one
and bundle-two.
NOTES
=====
Alias definitions can be defined multiple times in a file, if this happens the
first definition will be used.
Alias files in the user directory are loaded before alias files in the system
directory. Because of this, if an alias is defined in both a user and system
file, the user defined alias will be used instead of the system defined alias.
Alias files are loaded in lexicographical filename order and that implies if an
alias is defined in more than one file, the first file to be loaded will be the
one whose alias is used.
Alias files in the user directory override or mask files with the same name in
the system directory. If a user wishes to disable a system alias file they can
create a symlink to /dev/null for the corresponding user file and the system
alias file will not be used.
SEE ALSO
========
| ``swupd``\(1)