[SOLVED] Aktuellen Kernel kompilieren

insane

Member
Oct 11, 2020
6
0
6
73
Hallo,

ich habe im Ordner pve-kernel den "make" Befehl ausgeführt, aber direkt zu Beginn können die Submodule nicht geklont werden, ich werde zum Login aufgefordert. Ich habe den Kernel schon vor einiger Zeit mal kompiliert, da war dies ohne Probleme möglich.

~/pve-kernel$ make test -f "submodules/ubuntu-kernel/README" || git submodule update --init submodules/ubuntu-kernel Cloning into '/home/chris/pve-kernel/submodules/ubuntu-kernel'... Username for 'https://github.com':
 
Hallo,

von wo hast du denn das pve-kernel repository geklont?

Das .gitmodules file für das pve-kernel repo hat nämlich relative Pfade:

Code:
[submodule "submodules/zfsonlinux"]
    path = submodules/zfsonlinux
    url = ../zfsonlinux
[submodule "submodules/ubuntu-kernel"]
    path = submodules/ubuntu-kernel
    url = ../mirror_ubuntu-kernels

Das heißt, beim Aufruf von git submodule update --init versucht mit dieser relativen URL die Repositories zu klonen.
Wenn du also pve-kernel von unserem MIrror auf github geklont hast, versucht git die Submodules auch von github zu klonen. Wenn ich das gerade richtig sehe, dann haben wir zfsonlinux und mirror_ubuntu_kernels gar nicht auf Github gespiegelt.

Einfach direkt von unserem eigenen Git-Server klonen, dann sollte das ganze funktionieren!

https://git.proxmox.com/?p=pve-kernel.git;a=summary
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!