-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sun, Apr 28, 2019 at 02:10:13AM +0000, 'Public Email Account' via qubes-devel wrote:
>
> > This isn't about your host Fedora system. qubes-builder use isolated
> > chroot environment for the build and this is where u2mfn module is
> > missing. Check beginning of the log to see what have happened, the
> > module should be installed as part of qubes-kernel-vm-support package.
> >
>
> Im glad you mention chroot.
> It seems like it fails because it is not detect the u2mfn version so
> it is looking for u2mfn- folder which does not exist. In the filepath
> /qubes-builder/chroot-dom0-fc29/usr/src I have a folder named
> "u2mfn-4.0.23" not "u2mfn-"
> If the build script was working properly it would append the version
> to the end of u2mfn- and be able to find it correctly.
>
> If I am correct the file
> /qubes-builder/chroot-dom0-fc29/usr/sbin/qubes-prepare-vm-kernel
> appears to have the command that detects u2mfn version.
> On line 30 of this file I see
> u2mfn_ver=`dkms status u2mfn|tail -n 1|cut -f 2 -d ' '|tr -d ':,'`
>
> I made a try to fix this issue where not detect version.
If the above doesn't list the proper version, it means u2mfn module
isn't properly registered in dkms. It should be done at module
installation time (by qubes-kernel-vm-support package), but if it
failed, you can do that manually:
chroot chroot-dom0-fc29 dkms add -m u2mfn -v 4.0.23
> I changed the line to be
> u2mfn_ver=`4.0.23`
> then I reran "make qubes". This still fails because that file with
> my correction gets overwritten to original version of qubes-prepare-vm-kernel
> everytime "make qubes" gets ran.
You can avoid full rebuild by building selected components -
specifically skipping those you've already built. "make help" will
display the full list, so you can start with linux-kernel, which is the
failing one:
make linux-kernel artwork gui-common gui-daemon ...
- --
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?
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlzFDtgACgkQ24/THMrX
1ywL6wf/TBAY7Y5imX6Lz6ZIqS6KxbXZjT27s2cosOEOH/XlsqrEcWniQAQ7RxnG
2AWL7hQfE+zT8kVCl+fhN/rqKq0/d7uummPtNxqvXXp6J5K87UHvXu7axbmaaPRa
DpGqNM06ONrO3SyOfklLStRJteY6F/kHvkHXKlcBiCziQtXKFTU7tCGQbWe4Z5Mf
UomDLFrflgZ9hfxfl9fw+5JvFNtPnMRogk5aAVaBU6dtcIrTCZpaJRSigussr7VI
uSae1VXLlH7rmmFbECW4YDxYS5VxxyP7ntuHHvu7FpTm7XpMKVgYKVgfsPWh+pQ+
AQOT/FKBrHQykxUMyKEowog9GnVA6Q==
=oF0M
-----END PGP SIGNATURE-----