Hello everyone,
I would like to download source package, a SRPM, for kernel-vanilla-6.14~rc6-1.1.g5af2a0b.rpm
. I’m hoping to find kernel-vanilla-6.14~rc6-1.1.g5af2a0b.src.rpm
. I would like to try to patch that package and build it myself.
The binary package is coming from this Factory repository,
https://download.opensuse.org/repositories/Kernel:/HEAD/standard/
with the latest vanilla kernel builds. Binary package installs and works well.
Now, how to find the relevant source package.
One option is to use browser and simply search the repo.
I didn’t find kernel-vanilla-6.14~rc6-1.1.g5af2a0b.src.rpm
there.
Closest I got was kernel-source-6.14~rc6-1.1.g5af2a0b.src.rpm
(0.1 GB) in
https://download.opensuse.org/repositories/Kernel:/HEAD/standard/src/
…or kernel-source-vanilla-6.14~rc6-1.1.g5af2a0b.noarch.rpm
(0.2 GB)
under https://download.opensuse.org/repositories/Kernel:/HEAD/standard/noarch/.
Wouldn’t using zypper
be more straightforward?
Well, so far it was a total flop
One can download source package using:
sudo zypper si kernel-vanilla=6.14~rc6-1.1.g5af2a0b
That “worked”. Unfortunately, I have no clue what it really did.
It seems to leave no trace in the file system. Hmm.
Another try, this time using --download-only
:
sudo zypper source-install --download-only --verbose kernel-vanilla=6.14~rc6-1.1.g5af2a0b
...
Backend: classic_rpmtrans --download-only
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: kernel-vanilla-6.14~rc6-1.1.g5af2a0b.src (Kernel builds for branch master (standard)) (1/1), 1.7 MiB
Retrieving: kernel-vanilla-6.14~rc6-1.1.g5af2a0b.nosrc.rpm ......................[done (3.3 MiB/s)]
Where and what it really downloaded?
1.7 MiB that’s too small.
Zypper official manual SDB:Zypper manual (plain) - openSUSE Wiki
mentions, quoting: …downloaded packages will be available in /var/cache/zypper/RPMS. Well, /var/cache/zypper doesn’t even exist.
I found this:
/var/cache/zypp/packages/Kernel_HEAD/nosrc/kernel-vanilla-6.14~rc6-1.1.g5af2a0b.nosrc.rpm
It has the 1.7 MiB size. But what it really is?
Any help is appreciated!