[19:48] <coreyfro>  Hey all.  I need to build packages on a PPA for arm based systems.  Is there a how-to for preparing source packages for cross compileing?
[19:48] <coreyfro>  Also, how does one prepare a kernel for PPA?
[19:48] <coreyfro>  And out-of-tree device drivers
[19:49] <coreyfro>  All for cross compiling for arm
[19:49] <coreyfro>  I have them all working, manually.  I've even built debs by hand. Now I just need to make them something to satisfy a PPA
[19:50] <infinity> coreyfro: The best way to do out-of-tree modules is with a DKMS package
[19:50] <infinity> https://wiki.ubuntu.com/Kernel/Dev/DKMSPackaging
[19:51] <infinity> coreyfro: And cross-compiling is probably not the right answer in a distribution packaging setting (we don't cross any of our packages, except to bootstrap)
[19:52] <coreyfro> Awesome! Thanks!  Is there a PPA that build ARM schtuff?
[19:52] <coreyfro> infinity: I mean, ARM native?
[19:53] <infinity> coreyfro: You can request armhf be turned on for specific PPAs, though if you're doing dkms packages, you don't need to do that, as the builds happen on the user's machine.  The package only contains source, and can be arch:all.
[19:53] <infinity> (Unless it's a binary-only module, in which case you can't have it in a PPA anyway, as we don't allow you to upload non-free stuff to PPAs)
[19:54] <coreyfro> Oh, no.  We need it built on the PPA, we're making devices based on Ubuntu.  The users should never have to touch the user environment
[19:54] <coreyfro> It's all opensource
[19:54] <infinity> I don't think you understand what DKMS does. :)
[19:54] <infinity> The user doesn't manually build anything.
[19:55] <infinity> It's a framework that keeps modules up-to-date with current kernels.
[19:55] <coreyfro> ifinity : You would be correct ;-)
[19:55] <infinity> It's how we package, for instance, nvidia and fglrx stuff, and many other out-of-tree modules.
[19:55] <infinity> This is *far* better than you having to rebuild versioned modules in your PPA for every single kernel SRU or security update.
[19:57] <coreyfro> infinity: awesome.  What about building kernels?  I have huge sets of patches I need to move around (https://github.com/RobertCNelson/linux-dev)
[19:58] <infinity> Building kernels is a different kettle of fish entirely and yeah, you'd need a native PPA for that, and to do a fair bit of reading/research on how to make packaged kernels that play nicely.
[19:58] <infinity> Probably lots of good info to be found under wiki.u.c/Kernel
[20:00] <coreyfro> I've been building clean, happy kernals on my AMD64 systes.  Do PPA's work better or only as native build environments?