Skip to content

Commit

Permalink
Docu update
Browse files Browse the repository at this point in the history
- 4.4.27
  • Loading branch information
lslezak committed Dec 9, 2021
1 parent 18d664d commit 62eee23
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
19 changes: 11 additions & 8 deletions doc/SELF_UPDATE.md
Expand Up @@ -160,14 +160,8 @@ The URL of the update repository is evaluated in this order:
</globals>
```

This URL can contain these variables which are replaced by YaST:
- `$arch` - is replaced by the RPM package architecture used by the machine
(like `x86_64` or `ppc64le`)
- These variables are replaced by the value from the `/etc/os-release` file:
- `$os_release_name` => `NAME` (e.g. `SLE`)
- `$os_release_id` => `ID` (e.g. `sle`)
- `$os_release_version` => `VERSION` (e.g. `15-SP4`)
- `$os_release_version_id` => `VERSION_ID` (e.g. `15.4`)
The variables are documented in the [variable expansion](#variable-expansion)
section below.

The first suitable URL will be used. There are two exceptions:

Expand Down Expand Up @@ -213,6 +207,15 @@ SSL certificate should be preferred.
The URL can contain a variable `$arch` that will be replaced by the system's
architecture, such as `x86_64`, `i586`, `s390x`, etc.

The URLs can contain these variables which are replaced by YaST:
- `$arch` - is replaced by the RPM package architecture used by the machine
(like `x86_64` or `ppc64le`)
- These variables are replaced by the value from the `/etc/os-release` file:
- `$os_release_name` => `NAME` (e.g. `SLE`)
- `$os_release_id` => `ID` (e.g. `sle`)
- `$os_release_version` => `VERSION` (e.g. `15-SP4`)
- `$os_release_version_id` => `VERSION_ID` (e.g. `15.4`)


### Actual URLs

Expand Down
8 changes: 8 additions & 0 deletions package/yast2-installation.changes
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Dec 9 15:56:25 UTC 2021 - Ladislav Slezák <lslezak@suse.cz>

- Improve the self-update process, do not read the products from
the installation medium (bsc#1193536)
- Adde more /etc/os-release replacements in the self-update URL
- 4.4.27

-------------------------------------------------------------------
Fri Dec 3 06:53:52 UTC 2021 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-installation
Version: 4.4.26
Version: 4.4.27
Release: 0
Summary: YaST2 - Installation Parts
License: GPL-2.0-only
Expand Down

0 comments on commit 62eee23

Please sign in to comment.