building cubes how to include custom patches

7 views
Skip to first unread message

ludwig...@gmail.com

unread,
Sep 2, 2021, 8:46:34 AM9/2/21
to qubes-users
Hi all,
I would like to patch some sources of xen and would like to know how
to introduce the patches into the build system.

Regards,

Ludwig

awokd

unread,
Sep 2, 2021, 4:47:03 PM9/2/21
to qubes...@googlegroups.com
ludwig...@gmail.com:
> Hi all,
> I would like to patch some sources of xen and would like to know how
> to introduce the patches into the build system.

There is a patch directory somewhere in the build environment where
custom Qubes patches get applied to the Xen kernel. It may be inside the
chroot filesystem, but I don't have a build VM handy to confirm. Run
something like "sudo find -name *patch*" at the top level of your build
machine and I think you can find it, then check the make file that
applies the patches to add your own.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

unman

unread,
Sep 9, 2021, 9:49:22 AM9/9/21
to qubes...@googlegroups.com
On Thu, Sep 02, 2021 at 08:46:38PM +0000, 'awokd' via qubes-users wrote:
> ludwig...@gmail.com:
> > Hi all,
> > I would like to patch some sources of xen and would like to know how
> > to introduce the patches into the build system.
>
> There is a patch directory somewhere in the build environment where custom
> Qubes patches get applied to the Xen kernel. It may be inside the chroot
> filesystem, but I don't have a build VM handy to confirm. Run something like
> "sudo find -name *patch*" at the top level of your build machine and I think
> you can find it, then check the make file that applies the patches to add
> your own.

Put with the other patches in vmm-xen, and adjust xen.spec.in

Reply all
Reply to author
Forward
0 new messages