/srv/irclogs.ubuntu.com/2014/05/09/#ubuntu-kernel.txt

oneWhat is the most direct way to obtain the source corresponding to the currently running Ubuntu generic kernel?07:21
oneapt-get is pulling linux-meta and the results are a newerr version that doesn't support the same crypto07:21
oneHi07:28
apwone (N,BFTL), the easiest is probabally to look at the tags in the git repositories at kernel.ubuntu.com/ubuntu/ubuntu-<series>.git08:19
oneHi09:18
oneWHat is the most direct way to obtain the kernel source?09:19
oneFor a spcific version. Matching what is currently run on the system used.09:20
apwone, the easiest is probabally to look at the tags in the git repositories at kernel.ubuntu.com/ubuntu/ubuntu-<series>.git09:28
apwone, or pull-lp-source -d linux <version>09:28
oneapw: looking at the versions09:34
onewhat are 'tags' I do not want to do any more 'cooldude; lingo09:34
oneThe version closest to the kern I am looking for just contains a 'metasource' package in place of where the sourcecode is usually located09:35
lagapw: Hola09:35
lagapw: A friend of mine is complaining that the Ubuntu repos are pretty slow - are there alternatives?09:36
amitklag: mirrors?09:37
lagamitk: Looking here now: https://wiki.ubuntu.com/Mirrors09:37
lagamitk: Now here: https://launchpad.net/ubuntu/+archivemirrors09:38
oneWhy is the sourcecode hidden?09:40
amitklag: http://askubuntu.com/questions/39922/how-do-you-select-the-fastest-mirror-from-the-command-line09:40
amitklag: though the installer should select the best mirror09:41
lagamitk: "It's coming down faster now" :)09:42
amitkheh09:42
oneWhy is the sourcecode hidden?09:43
amitkone: https://wiki.ubuntu.com/Kernel/SourceCode09:45
apwone the source code is not hidden, it is either in our git repo or in the source package for the linux-image-* package that contains your kernels09:49
apwone, i assume you are looking at the meta-package package such as "linux-image-generic" which comes from a different source, and is part of the mechanism which lets you have a "current" and "previous" kernels09:51
apwa very special feature of the kernel packages09:52
apwas amitk says that wiki page has all the details on how to obtain it easily09:54
oneapw no looking at the git repo09:56
oneapw no, looking at the git repo and the source tree includes linux-meta that just has a few text files09:57
oneapw: Where is the actual sourcecode?09:57
apwin the right git repo09:57
apwwhich release are you on09:57
amitkone: read the fine manual: https://wiki.ubuntu.com/Kernel/SourceCode09:57
apwie which kernel version range are you looking for, and i'll find you the right link09:58
apwgit clone git://kernel.ubuntu.com/ubuntu/ubuntu-<release>.git09:58
apwso that one yes?09:58
apwwhich <release> did you substitute in 09:58
onequantal 09:58
onehttp://kernel.ubuntu.com/git?p=apw/ubuntu-quantal-meta.git;a=summary09:58
oneyou09:58
apwno that is substituting in quantal-meta, that is not substituting in quantal09:59
apwand that is something from my directory not from the ubuntu one09:59
apwgit://kernel.ubuntu.com/ubuntu/ubuntu-quantal.git09:59
apwhttp://kernel.ubuntu.com/git?p=ubuntu/ubuntu-quantal.git;a=summary10:00
apwthat one is the gitweb you wanted10:00
oneI do not want to install git10:00
oneI just want the sourcecode10:00
onenot download and install more trash10:01
apwapt-get source linux-image-$(uname -r)10:01
apwis how to get the source10:01
apwif you arn't using git, as it says on that wiki10:01
apwas it even said first on that wiki10:01
onethe https connection doesnt establish10:02
oneif the server was accepting http I could have looked10:03
apwthat i am unable to help you with10:03
oneI do not want to install more trash nor do I want to be forced to use a bunch of tracking codes10:03
apwapt-get source linux-image-$(uname -r)     10:03
apwwill do what you want then, it will get you the raw source10:04
apwwhich is how you get the source of all and any package in debian based systems10:04
onethat looks to be downloading the full source previously I had run apt-get source linux-source or something without the uname10:04
apwyep, that gets you the meta package which tracks our releases10:05
apwthe kernel is special in that regard, so you can have old kernels for emergencies10:05
onethen I downloaded the package for the source from some link that was in the meta package10:05
oneand it compiled into a version other than what it was labled as10:05
apwwhich link was that10:07
oneI do not recall at the moment it was a while back but the package is labled 3.5.0 and the result is 3.5.510:08
apwthat would depend how you build it, if you use the debian rules to build it it will likely come out as 3.5.0-NN style, if you use direct make it might well be 3.5.N10:09
oneAnd it isnt compatible with the crypto running on the current 3.5.010:09
oneHow are the debian rules used to build it?10:10
apwto build the full package you would use dpkg-buildpackage -b which will build it for the build machiens architecture10:13
apwof course you need th10:13
apwthe appropriate build infratstructure installed, compilers, kernel-wedge etc etc10:13
apwor one could build it in a PPA10:13
onethis looks like some more source not sure if its different from what is in the linux-source-3.5.010:31
onethey are both 3.5.010:31
onealso theres a linux-meta-3.5.010:31
onethis scheeming doesn't make sense10:32
onein that way it is hidden10:32
onewithout sense it becomes dice10:32
onejust guess at a random naming schema10:32
onelike cracking a bicycle lock just to figure out what it is possibly named10:33
apwone, apt-get source gets that actual source package which was uploaded to make the binaries you have, so its not random source10:36
oneapw are there any other advantages to using dpkg-b... to build other than detecting the architechure not even to the specifics of cpuinfo10:37
apwone, you get a package that is built the same way the archive builds it, it all depends what you are building your kernel for to know whether it matters10:37
oneapw: so does it force automation of everything or is there a way to modify the config?10:38
apwthe configs are builtin and can be modified10:38
oneapw: is it also possible to build something for another machine using the dpkg-build...10:42
oneapw: the kernel is being rebuilt to cut out the extras and then add some custom modules10:44
oneI am planning on some modules which use interactive crypto10:45
apwdpkg-buildpackage can build for the architectures the build machine supports only10:45
apwunless you use cross-compilers10:45
onewell that is where to start, kernel, and start cleaning up this junk11:16
onebunch of junk everywhere on the machine11:16
oneany links to a linux compatible braille term11:17
oneinteractive crypto to check the eyes for trickery11:17
oneclean machine11:18
oneIam going to clean up the machine and then use it.11:19
oneCan't even be used the popular idea is that folks pay to have machines use them.11:19
oneobsurd!11:19
onevanguard robots spying on me11:21
onethey play game11:21
onecommunists11:21
oneit seems somewhat surreal11:22
oneDid you just open emacs?11:22
oneSomething just opened emacs11:23
oneI know you want me to code.11:23
=== barq_ is now known as kswit
hallynyou wanna talk about surreal23:05
smbhallyn, is that the state after too many beers?23:16
hallynsmb: haha, no, i just looking at the backscroll, with 'one' and 'apw' talking to each other23:18
hallynsmb: all i've had is half of rharper's bottle.  where are you?23:19
hallyni've turned qemu-nbd into an orphan and accidentally downloaded an armhf cloud image, i think i can call tonight a success23:19
smbhallyn, In my room but ready to roll any time23:19
hallynzul hasn't yet shown up on irc23:20
hallynsmb: lobby in 10 misn?23:20
smbsounds like at least some err progress (nbd and arm)23:20
smbhallyn, ack23:20
hallynsmb: woohoo, container with qcow2 backing store working '\o/23:25
smbyay23:27
onehere does dpkg place the kernel after using buildpackage?23:55
oneWhere does dpkg place the kernel after using buildpackage?23:55

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