On Samstag, 10. Februar 2024, 17:16:03 CET opensuse.lietuviu.kalba wrote:
2024-01-30 15:59, opensuse.lietuviu.kalba rašė:
Indeed, /lib/modules directory does not exist in image-root during execution of config.sh script. Strange. <...>
I looked into https://build.opensuse.org/package/show/KDE:Medias/openSUSE-Krypton as successful Tumbleweed based appliance ISO building. Here I found command in https://build.opensuse.org/package/view_file/KDE:Medias/openSUSE-Krypton/con... :
depmod $(basename /lib/modules/*)
Indeed, in my logs I found a hint that "modules.dep is missing. Did you run depmod?" after error:
[ 425s] [ DEBUG ]: 09:13:31 | EXEC: [chroot /usr/src/packages/KIWI-iso/build/image-root dracut --verbose --no-hostonly --no-hostonly-cmdline --install /.profile --add kiwi-live pollcdrom --omit multipath Lietukas_T_mini.x86_64-2024.initrd 6.7.4-1-default] [ 432s] [ DEBUG ]: 09:13:37 | EXEC: Failed with stderr: (no output on stderr), stdout: /usr/bin/dracut: line 1070: /sys/module/firmware_class/parameters/path: No such file or directory [ 432s] dracut[I]: Executing: /usr/bin/dracut --verbose --no-hostonly --no-hostonly-cmdline --install /.profile --add " kiwi-live pollcdrom " --omit " multipath " Lietukas_T_mini.x86_64-2024.initrd 6.7.4-1-default [ 432s] dracut[W]: /lib/modules/6.7.4-1-default//modules.dep is missing. Did you run depmod?
After downloading kernel-default RPM package manually, I found all /lib/modules moved into /usr/lib/modules
OBS has no influence here, better discuss it on factory. I suppose either some rpm script or some migration hack of kiwi did this. -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev