matthewhartstonge / docker-genymotion

docker-genymotion helps to keep your environment clean, consistent and contained when testing different devices.
BSD 3-Clause "New" or "Revised" License
24 stars 11 forks source link

Hints about how the kids build kernels these days. #2

Closed sleekweasel closed 8 years ago

sleekweasel commented 8 years ago

This would have saved me an annoying half hour or so.

matthewhartstonge commented 8 years ago

Hey @sleekweasel! First off, Thanks for the commit!

Is this fix for a specific OS Host? (Suspecting openSUSE from googleFU?) Wondering if a section for specific OS's would help.

sleekweasel commented 8 years ago

I was mostly seeking to give the hint about the 'make oldconfig prepare scripts' line.

The 'zypper in' part is for SUSE/SLES, but the package names look correct for RedHat too. Debian uses linux-headers-generic instead of kernel-default-devel.

It would probably suffice to have a package install line for each of the main Linux distributions, but I don't have ready access to anything other than SLES at work.

The handling of /usr/src/linux is necessary because the vbox setup doesn't seem to respect the kernel source env-var its log suggests setting, but I don't know whether that's handled in a standard manner across distributions.

matthewhartstonge commented 8 years ago

Approved!