/srv/irclogs.ubuntu.com/2013/03/08/#ubuntu-installer.txt

clearycjwatson: are you about perchance?01:06
clearyI'm having a look through the ubuntu-cdimage project, just trying to kick off a test build - the README is pretty helpful01:08
clearybut, I can't get it started -01:08
clearybin/for-project ubuntu bin/cron.daily-live exits with an OSError: No such file or dir01:10
clearyseems to be failing on the lock_build_image_set func, calling lockfile01:13
clearyok, typing my way through it has yielded what is probably an obvious issue ... lockfile bin doesn't exist on my system ;)01:15
StevenKcleary: Install procmail01:15
clearyhi StevenK - got it, thanks01:17
clearyStevenK: do you use this cdimage tool at all?01:23
clearyI'm going through the README which documents the process somewhat01:25
clearyand the steps, while having an obvious description, don't seem obvious in what they achieve as part of the process01:26
cleary...I don't mean to waste your time, I'll plumb through each of them and see if I can work out the tie-together01:27
clearyI'm looking for a way to a) build a standard (k)ubuntu livecd only (from scratch), and b) customise that process to include some of my own packages and changes01:28
clearyI'm not interested in a remaster process01:28
cjwatsonFor historical reasons not all the bits required to build an entire live CD from scratch are currently in cdimage01:29
cjwatsonA while back I got clearance to release all the remaining glue provided I rewrote it all in unit-tested Python in the process01:29
cjwatsonSo I'm currently in the middle of that01:29
cjwatsonI should have a better answer in a few weeks :)01:30
clearycjwatson: ok, that's great news. I was trying to work out why I had never found this tool -01:30
cjwatsonlivecd-rootfs has code to drive live-build to do the squashfs generation01:30
cjwatsonAnd cdimage has most of the bits required to download that from a builder and assemble it01:30
cjwatsonBut (a) the glue between those is currently unreleased (b) there needs to be a thing that lets you just build on the same system rather than the full mechanism of going off to a separate builder01:31
cjwatson(In general a separate builder is necessary since the livefs might need to be built for a different architecture)01:31
clearythat makes sense01:32
infinityThat thing that lets you build all on one system should probably just be live-build, but teaching live-build all of debian-cd's pool construction tricks is non-trivial.01:32
cjwatsonAt the moment, you could start with BuildLiveCD in livecd-rootfs (which is the ssh trigger that our production cdimage instance calls), use that to build a squashfs, and then modify lib/cdimage/livefs.py to point to wherever you've stored the livefs01:32
infinity(Or, debian-cd and live-build could use tighter integration to Just Work together without a ton of glue)01:32
cjwatsonAt that point it ought to be possible to use bin/cron.daily-live01:32
cjwatsonIt'll be a bit cumbersome right now though01:33
cjwatsonAnd yeah, you need a full local mirror to make the debian-cd bits work properly01:33
cjwatsonWell, main+restricted for the relevant architecture(s) at least01:33
infinityAnd universe, he's building kubuntu.01:34
infinityUnless they don't have a live-ship seed?01:34
cjwatsonAh I didn't see that.  Indeed01:34
infinityWhich they might not.01:34
cjwatsonThey do (ship-live)01:34
clearyso I couldn't get away with pointing it at an apt caching proxy of some sort then :)01:35
cjwatsonNo, it hardlinks to the files as part of constructing the image01:35
clearyok, there's quite a bit of extra infrastructure I'll need to put in place01:35
clearyas a little bit of background, I've mentioned I've been using my own scripts01:36
clearythese are based on the tools used by the aptosid/sidux team for building their livecd releases01:36
cjwatsonlive-build is much better at being locally customisable01:36
clearywritten predominantly by kel modderman, not sure if you know him01:36
cjwatsonI do01:36
cjwatsonThough it's been a while01:36
clearyI was involved with sidux for some time as a developer, due to my work requirements01:37
clearywe deployed livecd based desktops in production, and kel and I worked on the various building incarnations together01:37
clearyabout two years ago, managing an unstable repo became too much for me01:38
clearyso I looked to ubuntu as the least cost stable repo move01:38
clearyum, actually it was 200901:39
cleary9.10 was my first production release here01:39
clearyanyway, I had no luck finding your tools (which makes sense, they weren't released)01:39
clearyso I forked kel's pyfll tool for ubuntu-isms01:40
clearycasper and soforth01:40
clearyand that's what I've been using since - but I've been flying solo for a long time, and I've decided I need to get ... help01:40
cjwatsoncdimage has been released for a long time, but essentially in its current state01:40
cjwatson(At least as far as coverage goes)01:41
clearypart of that process was to package and release pyfll-ubuntu properly01:41
cjwatsonBut anyway, yeah01:41
clearyso I was creating a project in launchpad that highlighted similar projects, cdimage showed up and here I am ;)01:42
cjwatsonDo you actually need complete identity with Kubuntu as your starting point, or could you get by with live-build's --binary-images=iso-hybrid mode?01:42
clearyI don't need any kubuntu identity01:42
clearykde will be what I deploy as the DE01:42
clearythat's the only association01:42
cjwatsonThe latter won't give you completely accurate pool, image preseeding, that kind of thing, won't necessarily have the same boot loader menu, probably has no UEFI support right now, various other things - but the live filesystem it emits will be the same and it should at least boot and probably install with a bit of love01:43
clearylet me dive into the info you've provided01:43
cjwatsonAnd it will be much less setup01:43
clearywell, that's somewhere near what I'm looking for for now01:44
clearymy tool is good, but it's duplicated work since you guys are doing this too01:44
clearyI'm trying to determine whether I commit to maintaining it as a project, or whether I can get onboard with your stuff01:45
clearyseems my timing was good01:45
cjwatsonThere's also ubuntu-defaults-builder, which has an ubuntu-defaults-image tool that's designed for really low-effort customised builds01:45
cjwatsonIt's used by various localised builds of Ubuntu for instance01:45
cjwatsonAnd sits on top of live-build01:45
clearyhadn't heard of it either, ok - that may be useful too01:46
cjwatsonDepends how extensive your customisations are, really01:46
clearywell, 99% are packaged01:46
clearythere are occasional requirements for some chroot fuckery01:46
cjwatsonIt was kind of designed to guide the localised projects into builds that didn't diverge too far so that the result would be supportable by us, but you might find it useful all the same01:46
clearyyeah, that sounds like what I'm after01:47
clearyhowever, I'm seeing some potential for the "release management" elements of the cdimage tools01:47
cjwatsonIt's a 300-line shell script so shouldn't be desperately hard to bodge into some slightly different shape if necessary :)01:47
clearyI will check it out now - this has been a huge help, thankyou01:48
clearyin the meantime, I might just bump a package into a ppa instead of going the whole lp project01:48
cjwatsonThose elements are the biggest reason cdimage remains useful to us; OTOH they are rather tightly tied to our particular layout right now01:48
cjwatsonI'm vaguely planning to make them a bit less ridiculously hardcoded as part of the Python rewrite, or at least consolidate the hardcoding in one place01:49
clearywell, I'm interested in assisting if I can - my ability to code, while tertiary backed, is pretty rusty01:50
clearyhowever, I have a production release requirement, version and release management requirements01:50
clearycustomisations etc, so at the very least it's a good testing area for de-hardcodification01:50
cjwatsonTa.  At the moment I'm trying to rewrite from one language to another while simultaneously integrating a long-lived production fork (and the whole thing not as my most important task), so it's quite a lot to hold in my head :)01:51
cjwatsonShould be easier once I'm further along01:51
clearyI understand - once again, thanks for the info01:51
cjwatsonI've been procrastinating on publish-release, but it's the most important one to tackle as it's really outgrown shell01:51
cjwatsonIt's interesting, after a long drought you're the second person to express interest in setting up cdimage in the last week or so01:52
clearyoff the record (so to speak), if you could get Kel interested in it too, you would find a strong resource01:53
cleary...maybe too strong01:53
clearyhe makes things happen very quickly01:53
cjwatsonNoted, thanks01:54
clearywell, now you've got a community :)01:54
clearyI'm going to spend a day or two digesting this01:55
clearyout of curiousity, do you guys know if irssi logs automatically?01:55
cjwatsonIt doesn't01:56
cjwatson  "fe-common/core" = {01:56
cjwatson...01:56
cjwatson    autolog_path = "~/.irssi/logs/$tag/$0/%Y-%m-%d.log";01:56
cjwatson    autolog = "yes";01:56
cjwatson(that's all under settings) is what I have here; season to taste01:57
clearyI haven't used irc for a long time, I'm regretting not jumping to irssi earlier01:57
clearyI might have had a clue coming back to it :P01:57
clearythanks, I'll try and set it up properly for next time ;)01:58
cjwatsonirssi is generally a good choice01:58
clearyhttp://puzlhed.net/2009/09/13/Saving_a_Buffer_in_Irssi.html/01:59
cleary:)01:59
clearyI hope that didn't just dump in channel...02:00
clearyholy shit02:00
cjwatsonIt didn't02:00
clearyfew02:00
cjwatson/lastlog's always local AFAIK02:00
clearyheh, phew02:00
clearyalright, off to lunch - later02:01
cjwatsonsee you02:01
davmor2xnox, cjwatson:  I just had a thought if I get the install to the broken state.  I can install sshserver and probably allow access to the machine right?  Or would it need to reboot to allow the SSH to work?11:22
xnoxdavmor2: yeah, you could do that. Really all we need you to do is to: (a) copy / upload any /var/crash/* files (b) file a bug with ubuntu-bug ubiquity. While you are in the broken state.11:24
mptxnox, what do you think of removing "Reinstall from sync" from the installer spec? It's a pretty marginal feature, and I don't think that school group is coming back. :-)11:24
davmor2xnox: okay I can do that too11:25
xnoxmpt: go ahead, as long as it is saved in the history/revisions somewhere.11:25
davmor2I'll have a play with it in a bit and see what I can get from it I need it to report a usb mic bug first though11:25
xnoxmpt: funny, since with the u1 plugin we now have full way to authenticate against u1 ;-)11:25
mptxnox, doesn't seem to be any way to label a revision, but you can look back at this IRC log and see that I removed it on March 8th11:26
xnoxmpt: i mean we should be able to view them. E.g. File -> Show revision history?11:31
xnoxwill that still have your sketches and text?11:31
mptxnox, yes. It's just that the listed revisions are numerous and unlabelled.11:32
xnoxmpt: good enough to scroll to 8th of March =)11:32
mptyep11:32
mptdone11:32
mptAnd now that it's gone, if the third-party software question is pushed back, the Internet connection step can go after the partitioning step as well.11:33
mptthough that would delay downloading of updates a bit.11:43
xnoxmpt: download updates is the last step as it is.11:44
mptxnox, what do you mean by "the last step"?11:44
xnoxmpt: updates are downloaded and installed at the very end of the progress bar (last time it jumps back to 0)11:45
xnoxmpt: i ponder if it will delay activating hard-drive / raid drivers, without which one will have hard time partitioning.11:45
mptxnox, why not in parallel?11:45
xnoxmpt: because there is no place to download them to =)11:46
mptoh11:46
mptI'm not familiar with how many times the progress bar jumps back to 0, mainly because it shouldn't ;-)11:46
xnoxmpt: we can't store all updates in ram, so we have to partition, format, prepare the target, once we can chroot into it, that's when we do `apt-get update & dist-upgrade`11:47
xnoxmore or less.11:47
mptok11:47
davmor2xnox: okay I've just tried 3 time with the same cd that I had the issue with and now it's not locking up12:32
davmor2xnox: I'll have a play with it over the weekend and see if I can replicate it and file a bug for it. but I need to get on with some work now,  I'm assuming it is some random race condition that is triggering it :(  cause those are always the nicest things in the world to track down :(12:35
xnoxdavmor2: fair enough =)13:01
=== kentb-out is now known as kentb
=== shadeslayer_ is now known as shadeslayer

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