Closed iprid23 closed 5 years ago
Have you built linux-kernel component? Can you upload iso build log?
@marmarek Those are the packages built from linux-kernel component:
ls qubes-packages-mirror-repo/dom0-fc25/rpm | grep kernel
kernel-414-4.14.134-1.pvops.qubes.x86_64.rpm
kernel-414-devel-4.14.134-1.pvops.qubes.x86_64.rpm
kernel-414-qubes-vm-4.14.134-1.pvops.qubes.x86_64.rpm
qubes-core-dom0-linux-kernel-install-4.0.18-1.fc25.x86_64.rpm
qubes-kernel-vm-support-4.0.25-1.fc25.x86_64.rpm
I noticed that the build uses lorax and pungi, though I have no experience with them and for some reason a kernel version 4.13 is used for the installer in isolinux despite having a compiled 4.14.
On Tue, Aug 13, 2019 at 01:31:55PM -0700, iprid23 wrote:
@marmarek Those are the packages built from linux-kernel component:
ls qubes-packages-mirror-repo/dom0-fc25/rpm | grep kernel kernel-414-4.14.134-1.pvops.qubes.x86_64.rpm kernel-414-devel-4.14.134-1.pvops.qubes.x86_64.rpm kernel-414-qubes-vm-4.14.134-1.pvops.qubes.x86_64.rpm
That's correct. Those packages should also "provide" plain kernel,
kernel-devel and kernel-qubes-vm names respectively (just to be sure,
you can verify with rpm -qp --provides
).
Pungi:WARNING: Could not find a match for kernel-qubes-vm in any configured repo
This suggests either you don't have linux-kernel included in COMPONENTS setting, or that lorax doesn't look for Provides: but only for package names. In the latter case, you can build 4.14 kernel without the suffix by editing "suffix" file (make it empty) in linux-kernel repo. Or switch to 4.19 kernel which doesn't have suffix.
PS I've edited your comment to collapse the build log.
-- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
@marmarek, thanks for the answer
Sorry for the long uncollapsed log. Anyhow I added the kernel 4.19 RPMs to qubes-packages-mirror-repo/dom0-fc25/rpm
, I deleted the 4.14
rpms and then I also did a createrepo --update in qubes-packages-mirror-repo/dom0-fc25
. Hopefully the build will find the 4.19 kernel
and will go as normal. I did not use make clean
though for the iso, I just did make iso
, not sure if that's okay. Hopefuly it is.
By the way, I noticed that the kernel
and initrd
were both in the ESP
partition and the ISO 9660
partition. Which kernel
and initird
is loaded? And is this duplication on purpose?
Update:
Running make iso
again put a kernel 4.13 in the ISO with the error:
Pungi:WARNING: Could not find a match for kernel-qubes-vm in any configured repo
Instead I am now doing make installer-qubes-os
. And afterwards I will try again to do make iso
.
Update2:
The make iso
looks for the RPMs in ~/qubes-builder/qubes-src/linux-kernel/pkgs/dom0-fc25 not in qubes-packages-mirror-repo/dom0-fc25/rpm, so the RPMs must be moved there and the spec file must be updated to reference the RPMs too.
Copying to qubes-packages-mirror-repo isn't enough, only packages mentioned in COMPONENTS are picked up to iso build. Switch branch in linux-kernel to stable-4.19 and include it in COMPONENTS.
@marmarek, thanks, it worked. Also when using kernel 5.2 I had to remove a suffix to make it just kernel and not kernel-latest. Closing the issue.
Qubes OS version R4.0
Affected component(s) or functionality installer-qubes-os
Brief summary The installer cannot load because it says that the initrd.img in isolinux is missing the squashfs module
To Reproduce
Expected behavior You can boot the installer without hanging.
Actual behavior You cannot boot the installer due to a missing squashfs in the initrd.img
Additional context For some reason linux kernel 4.13 is used despite it not being chosen in the builder.conf. Unpacking the initrd.img, I checked lib/modules/4.13.16-100.fc25.x86_64 and indeed there is nothing with squashfs in the name.
Solutions you've tried None so far, haven't found how to configure pungi?(or so it seems) to use what kernel and what version? plus what modules?