On Freitag, 19. November 2021, 10:09:31 CET Julio Gonzalez wrote:
On jueves, 18 de noviembre de 2021 16:54:16 (CET) Adrian Schröter wrote:
On Donnerstag, 18. November 2021, 16:12:07 CET Julio Gonzalez wrote:
Seems it's added, at least at the meta configuration, but not working for whatever reason.
The URL at:
http://ftp.de.debian.org/debian/bullseye/ main" repotype="deb">
Returns a 404, so it could explain it. I guess all other ppc64le need to be fixed as well.
that is not the problem, but the lacking kernel-obs-build.
We would need one in a .deb package, but not one did build such a package yet ;)
We need it for endian switching inside of KVM here.
A long time ago (back in the 2.x kernel times) I generated my own kernel versions and packaged them as Debian,
IIRC I have some ppc64le machines at SUSE that I could borrow for a while to do build the package (never tried cross compiling the kernel)
But I guess I need at least a .config file, and a list of patches, if any patch is needed?
no, it is just repackaged binaries. You may need to build your own initrd though.
And then I guess I need to prepare an OBS package... and submit it where exactly? Do we have any documentation about this `kernel-obs-build` thing?
It depends very much on the distro kernel, so I can not give you a clear
guidance here, since this is the major part of the work to figure it out.
However, just look how we build the kernel-obs-build in the rpm world.
In the end you just need to package three files:
/.build.hostarch.kvm
/.build.initrd.kvm
/.build.kernel.kvm
hostarch just specifies ppc64le in its content. initrd and kernel are what
they say.
try to build such a package and build anything else to test if they are able
to run inside of the VM.
--
Adrian Schroeter