Hi, You should take my words with a grain of salt since I'm doing this the first time around. But anyhow.
Go to https://www.qubes-os.org/doc/qubes-iso-building/ and make sure you have a Fedora VM to download everything to, and plenty of space. Download a builder.conf file from https://github.com/QubesOS/qubes-release-configs/blob/master/R4.0/qubes-os-iso-full-online.conf (or 4.1 if that's the version you are building) In that file, add vmm-xen under COMPONENTS run make remount make install-deps make get-sources Now, go into qubes-src/vmm-xen and add you patch as a file. Enter xen.spec.in and add your patch-file under upstreamable, you'll notice the pattern. Go back to qubes-builder and run make vmm-xen, and the rest of the entries in $COMPONENTS in builder.conf. ( At this point you have rpm-files inside chroot-* in qubes-builder that you actually could install in dom0 instead of building a full ISO. ) run make iso please note that it will take a while. On Friday, 26 March 2021 at 01:18:01 UTC+1 Zophikel wrote: > > Yesterday I filed an issue regarding hardware support for my HPZ800 and > Nehalem era cpu’s I was wondering how to build a custom qubes image/iso > where the following xenpatch > <https://github.com/xenserver/xen.pg/blob/XS-8.2.x/master/tweak-iommu-policy.patch#L38-L52>is > > included ? -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/7ddd3180-2d4b-4060-bda3-a4a3d41aef68n%40googlegroups.com.