cjwatsonmaxb: you can drop hooks into /usr/lib/oem-config/post-install08:52
cjwatsonhooks must be executable and their file names must not contain '.'08:53
cjwatsonand they should exit zero on success08:53
maxbaha, 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-obvious08:54
lifelesscjwatson: hi hi08:54
maxbIs there a right way to find the firstboot user's homedir, or should I just rely on it being uid 1000 ?08:54
CIA-37debian-installer: cjwatson * r1481 ubuntu/ (5 files in 2 dirs): Move to 3.0-3 kernels.14:06
=== cr3_ is now known as cr3
maxbHi. 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:33
cjwatsonmaxb: done, named that way16:34
CIA-37debian-installer: cjwatson * r1482 ubuntu/debian/changelog: releasing version 20101020ubuntu4116:35
evcjwatson: 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:41
cjwatsonPROJECT> you're meant to set it when calling it16:42
cjwatsonit's sadly not carried over from lb config atm16:42
evI had it exported, if that's what you mean16:42
cjwatsondunno then16:42
evbut maybe SUDO filters it out, like it does for other things?16:42
evwill dig16:43
everr sudo16:43
cjwatsonah, well try sudo PROJECT=wubi ...16:43
evthinking about environment variables has me speaking in caps, apparently16:43
evthat's what I was thinking :)16:43
cjwatsoncan this have some correct quoting?16:43
evsure can16:43
cjwatsonI think that much chroot-fiddling ought to live somewhere in live-build rather than in livecd-rootfs16:44
cjwatsonunfortunately it's Ubuntu-specific, but perhaps it could be a live-build hook?16:44
evokay, I'll move it into a hook16:44
cjwatsonI think I would prefer wubi to be something other than a PROJECT value; it feels entirely orthogonal to the other things in PROJECT to me16:46
cjwatsonit's entirely valid to build a Kubuntu wubi image, for instance16:46
evah yes, I hadn't considered that16:46
cjwatsonI don't think any of the existing variables fit16:47
cjwatsonso invent a new one I guess16:47
cjwatson(that's all, I think)16:47
cjwatsonoh, wait, you never unmount $CHROOT16:48
cjwatsonI wonder also whether mv binary/boot/filesystem.ext3 $HOST is ideal16:48
cjwatsonif somebody has /tmp on tmpfs, that's a big cross-device move16:49
cjwatsonperhaps fiddle with the mktemp options so that the temporary directories are somewhere in the working directory?16:49
evokay, will do16:53
evoh, 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.16:56
CIA-37debian-installer: cjwatson * r1483 ubuntu/ (build/Makefile debian/changelog):17:05
CIA-37debian-installer: Add multiarch library directories to mklibs' search path, in case17:05
CIA-37debian-installer: library udebs decide to install into them.17:05
CIA-37debian-installer: cjwatson * r1484 ubuntu/debian/changelog: releasing version 20101020ubuntu4217:06
cjwatsonlool: 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 tomorrow17:26
CarlFKcjwatson: does that mean i can't bug you about bug 728710 ?17:28
ubot2Launchpad bug 728710 in apt-setup "d-i apt-setup/local0/repository not working" [Undecided,New] https://launchpad.net/bugs/72871017:28
cjwatsonnot now sorry :(17:30
cjwatsonI fixed the debootstrap/libc problem you mentioned this morning (but you quit IRC so I couldn't say so at the time)17:30
CarlFKno prob - enjoy holiday.  thanks for the libc fix.17:33
CarlFKthe repo thing has been my death by 1000 paper cuts for about the last year.  I think I am on cut 40017:33
maxbCarlFK: apt-setup: warning: /usr/lib/apt-setup/generators/60local returned error code 1; discarding output  would seem to narrow the problem down to one script17:50
maxbtime to start adding debug prints to it?17:50
CarlFKmaxb: I have no clue how to build it,  but happy to grab blobs if you want to stick them somewhere17:51
CarlFKmaxb: very much the dumb user here ;)17:52
maxbI 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
CarlFKtheres a script? (giggle)17:52
maxbwell, sure, the name is in the error message I quoted17:53
CarlFKso if I have it wait for partition/mkfs confirmation, is that a good point to edit?17:55
maxbCarlFK: fyi I just did a quick kvm test and it works just fine for me18:09
CarlFKmaxb: can you pastebin your preseed file?18:09
maxbd-i apt-setup/local3/repository string http://ppa.launchpad.net/maxb/ppa/ubuntu natty main18:09
maxbd-i apt-setup/local3/key string http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x9CC1A69E3DC9DB5420FAB05AD701E18D0B717EF018:09
CarlFKI'll try that18:10
loolcjwatson: roger that18:11
CarlFKmaxb: why local3 and not 0?18:12
maxbBecause I already have a 0 1 and 2 in this environmnet18:13
CarlFKk - wanted to make sure me using 0 didn't break it or something18:14
CarlFKmaxb: how are you confirming it worked?18:17
maxbcat /etc/apt/sources.list18:18
CarlFKinstaller or the resulting install ?18:18
maxbthe resulting install. Or, cat /target/etc/apt/sources.list during the installer18:19
CIA-37debian-installer: lool * r1485 ubuntu/ (build/pkg-lists/netboot/armel.cfg debian/changelog):18:20
CIA-37debian-installer: Make nic-modules udeb optional on armel; currently not present on18:20
CIA-37debian-installer: armel+vexpress (builtin ethernet is built into the kernel); some USB NICs18:20
CIA-37debian-installer: should still be possible as modules, but that's optional; LP: #805596.18:20
CarlFKmaxb: how do you install vi in the installer?18:38
maxbHmm, is it not there already?18:38
maxbI suppose I might have been using the target system's vi when I played with such things18:39
CarlFKnot there, and there is no target system yet.18:40
maxbOK, 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 back18:41
CarlFKI was just working on that plan18:42
=== tsimpson_ is now known as ts2
CarlFKmaxb: "debug prints" = echo ?18:55
maxbAssuming the stderr of the script doesn't seem to be going anywhere useful already, I'd try to redirect it to a file18:56
maxbexec 2>/tmp/apt-setup-local.out18:59
CarlFKmaxb: thanks.19:07
CarlFKmaxb: http://paste.ubuntu.com/638085/19:24
CarlFKcrap, I should have set my preseed to pause near the end too,19:24
maxbWell, now you have your error message, at least19:24
CarlFKlike "eject cd?"19:24
CarlFKso the vm doesn't reboot19:24
CarlFKany idea how I can force that while 'installing packages' is running ?19:24
maxbThough, I am curious why keyserver.ubuntu.com would 403 you19:24
CarlFKI am guessing my squid cache19:25
CarlFKhmm, 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 anway19:27
CarlFKI'll add that paste to the bug19:27
fabrice_Hi, i was wondering what tool ubuntu uses to build the minimal CD, and where i could find the source19:40
fabrice_thank you19:40
maxbI'm not familar with a "minimal" CD, do you mean the mini.iso one?20:40
fabrice_so yeah i gues20:43
maxbI believe that image is generated as part of the d-i build process20:45
* maxb hunts for a wiki page with more info20:45
maxbhttp://wiki.debian.org/DebianInstaller/Build may be a useful starting point20:48
maxbAh, and chapter 4 especialy of http://d-i.alioth.debian.org/doc/internals/20:58
fabrice_thanks ill read that20:59
CarlFKmaxb: http://paste.ubuntu.com/638142/21:50
CarlFKwhere is fetch-url?21:50
CarlFK /bin/fetch-url21:51
CarlFKgrumble... where is protocol_fetch ...21:53
CarlFK  /usr/lib/fetch-url # cat http ;protocol_fetch() {21:55

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