Your Name
e4892ccff7
Add .gitignore and .gitea/workflows/ci.yml
Run CI/CD... / main (push) Failing after 1m45s
2025-01-31 18:40:27 +00:00
Your Name
7376abefd1
Add .gitignore and .gitea/workflows/ci.yml
Run CI/CD... / main (push) Failing after 18m7s
2025-01-21 22:55:23 +00:00
Mikhail Novosyolov
9dab7e77d1
Add README
2022-11-02 20:26:33 +03:00
Mikhail Novosyolov
c21bf85470
shellcheck (rm not used variable and silent odd warnings)
2022-10-27 23:41:01 +03:00
Mikhail Novosyolov
53f9579aa4
Suggest to rerun from root when needed
...
keleg@ noted that otherwise it may download and process dnf metadata and only then dnf will say that it is unable to install packages
2022-10-27 23:39:18 +03:00
Mikhail Novosyolov
0531e53749
Update before installing nvidia driver
2022-10-27 11:42:49 +03:00
Mikhail Novosyolov
443fd07142
Fix dependencies of %%post
...
I forgot this dependency when moved depmod.
DEBUG util.py:446: Installing : kernel-modules-nvidia510-5.15-generic-510.85-319 141/185
DEBUG util.py:446: Running scriptlet: kernel-modules-nvidia510-5.15-generic-510.85-319 141/185
DEBUG util.py:446: /var/tmp/rpm-tmp.0PDSBP: line 6: /usr/sbin/depmod: No such file or directory
2022-10-18 23:16:44 +03:00
Mikhail Novosyolov
22b71299b9
fix rmplint config
...
$ rpmlint kernel-modules-rtw89-5.15-generic-5.15.73-2-rosa2021.1.x86_64.rpm
Error loading /usr/share/rpmlint/config.d/auto-krokodil-rpmlint.conf, skipping: name 'addFilter' is not defined
2022-10-18 23:07:22 +03:00
Mikhail Novosyolov
745d2896f9
add rpmlint policy to avoid odd warnings
2022-10-17 13:49:37 +03:00
Mikhail Novosyolov
c500bf870b
cli: add ability to fake GPU
...
$ sudo KROKO_FAKE_LSPCI=1 ./kroko-cli.sh get-gpus
00:02.0 VGA compatible controller [0300]: Fake Nvidia 470 [10de:1c92] (rev 01);1c92;Fake Nvidia 470;nvidia470-core,nvidia510-core,nvidia515-core,nvidia520-core;nvidia520-core
2022-10-16 01:36:26 +03:00
Mikhail Novosyolov
581554b79c
filter dnf output better (thx to survolog@)
2022-10-16 01:18:45 +03:00
Mikhail Novosyolov
cc69b0272a
filter odd output from dnf
2022-10-16 01:14:28 +03:00
Mikhail Novosyolov
4f83bcf94e
package cli
2022-10-16 00:50:42 +03:00
Mikhail Novosyolov
c6dc8db54d
cli: do not run dnf if metadata is not needed
2022-10-16 00:42:25 +03:00
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