/srv/irclogs.ubuntu.com/2014/04/28/#ubuntu-arm.txt

=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== doko_ is now known as doko
=== chihchun is now known as chihchun_afk
=== Tassadar_ is now known as Tassadar
=== hrww is now known as hrw
=== chihchun_afk is now known as chihchun
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 drivers19:48
coreyfro All for cross compiling for arm19: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 PPA19:49
infinitycoreyfro: The best way to do out-of-tree modules is with a DKMS package19:50
infinityhttps://wiki.ubuntu.com/Kernel/Dev/DKMSPackaging19:50
infinitycoreyfro: 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:51
coreyfroAwesome! Thanks!  Is there a PPA that build ARM schtuff?19:52
coreyfroinfinity: I mean, ARM native?19:52
infinitycoreyfro: 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:53
coreyfroOh, no.  We need it built on the PPA, we're making devices based on Ubuntu.  The users should never have to touch the user environment19:54
coreyfroIt's all opensource19:54
infinityI don't think you understand what DKMS does. :)19:54
infinityThe user doesn't manually build anything.19:54
infinityIt's a framework that keeps modules up-to-date with current kernels.19:55
coreyfroifinity : You would be correct ;-)19:55
infinityIt's how we package, for instance, nvidia and fglrx stuff, and many other out-of-tree modules.19:55
infinityThis is *far* better than you having to rebuild versioned modules in your PPA for every single kernel SRU or security update.19:55
coreyfroinfinity: awesome.  What about building kernels?  I have huge sets of patches I need to move around (https://github.com/RobertCNelson/linux-dev)19:57
infinityBuilding 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
infinityProbably lots of good info to be found under wiki.u.c/Kernel19:58
coreyfroI've been building clean, happy kernals on my AMD64 systes.  Do PPA's work better or only as native build environments?20:00

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!