-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Fri, Apr 12, 2019 at 04:45:32AM -0700, Dylanger Daly wrote:
> On Friday, April 12, 2019 at 12:28:12 PM UTC+1, Frédéric Pierret wrote:
> > Hi,
> >
> > Indeed, it's overwritten. You need to change sources directly located in
> > : qubes-builder/qubes-src/vmm-xen/
> >
> > Do your changes here and the 'make vmm-xen' will take care of putting
> > your changes into the chroot.
> >
> > Also, it seems that you are trying to build dom0 under fc29 which is for
> > release 4.1 (still work in progress).
> >
> > Try to use r4.0 config file instead and not master except if you know
> > what you are doing :)
setup script will ask you for the qubes version - choose 4.0.
Alternatively, if you use a config from example-configs/ directly,
choose the one with 4.0 in name.
In the end, you should get xen-4.8 branch in vmm-xen repository.
> Hmm, I can't seem to find the actual source, there are only .patch
> files in qubes-src/vmm-xen, for example, hvmloader.c dosen't exist in vmm-xen.
There is xen tarball with actual source code, but this not the place
you should change.
What you need to do, is to create a patch and add it to the list.
Since you already know how to change files in
qubes-builder/chroot-dom0-..., you can use that to create a patch.
You'll need "quilt" tool installed. Roughly do this:
1. Build vmm-xen unmodified
2. Go to
qubes-builder/chroot-dom0-fc25/home/user/rpmbuild/BUILD/xen-4.8.5
3. Execute "quilt new some-patch-name.patch" (you can use any name)
4. Identify what files you want to modify and mark them (before you
modify anything!) with quilt add
5. Do your modifications
6. Execute "quilt refresh" to create actual patch. You'll find it in
.patches dir there.
Then, copy resulting patch to qubes-src/vmm-xen and add it to the list
in
xen.spec.in (Patch... lines, add it at the end, with a new number).
Alternatively, if you're comfortable with using git, it may be easier to
use it to create the patch instead. Simply clone upstream xen git
repository (
https://xenbits.xen.org/git-http/xen.git), switch to
stable-4.8 branch and create a commit on top. Then export it with "git
format-patch -1"
- --
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/THMrX1ywFAlywiaYACgkQ24/THMrX
1yyZyAf+ILCvqLddSz2EQoqHuXFtLRA913wakVD3Lqaqa5V2jkHJSypLlvUWmNyu
FH87o66KZjzWzz7K1Wqz24bx34sMDF1tCUX2QsuIZW1Me/LE67OgPb6MSP3oP/oZ
IaI1boZU3cG+88YLyB6cR1RzDwHzhj6XcUhvkmptFoDSBSwPeNbM/nEsUxmw/fmv
1LlMpcBGAS6V7yvcVXV3Ww8BzZwEJbMkBgAwIOkgF5OQ6C5uc22Tzoxmce3hGM9O
4INZ5by45jz2nvbMFiPgIARaxvTPbLscAZ47ppyqWAohMHpko3CFrKI34azwLVn3
srD0yLlrOV18sp6QCCd72E16xTrlgQ==
=0aKA
-----END PGP SIGNATURE-----