dylanaraps / wiki

KISS Linux - Wiki (The wiki is now a part of the website)
https://kisslinux.org/wiki
MIT License
27 stars 17 forks source link

Kernel config shenanigans and initramfs #45

Closed FriendlyNeighborhoodShane closed 4 years ago

FriendlyNeighborhoodShane commented 4 years ago

Coming from a kernel DIY noob, so pls review harshly ;P

FriendlyNeighborhoodShane commented 4 years ago

Welp, there go my pledges to never force push again

Apologies if you'd already fetched. I must have accidentally switched the order of sections (originally) 1.0 and 2.0, making the diff seem way more garbage than it already was.

FriendlyNeighborhoodShane commented 4 years ago

Are you sure about removing localmodconfig? While several of the m's will have to be changed to y's for a successful boot, it is by far the least intimidating method to configure the kernel, and also not mentioned at many places online (in my experience).

As for the rest, you are right, I will trim those sections out.

dylanaraps commented 4 years ago

Sure. In this case I think it's best to recommend localyesconfig rather than localmodconfig. The former making everything =y instead of =m. localmodconfig is likely better for the initramfs page.

FriendlyNeighborhoodShane commented 4 years ago

Dang. Didn't even know that existed, just assumed that localmodconfig copied all of the host kernel's driver settings 1:1 (y for y's, m for m's).

That arrangement makes perfect sense.

FriendlyNeighborhoodShane commented 4 years ago

@dylanaraps I've made the relevant changes and rebased on top of master.

FriendlyNeighborhoodShane commented 4 years ago

@dylanaraps cleaned up.

FriendlyNeighborhoodShane commented 4 years ago

Fixed.

dylanaraps commented 4 years ago

Thanks! Great stuff.