On Tue, Jul 10, 2012 at 2:50 AM, Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxx> wrote: > On Mon, Jul 9, 2012 at 7:54 AM, Ozan Çağlayan <ozancag@xxxxxxxxx> wrote: >> If the EUID of the process is not 0, assume that get-compat-kernels >> is run as a regular user and extract the downloaded *.deb files >> from debs/ into > >> ksrcs/: > > How about $HOME/ksrc/ ? > >> ksrcs/ >> ├── lib >> │ └── modules >> │ ├── 2.6.24-020624-generic >> │ ├── 2.6.25-020625-generic >> │ ├── ... >> │ └── 3.4.4-030404-generic >> └── usr >> └── src >> ├── linux-headers-2.6.24-020624 >> ├── linux-headers-2.6.24-020624-generic >> ├── linux-headers-2.6.25-020625 >> ├── linux-headers-2.6.25-020625-generic >> ├── ... >> ├── linux-headers-3.4.4-030404 >> └── linux-headers-3.4.4-030404-generic > > Nice! > >> If you still want to use your kernel sources under /, run >> get-compat-kernels > > Neat! > >> or ckmake with 'sudo'. > > How about instead having ckmake detect first if you have your > $HOME/ksrc/ and if so use that, otherwise go with the built in stuff ? You are right, that would be much better. Will rework and send a new patch. Thanks :) -- Ozan Çağlayan -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html