**** BEGIN LOGGING AT Mon Apr 28 02:59:59 2014 Apr 28 19:48:04 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? Apr 28 19:48:20 Also, how does one prepare a kernel for PPA? Apr 28 19:48:42 And out-of-tree device drivers Apr 28 19:49:03 All for cross compiling for arm Apr 28 19:49:48 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 Apr 28 19:50:35 coreyfro: The best way to do out-of-tree modules is with a DKMS package Apr 28 19:50:37 https://wiki.ubuntu.com/Kernel/Dev/DKMSPackaging Apr 28 19:51:06 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) Apr 28 19:52:21 Awesome! Thanks! Is there a PPA that build ARM schtuff? Apr 28 19:52:44 infinity: I mean, ARM native? Apr 28 19:53:26 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. Apr 28 19:53:50 (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) Apr 28 19:54:24 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 Apr 28 19:54:42 It's all opensource Apr 28 19:54:51 I don't think you understand what DKMS does. :) Apr 28 19:54:57 The user doesn't manually build anything. Apr 28 19:55:08 It's a framework that keeps modules up-to-date with current kernels. Apr 28 19:55:26 ifinity : You would be correct ;-) Apr 28 19:55:28 It's how we package, for instance, nvidia and fglrx stuff, and many other out-of-tree modules. Apr 28 19:55:48 This is *far* better than you having to rebuild versioned modules in your PPA for every single kernel SRU or security update. Apr 28 19:57:02 infinity: awesome. What about building kernels? I have huge sets of patches I need to move around (https://github.com/RobertCNelson/linux-dev) Apr 28 19:58:19 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. Apr 28 19:58:40 Probably lots of good info to be found under wiki.u.c/Kernel Apr 28 20:00:00 I've been building clean, happy kernals on my AMD64 systes. Do PPA's work better or only as native build environments? **** ENDING LOGGING AT Tue Apr 29 02:59:58 2014