-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, On Wed, 17 Mar 2021, Prophet wrote:
Sorry for this newbie question.
nothing to be sorry for.
Not sure if this is related to Crux but I always compiled the kernel using sudo and never had any problems. Recently decided to try fakeroot and always get corrupted xz image at boot. Is the kernel supposed to be always compiled as root in Crux? What am I missing here?
You should be able to compile the kernel as any user (no need for fakeroot). The installation requires root, though (assuming, /boot is owned by root, as it should be). I'm doing as a regular user: make oldconfig make and then run as root: install -m644 --owner=root $kernelImage /boot/vmlinuz-$version grub-mkconfig -o /boot/grub/grub.cfg Note, that I do not have an initramdisk, but it should work similarily if you have one. What exactly are you trying, that fails? I had problems in the past with left-over files from previous compilations - a `git clean -xdf .` did help, there. HTH, Erich -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmBSAxQACgkQCu7JB1Xa e1pknRAAj1Opecjfwn2y4AAQATX/Sz/XdqXHdQ+QZgaSt/CDHZ5l9Ob1bU2HrYkv D4Xwo4YrjKDSiq/JFDTU+ML+0CJWKSKjUnyf2FYBbe0f7JKjWY+ktEFAxC0Q8wdF 6ViMak77d40hRYi0SAzWSBITrAAMNO82x5VVAyTmRH2NHXkAoAJRQ6paMuYJoVH6 yQaklEvV1TIEyGHfolGSwBK9WHVE41BmVXjCGIin6WjBouOHEoynDyKrhieo4OSU /8qzVLLW8Seg7sV+GxdN99yTLWB3RXUoEdNM6RngtwMkicgE1bic4HX080dFVGQ3 CyUhI11ULv3vMpWzGIdD7yn1LO6DnPwG2HkWpJg1kQzA54tu1Cttsja0WqtYhUXA jdTzQGWNGMAbUU6p3hrRa85353kgzCvC1asxe2mOk031TQhUo7ZypwhCyMFBcuT5 y9Sb4+p5aWIpzyOdLQFLCPmvIV0visokEC9Y9IwY3L4wUaaGLmGIHJ/MKeCewxvn ILUCIkymWZN5xEdOUOI+M823oZD/FffauYhh0lE9WV+rgpZ6e69hOgear1N4N3xL 69Fgaonp96XA5n+1U1EPGiVb1zRWlWfs10ZtHtZho2RBO8vCk5Q57j36c9bfPnQ+ 4Puhia5D8jkOocb3vk0gesMQczghNi9NvQOQ/Lvb3jf0Nx4v5H8= =PLL4 -----END PGP SIGNATURE-----