You are not logged in.
Pages: 1
Hi guys,
I just read about mkinitcpio on Arch Wiki where is stated, that one can integrate the ramdisk in the kernel. But I can't find anything about how to do it. Another question is, what is the advantage/disadvantage when you build such a "self-contained kernel image"?
Greetings, Rvn
Offline
If I remember it right, you need to let mkinitcpio generate the filelist and include that list in the kernel configuration. I never tried it and have no idea if it works.
Offline
You mean the content of the generated cpio archive? So you would have to compile the kernel with that list for yourself? Sounds like work
Offline
No, mkinitcpio generates a filelist that can be used as input for gen-init-cpio (-s option of mkinitcpio). This filelist can be specified as an option in the kernel configuration. The initramfs is then generated while the kernel is being built and included into the kernel. At least, that's the theory.
Offline
It won't work, because mkinitcpio deletes some temporary files that are included in the file list.
Offline
Pages: 1