Mikhail Novosyolov
159175e30a
cli: add help
2022-10-16 00:39:15 +03:00
Mikhail Novosyolov
378bff0d54
run php tests on aarch64 (php is built there)
2022-10-16 00:30:59 +03:00
Mikhail Novosyolov
2ee914c3bf
more exact match in reverse dependency
2022-10-15 13:59:58 +03:00
Mikhail Novosyolov
9004602d03
make modules of different major versions conflict with each other
2022-10-14 15:03:11 +03:00
Mikhail Novosyolov
6b6eb24107
depmod after alternatives
...
A symlink was created and then dracut was run in %%psottrans of kernel. It failed to find modules because depmod had not been run yet.
2022-10-10 08:09:35 +03:00
Mikhail Novosyolov
ba90b9f5b2
Fix alternatives
2022-10-06 23:54:40 +03:00
Mikhail Novosyolov
1b359a10fe
Remove minor version from deps of kernel
...
package kernel-5.15-generic-5.15.71-1.x86_64 requires (kmod-nvidia470.129-kabi(5.15.71-generic-1rosa2021.1-x86_64) if nvidia470), but none of the providers can be installed
2022-10-05 08:39:26 +03:00
Mikhail Novosyolov
87c11fc407
Fix scriptlet
...
This is an installonlypkg() package, > 1 packages can be left ($1 is the number of left packages of the same name)
if multiple are installed as installonlypkg().
-r is unique.
2022-10-05 07:51:38 +03:00
Mikhail Novosyolov
9d4548bee4
add generic provide to recognize binary nvidia module
2022-10-05 05:09:23 +03:00
Mikhail Novosyolov
b2f2011afc
Fix typo
2022-10-04 22:35:17 +03:00
Mikhail Novosyolov
5b57a6f843
allow to set custom repository
2022-10-03 10:29:08 +03:00
Mikhail Novosyolov
88b134cc9c
own directory with kernel modules
2022-09-27 22:08:16 +03:00
Mikhail Novosyolov
690825d389
make it clear which kernel the module belongs to
2022-09-27 21:52:13 +03:00
Mikhail Novosyolov
a99d024411
Use update-alternatives
...
I failed to understand how kmod chooses kernel modules,
it seems to be not guranteed.
2022-09-26 13:57:18 +03:00
Mikhail Novosyolov
d7c49bf34e
add macros to extract major and minor nvidia version
2022-09-20 14:42:53 +03:00
Mikhail Novosyolov
34a69ebc4a
Make different builds of nvidia modules packages not conflict by files
2022-09-14 12:24:00 +03:00
Mikhail Novosyolov
ce61ac233b
Fix %%check
...
DEBUG: Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.uUjJkd
DEBUG: + umask 022
DEBUG: + cd /builddir/build/BUILD
DEBUG: + '[' 1 -eq 1 ']'
DEBUG: + bash -x /builddir/build/SOURCES/test.kroko-cli.sh
DEBUG: + set -e
DEBUG: + SOURCING=1
DEBUG: + . kroko-cli.sh
DEBUG: /builddir/build/SOURCES/test.kroko-cli.sh: line 4: kroko-cli.sh: No such file or directory
2022-09-13 21:25:21 +03:00
Mikhail Novosyolov
ebeb96c23f
Bump version
2022-09-13 21:21:34 +03:00
Mikhail Novosyolov
99bd4c7d97
Init test of macros
2022-09-13 21:05:24 +03:00
Mikhail Novosyolov
bd158f2916
Decrease numbers
...
These macros have not been used in production yet
2022-09-13 21:05:05 +03:00
Mikhail Novosyolov
3103f8a9d8
do not package *.ko.debug
2022-09-13 20:35:42 +03:00
Mikhail Novosyolov
a487f6f697
do not set variable $id globally
2022-07-05 11:50:24 +03:00
Mikhail Novosyolov
26d46613ec
Do not suggest to install a proprietary driver if there is another GPU supported only by Nouveau (e.g. an old one)
2022-07-01 12:38:28 +03:00
Mikhail Novosyolov
8758add5fc
Fix detecting no available drivers
2022-07-01 11:12:55 +03:00
Mikhail Novosyolov
92ef7e0231
allow automatic upgrades
2022-06-30 16:19:35 +03:00
Mikhail Novosyolov
c78863c793
Implement working with multiple GPUs
...
Idea to use sort + uniq -c was from survolog@, thanks to him!
2022-06-30 15:32:31 +03:00
Mikhail Novosyolov
28745b91da
add TODO
2022-06-27 21:24:25 +03:00
Mikhail Novosyolov
34768efebe
clean up junk
...
No need to run the cli for multiple times from the GUI
2022-06-27 19:35:13 +03:00
Mikhail Novosyolov
909fe5b656
Implement automatic instalaltion of the best driver
...
Will be used from Anaconda for example
2022-06-27 19:33:48 +03:00
Mikhail Novosyolov
e7704a6df0
Init CLI interface to automatically setup Nvidia drivers
...
Not finished yet
2022-06-27 18:57:18 +03:00
Alexander Stefanov
0908c192a6
check only on x86
2022-05-13 08:40:41 +00:00
Mikhail Novosyolov
8bc6bad029
Bump version
2021-10-10 15:54:29 +03:00
Mikhail Novosyolov
000cd0e502
repoclosure will not catch boolean deps
2021-10-10 14:30:39 +03:00
Mikhail Novosyolov
0fcecd93f7
Conflicts without Obsoletes do not make sense
...
$ sudo dnf in /mnt/dev/rosa-pkgs/nvidia390/kernel-modules-nvidia390-5.10-generic-390.144-49841.65-rosa2021.1.x86_64.rpm
[sudo] пароль для user:
Последняя проверка окончания срока действия метаданных: 1:41:39 назад, Вс 10 окт 2021 12:19:29.
Ошибка:
Проблема: package kernel-modules-nvidia390-5.10-generic-390.144-49841.65.x86_64 conflicts with kmod-nvidia390.144-kabi(5.10.71-generic-1rosa2021.1-x86_64) < 49841.65 provided by kernel-modules-nvidia390-5.10-generic-390.144-49108.80.x86_64
- conflicting requests
- problem with installed package kernel-modules-nvidia390-5.10-generic-390.144-49108.80.x86_64
(попробуйте добавить в командную строку «--allowerasing» для замены конфликтующих пакетов или «--skip-broken» для пропуска удаляемых пакетов или «--nobest», чтобы использовать не только наилучшие варианты пакетов)
2021-10-10 14:02:12 +03:00
Mikhail Novosyolov
270387a22e
Indicate which SRPM the module was built from in Release to avoid collisions better
2021-10-10 13:59:54 +03:00
Mikhail Novosyolov
a6a9541555
add macros to build paclages with binary kernel modules
2021-10-10 13:30:02 +03:00
Mikhail Novosyolov
08b388ef30
implement generation of JSONs for older drivers
2021-10-04 02:59:43 +03:00
Mikhail Novosyolov
aba5c74734
add simple self test
2021-10-04 00:45:41 +03:00
Mikhail Novosyolov
6cd61bdae8
Init (rpm generator only for now)
2021-10-04 00:32:48 +03:00