IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
This is for debugging purposes to test upgrade from 'std-def'
Since I use the archive for testing on a host with a much newer kernel, it
cannot find a flavor to upgrade from 6.11 if the archive only has 6.10.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Intention is: user will be able to update all kernel related things with a single
command. Such as
update-kernel -u --fw
Possible failure if fw package is deleted from the repo.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
The change caused shellcheck warning:
In update-kernel line 51:
show_help()
^-- SC2120 (warning): show_help references arguments, but none are ever passed.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
- Speed up 'update-kernel --list' run under user.
- Support 'latest' virtual flavour to install highest available version of
standard kernels.
- Upgrade to a new flavor if the current one is no longer available in the
repository.
From std-def to 6.1, in cases where such a condition exists, the .99999 suffix
kludge was used before we implemented filter_pkglist filtering. This was
necessary to ensure the version number was higher than any locally installed
kernels. Now, this workaround is no longer needed, allowing for a seamless
upgrade from a symbolic flavor to a numerical one.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
The registry turned out to be not very reliable storage.
Thanks-to: Mikhail Gordeev <obirvalger@altlinux.org>
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Currently, 'latest' will select flavour with the highest kernel version,
excluding release candidate kernels.
Q: Aren't there is ambiguity? Is 6.10.0 a stable kernel or a mainline kernel?
A: Yes. 'After each mainline kernel is released, it is considered "stable."'[1]
6.10 is marked 'mainline' or kernel.org page, and there is never 6.10.0
release in any (stable or mainline) tree.
Link: https://kernel.org/category/releases.html
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
When cache is not writable it's regenerated each time apt-cache runs, which can
slow down some apt-cache heavy operations, such as `--list`.
If `Dir::Cache` is not writable, such as under user, use tmpdir for it.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Some people run `sh -x update-krenel` to trace it. When 'sh' is actually 'bash'
('sh4') `+o posix` will upgrade its behavior to 'bash' one. Otherwise 'process
substitution' breaks with:
update-kernel: command substitution: line 457: syntax error near unexpected token `('
update-kernel: command substitution: line 457: `set +o posix; echo "$MODINSTALLED" | join -v1 - <(echo "$ALLNAMES") | sed 's/kernel-modules-//')'
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>