Re: [Lf_driver_backport] scripts in compat tree

From: Ozan ÃaÄlayan
Date: Mon May 21 2012 - 09:15:07 EST


> Well kernel.org does not have already built kernels. Ubuntu's PPA
> kernels *are* vanilla kernels, in fact that is why they were put up,
> they are guaranteed to be built on vanilla kernels. We couldn't get a
> more generic approach then. The only thing though is -- the PPA
> kernels obviously have the kernels integrated on .debs. There are a
> few options here:
>
> Â1) If Ubuntu can dpkg -x the kernels for us onto tarballs that'd be swell
> Â2) We could write our own script to do this with C code that does
> the dpkg -x for us
>
> There are ways to do 2) suggested in the thread above.

ah you are right, we need to have built kernels in order to build the
modules. Well then the 2nd solution seems reasonable if we can mimic
dpkg -x. I googled a bit and people says that debs are generic .ar
archives so it would be easy to take the tarball inside of them.

If I succeed this can be used on any distro since that they are
vanilla without any patches. But if the PPA disappears one day, we'll
have to find another solution :)

BTW you also download the kernel images probably for booting into them
to test the compat builds. Booting using those images on other
distributions can be messy and unsuccessful as initramfs and booting
mechanisms differ widely. I'll test those too.


--
Ozan ÃaÄlayan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/