[08:52] maxb: you can drop hooks into /usr/lib/oem-config/post-install [08:53] hooks must be executable and their file names must not contain '.' [08:53] and they should exit zero on success [08:54] aha, thanks - I was looking around, chasing the path of what gets invoked, but when the oem-config* scripts invoked ubiquity, the trail became a little non-obvious [08:54] cjwatson: hi hi [08:54] Is there a right way to find the firstboot user's homedir, or should I just rely on it being uid 1000 ? [14:06] debian-installer: cjwatson * r1481 ubuntu/ (5 files in 2 dirs): Move to 3.0-3 kernels. === cr3_ is now known as cr3 [16:33] Hi. Could I prevail on an interested core-dev to push lp:~ubuntu-core-dev/preseed/natty and /maverick branches (or whatever the convention is) so that I can file a merge proposal into them? [16:34] maxb: done, named that way [16:35] thanks! [16:35] debian-installer: cjwatson * r1482 ubuntu/debian/changelog: releasing version 20101020ubuntu41 [16:41] cjwatson: if you have a free moment, could I have your eyes on this: http://paste.ubuntu.com/637991/ ? $PROJECT doesn't seem to be set inside auto/build (from looking at set -x output), but I'll look into that now. [16:42] PROJECT> you're meant to set it when calling it [16:42] it's sadly not carried over from lb config atm [16:42] I had it exported, if that's what you mean [16:42] dunno then [16:42] but maybe SUDO filters it out, like it does for other things? [16:43] will dig [16:43] err sudo [16:43] ah, well try sudo PROJECT=wubi ... [16:43] thinking about environment variables has me speaking in caps, apparently [16:43] indeed [16:43] that's what I was thinking :) [16:43] can this have some correct quoting? [16:43] sure can [16:44] I think that much chroot-fiddling ought to live somewhere in live-build rather than in livecd-rootfs [16:44] unfortunately it's Ubuntu-specific, but perhaps it could be a live-build hook? [16:44] okay, I'll move it into a hook [16:46] I think I would prefer wubi to be something other than a PROJECT value; it feels entirely orthogonal to the other things in PROJECT to me [16:46] it's entirely valid to build a Kubuntu wubi image, for instance [16:46] ah yes, I hadn't considered that [16:46] hm [16:47] I don't think any of the existing variables fit [16:47] so invent a new one I guess [16:47] (that's all, I think) [16:47] fantasti [16:47] c [16:48] oh, wait, you never unmount $CHROOT [16:48] I wonder also whether mv binary/boot/filesystem.ext3 $HOST is ideal [16:49] if somebody has /tmp on tmpfs, that's a big cross-device move [16:49] perhaps fiddle with the mktemp options so that the temporary directories are somewhere in the working directory? [16:53] okay, will do [16:56] oh, I did make this explicitly under /tmp as it makes cleanup difficult otherwise, but I'll find a way to do it within the working directory. [17:05] debian-installer: cjwatson * r1483 ubuntu/ (build/Makefile debian/changelog): [17:05] debian-installer: Add multiarch library directories to mklibs' search path, in case [17:05] debian-installer: library udebs decide to install into them. [17:06] debian-installer: cjwatson * r1484 ubuntu/debian/changelog: releasing version 20101020ubuntu42 [17:26] lool: d-i FTBFS on armel due to the vexpress udeb changes, as predicted. Perhaps you could fix this. I'm finishing up now and on holiday tomorrow [17:28] cjwatson: does that mean i can't bug you about bug 728710 ? [17:28] Launchpad bug 728710 in apt-setup "d-i apt-setup/local0/repository not working" [Undecided,New] https://launchpad.net/bugs/728710 [17:30] not now sorry :( [17:30] I fixed the debootstrap/libc problem you mentioned this morning (but you quit IRC so I couldn't say so at the time) [17:33] no prob - enjoy holiday. thanks for the libc fix. [17:33] the repo thing has been my death by 1000 paper cuts for about the last year. I think I am on cut 400 [17:50] CarlFK: apt-setup: warning: /usr/lib/apt-setup/generators/60local returned error code 1; discarding output would seem to narrow the problem down to one script [17:50] time to start adding debug prints to it? [17:51] maxb: I have no clue how to build it, but happy to grab blobs if you want to stick them somewhere [17:52] maxb: very much the dumb user here ;) [17:52] I was thinking of a somewhat lower tech solution. Start the installer, wait for it to get far enough, then fire up vi and edit the script in situ :-) [17:52] theres a script? (giggle) [17:53] well, sure, the name is in the error message I quoted [17:55] so if I have it wait for partition/mkfs confirmation, is that a good point to edit? [17:55] probably [18:09] CarlFK: fyi I just did a quick kvm test and it works just fine for me [18:09] maxb: can you pastebin your preseed file? [18:09] d-i apt-setup/local3/repository string http://ppa.launchpad.net/maxb/ppa/ubuntu natty main [18:09] d-i apt-setup/local3/key string http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x9CC1A69E3DC9DB5420FAB05AD701E18D0B717EF0 [18:10] I'll try that [18:11] cjwatson: roger that [18:12] maxb: why local3 and not 0? [18:13] Because I already have a 0 1 and 2 in this environmnet [18:14] k - wanted to make sure me using 0 didn't break it or something [18:17] maxb: how are you confirming it worked? [18:18] cat /etc/apt/sources.list [18:18] installer or the resulting install ? [18:19] the resulting install. Or, cat /target/etc/apt/sources.list during the installer [18:20] debian-installer: lool * r1485 ubuntu/ (build/pkg-lists/netboot/armel.cfg debian/changelog): [18:20] debian-installer: Make nic-modules udeb optional on armel; currently not present on [18:20] debian-installer: armel+vexpress (builtin ethernet is built into the kernel); some USB NICs [18:20] debian-installer: should still be possible as modules, but that's optional; LP: #805596. [18:38] maxb: how do you install vi in the installer? [18:38] Hmm, is it not there already? [18:39] I suppose I might have been using the target system's vi when I played with such things [18:40] not there, and there is no target system yet. [18:41] hm [18:41] OK, alternate option - if you run "anna-install openssh-client-udeb" you'll be able to use scp to copy the file out, hack on it, and copy it back [18:42] I was just working on that plan === tsimpson_ is now known as ts2 [18:55] maxb: "debug prints" = echo ? [18:56] Assuming the stderr of the script doesn't seem to be going anywhere useful already, I'd try to redirect it to a file [18:59] e.g. [18:59] exec 2>/tmp/apt-setup-local.out [19:07] maxb: thanks. [19:24] maxb: http://paste.ubuntu.com/638085/ [19:24] crap, I should have set my preseed to pause near the end too, [19:24] Well, now you have your error message, at least [19:24] like "eject cd?" [19:24] so the vm doesn't reboot [19:24] any idea how I can force that while 'installing packages' is running ? [19:24] Though, I am curious why keyserver.ubuntu.com would 403 you [19:25] I am guessing my squid cache [19:27] hmm, I am not going to type all that by hand, and my vm doesn't have ports going into it, so I can't ssh in... i think i need to restart anway [19:27] I'll add that paste to the bug [19:40] Hi, i was wondering what tool ubuntu uses to build the minimal CD, and where i could find the source [19:40] thank you [20:40] I'm not familar with a "minimal" CD, do you mean the mini.iso one? [20:42] https://help.ubuntu.com/community/Installation/MinimalCD [20:43] so yeah i gues [20:45] I believe that image is generated as part of the d-i build process [20:45] * maxb hunts for a wiki page with more info [20:48] http://wiki.debian.org/DebianInstaller/Build may be a useful starting point [20:58] Ah, and chapter 4 especialy of http://d-i.alioth.debian.org/doc/internals/ [20:59] thanks ill read that [21:50] maxb: http://paste.ubuntu.com/638142/ [21:50] where is fetch-url? [21:51] /bin/fetch-url [21:53] grumble... where is protocol_fetch ... [21:55] /usr/lib/fetch-url # cat http ;protocol_fetch() {