Created attachment 761606 [details]
zypp history from upgrade
This is the /var/log/zypp/history from the upgrade that installed both new
kernel (4.15.4) and nvidia modules.
Line 148 is the start of the additional rpm output for
kernel-default-devel-4.15.4-1.5, which compiles the nvidia module in
/usr/src/linux-4.15.4-1-obj/x86_64/default
Line 1156+ then does this again when installing
nvidia-gfxG04-kmp-default-390.25_k4.15.2_1-10.1, again in the new kernel tree
(line 1359)
The log starts with warnings that
# Warning: /lib/modules/4.15.1-1-default is inconsistent
# Warning: /lib/modules/4.15.2-1-default is inconsistent
(lines 1328/1337)
To me it looks like the installation scripts will use the latest/highest
installed kernel tree, but are hardcoded where to store the result.