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