Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

General Questions • [HowTo] Repeat official building process

$
0
0
Hey guys, sorry if i am not the first one to raise the question, but i really need the answer. I did use search... If you could point me to the complete FAQ covering the topic i will be really glad to read it.
My question is how to repeat the full procedure of a Debian kernel rebuilding. I cannot actually get a working kernel/installer.
I did:
1) Rebuilt kernel from linux-6.1.37-1 sources, by running consequently cd linux-6.1.37/; fakeroot debian/rules source; fakeroot debian/rules binary-arch. As a result i get a bunch of .deb packages, 3 of which are unsigned versions of amd64, cloud and RT
2) I install those 3 unsigned kernels, apt sourced linux-signed-amd64.dsc package with its dependencies, to generate signed kernels, buy running debuild -us -uc. As a result i get signed kernels and a couple dozens of .udebs
3) I use debian-installer sources and the .udebs from the previous step to get vmlinuz and initrd.gz compiled for installation CD. The ISO with these files is not bootable.
Some details of what i got. The unsigned kernel from step one work fine installed. The signed kernel refuses to boot, it cannot find the root FS. The installer made from the .udebs refuses to see any network interfaces and disks on the machine during the installation process.
Repeating 2nd and 3d steps with unsigned kernels from original Debian repo works fine for me, everything like a charm.
What and where i do wrong?

Statistics: Posted by alix_frolov — 2024-04-19 23:00 — Replies 2 — Views 29



Viewing all articles
Browse latest Browse all 3260

Trending Articles