/srv/irclogs.ubuntu.com/2007/09/22/#ubuntu-installer.txt

=== xivulon [n=ubuntu@87-194-85-156.bethere.co.uk] has joined #ubuntu-installer
xivuloncjwatson ping12:28
xivuloncjwatson the patched version of autopartition-loop goes a bit further but it stops when doing mount -o move /isodevice /target12:35
xivulonerror is: mount: /isodevice is not a block device12:35
xivulonevand mentioned it might be a problem with the version of mount used12:38
evandwell, that it might be the same bug that cjwatson is seeing12:41
xivulonany good reason not to use mount --bind?12:44
xivulonI ma using it right now and it is moving forward... Let's see if I hose anything12:45
xivulonzeroing the image file (not the spediest thing I have seen)12:46
=== xivulon [n=ubuntu@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
evandthe current version of wubi does not seed ubiquity/summary, but xivulon is adding this to build 296 shortly01:09
cjwatsonevand: still around?01:42
cjwatsonI'm sorting out xivulon's issues01:42
cjwatsonevand: I found a couple of m-a bugs01:43
cjwatsonevand: aside from ubiquity/summary not being preseeded, the Install button shows up disabled01:43
cjwatsonevand: any idea why?01:43
cjwatsonfor the beta, I'm going to change the zeroing to just create a sparse file01:44
cjwatsonit'll probably fragment like a bastard and it won't preallocate space properly, but it's SO SLOW at the moment it's unbearable01:44
evandcjwatson: yes, brb though01:44
cjwatsonalso found another partman-auto-loop bug and an os-prober bug01:47
cjwatsonbut I'm getting there01:48
=== cjwatson preseeds stuff by editing /var/cache/debconf/config.dat
evandcjwatson: sorry about that, I would be very interested in the m-a bugs.  I'm not sure about the install button, but I recall seeing it before.  I just haven't noticed it in a long while as I've been preseeding that question.  I seem to recall going back a page and going forward fixes it, but that wont work here01:54
evandas we disable the back button01:54
evandI'll look into it tonight though01:54
cjwatsonI'm in an awkward state for sending patches at the moment01:54
evandheh, I can imagine01:54
cjwatsonbut basically the windowsxp special case in mount_os gets it a bit wrong01:54
cjwatsonneed to kill the /etc/mtab stuff because that isn't accurate (or at least move it below /proc/mounts)01:54
evandit's detecting vista as xp, isn't it?01:54
evandok01:55
cjwatsonand stick a head -n1 in those pipelines01:55
cjwatsonand remove the backslashes at the ends of those lines 'cos I'm not quite sure why they're there :)01:55
evandline continuations?01:55
cjwatsonbut the next lines are separate commands01:55
cjwatsonso it doesn't make sense to continue the lines there01:55
evandoh, yeah, curious01:56
cjwatsonit's the sequence that goes grep /etc/mtab, if that failed grep /proc/mounts, etc. to find the mountpoint01:56
cjwatsonafter that though we still have a problem01:56
cjwatsonwubi preseeds migration-assistant/partitions to "Windows XP Professional (/dev/sda3)"01:56
cjwatsonbut it actually needs to be "Windows Vista/Longhorn (loader) (/dev/sda3)"01:56
evandthat shouldn't matter01:56
evandIt doesn't actually do anything with the first part01:57
cjwatsonwell, the m-a page pops up ...01:57
evandthat might just be a bug in the ubiquity m-a code01:57
cjwatson/dev/sda3 is in choices01:57
evandwhat question is it asking?01:57
cjwatsonI'm not sure, I'll have to rerun with --debug01:57
cjwatsonI'm getting used to the pkill parted_server; rm -rf /var/lib/partman /var/run/parted_server.pid; losetup -d /dev/loop2; losetup -d /dev/loop3; losetup -d /dev/loop4; rm /host/ubuntu/disks/*.disk; umount /host dance01:58
evandhahaha01:58
cjwatsonyou're not really meant to do this ...01:58
evandit's a good thing you know what you're doing, or I'd consider that brand new windows partition a goner01:59
evands/or/otherwise01:59
cjwatsonI *think* I know what I'm doing02:00
cjwatsonthere's a subtle difference02:00
cjwatsonoh fuck, no no no02:00
cjwatsonframebuffer died02:00
cjwatsonremind me how I suspend from a shell, assuming the shell is listening?02:01
evandhaha, you're asking the wrong person02:01
evandbtw, if you'd like to skip m-a for now, you can always preseed partitions to nothing, though I imagine you know and have done this02:01
evandI'm going to grab some programming dinner in the form of taco bell, and I shall return to release a new version of m-a with the fixes you suggest.  Feel free to keep me up to date.02:02
cjwatsondamnit, had to give up and power off02:03
cjwatsonthere go all the in-place customisations02:03
cjwatsonevand: I'll make a branch of m-a with the fixes I tested in-place02:03
evand...months, if not years, of vmware has taught me to scp at every possible free moment02:04
evandthough you probably don't have a network device02:04
evandcjwatson: thanks02:04
cjwatsonoh, I mounted my normal root filesystem for a bit and stuck the changes in there02:04
cjwatsonand I remember the rest02:04
cjwatsonit's just that I have to apply them all to the live filesystem again by hand02:04
evandso then it's just the painstaking process of reapplying them02:04
evandindeed02:04
cjwatsond-i hacking is pretty much the same story02:05
evandgah, I can imagine02:06
cjwatsonevand: bzr+ssh://bazaar.launchpad.net/~kamion/migration-assistant/wubi-fixes - please review02:15
evandreviewing now03:09
evandlooks good, thank you03:16
CIA-18migration-assistant: evand * r61 migration-assistant/ (debian/changelog ma-script-utils):03:16
CIA-18migration-assistant: * In the Windows case in mount_os:03:16
CIA-18migration-assistant:  - Look in /proc/mounts, not /proc/partitions.03:16
CIA-18migration-assistant:  - Look in /proc/mounts before /etc/mtab.03:16
CIA-18migration-assistant:  - Make sure to select only the first mountpoint for a given device (in03:16
CIA-18migration-assistant:  case of bind mounts).03:16
cjwatsonevand: hmm, /var/log/installer/debug says it set migration-assistant/sda3/users but doesn't seem to have any INPUT03:18
evandand the interface is showing up?03:18
cjwatsonyeah03:18
cjwatsonoh, hang on03:18
cjwatsonit did INPUT high ubiquity/run-ma-again03:19
cjwatsonand that was seen false03:19
evandcurious03:19
evandoh, hrm03:19
cjwatsonthat seems to always be asked assuming ma-ask succeeded03:20
cjwatsonso I think it needs to not trigger a page load03:20
evandok03:21
evandthe question then becomes where do I trigger the page load then.03:21
=== evand pokes around the code
cjwatsonsurely that isn't what triggers it normally03:22
cjwatsonnormally it would just be migration-assistant/partitions03:22
evandit needs to continue after migration-assistant/partitions03:22
evandoh03:23
evandI'm going to read my own code now instead of assuming I know what I'm talking about03:23
cjwatsonoh, hm, that really is where you trigger it03:23
evandheh03:23
cjwatsonnothing else does FilteredCommand.run03:23
evandwell, unless there isn't anything to import from, but yeah03:24
cjwatsonwould if 'UBIQUITY_AUTOMATIC' in os.environ: return FilteredCommand.run(blah); else: return self.succeeded03:25
cjwatsonwork?03:25
evandyeah, but that line is ending up everywhere in the source code03:25
cjwatsoner except the other way round03:25
cjwatsonI know :-/03:25
evandit's becoming quite the special case03:25
evandhrmm, I suppose that can work until a better solution is discovered03:26
cjwatsonI'm not fond of it, if we can think of something better that'd be great03:26
cjwatsonhmm03:29
evandyeah, continue with that in there for now and I'll see if I can find a way to get around it.  No sense in that tying you up any more than it has.03:29
cjwatsonok, I'm thinking maybe instead you should display the interface at some point after self.firstrun becomes False03:31
cjwatsonhalf-formed thought though03:31
evandanother half formed thought: you can only display the interface cleanly through FilteredCommand.run and that's a blocking operation (calls enter_ui_loop)03:32
evandI really need to delete comments as they become irrelevent.03:33
=== cjwatson wonders if we should have a ubiquity sprint at some point
evandI'm all for it03:33
evandbut I imagine that's a decision for Mark to rubber stamp03:33
cjwatsondive in and redesign bastard bits like that03:33
cjwatsonI believe Matt has authority to approve sprints03:34
cjwatsonI'll run it by him at some point03:34
evandFilteredCommand.run?  Heh, technically it just was, though I'll accept possibly poorly.03:34
cjwatsonit wasn't well-designed to start with, which can't have helped03:34
evandthe sprint idea might help with the massive ubiquity bug fix that I believe you have planned for 8.04, no sense putting band-aids on open wounds.03:36
evander that metaphor was terrible, but I'm sure you get the idea :)03:36
evandhrmm03:38
cjwatsonok, my box crashed again, but it was doing better that time03:45
cjwatsonI'm going to try to get everything I have in before the LP downtime and then go to bed03:46
evandok, goodnight03:46
evandI may have a solution for the m-a problem03:46
cjwatsonare you ready to have m-a uploaded?03:46
evandyeah, might as well03:46
cjwatsonoh?03:46
cjwatsonI was going to commit that workaround, but if you have something better, that's good03:47
evandno, by all means, commit that, this can always be added after the fact03:47
evandafter all, it may fail miserably03:47
evandis there some trick to bzr+ssh I'm missing03:51
evandAssertionError: end of file reading from server.03:51
cjwatson#ubuntu-devel03:51
cjwatsonit's down03:51
cjwatson(argh!)03:51
evandargh indeed!03:52
cjwatsonok, 15 minutes until it comes back up, let's make sure we have all our ducks in a row04:00
evandI ran pbuilder while we were waiting just to play it safe.  But as far as m-a goes it's just that two-liner.  I can't imagine that breaking anything.04:01
cjwatsonpartman-auto-loop: sparse files, remove 'mountpoint' file so that ubiquity doesn't get confused and claim /dev/sda is busy04:01
cjwatsonmigration-assistant: upload the stuff already in bzr04:01
cjwatsonubiquity: m-a workaround by checking UBIQUITY_AUTOMATIC04:02
cjwatsonam I missing anything?04:02
evandnot sure as my ubiquity branch is potentially out of date04:02
evanddo you want to upload m-a straight, or should I put it on rookery04:02
cjwatsonput it on rookery please04:03
evandyou fixed the ubiquity-dm file to call with --automatic, right?04:03
cjwatsonyes04:04
cjwatson  * Use the --automatic option when running ubiquity from the init script04:04
cjwatson    (thanks, Evan Dandrea).04:04
cjwatson  * Work around migration-assistant always being shown in automatic04:04
cjwatsonthat's the stuff in the changelog right now04:04
cjwatson    installs.04:04
evandhttp://people.ubuntu.com/~evand/upload/migration-assistant_0.5.1.dsc04:05
evandmy god...I take over ubuntu-devel-discuss and I find messages from 2006 in the queue.04:17
cjwatsoncommon with unmoderated lists, I think04:17
cjwatsonthe queue tends to be nearly all spam04:17
cjwatsonso checking it isn't rewarding04:17
evandthese are just people who were not subscribed04:18
evandI think04:18
evandthe messages are not spam, at any rate04:18
CIA-18ubiquity: cjwatson * r2252 ubiquity/ (debian/changelog ubiquity/components/migrationassistant.py):04:18
CIA-18ubiquity: * Work around migration-assistant always being shown in automatic04:18
CIA-18ubiquity:  installs.04:18
cjwatsonevand: m-a uploaded04:23
evandcjwatson: thanks!04:24
CIA-18ubiquity: cjwatson * r2253 ubiquity/ (d-i/manifest debian/changelog):04:26
CIA-18ubiquity: * Automatic update of included source packages: migration-assistant 0.5.1,04:26
CIA-18ubiquity:  partman-auto-loop 0ubuntu9.04:26
evandcjwatson: you let it through the freeze block, right?04:28
evandjust making sure04:28
cjwatsonI will04:28
CIA-18ubiquity: cjwatson * r2254 ubiquity/debian/changelog: releasing version 1.5.1704:29
evandok04:29
CIA-18migration-assistant: evand * r62 migration-assistant/debian/changelog: releasing version 0.5.106:28
=== Starting logfile irclogs/ubuntu-installer.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-installer
=== Topic for #ubuntu-installer: Development of d-i and ubiquity in Ubuntu | http://wiki.ubuntu.com/InstallerDevelopment
=== Topic (#ubuntu-installer): set by cjwatson at Fri Jan 5 15:12:40 2007
=== ubuntulog [i=ubuntulo@trider-g7.fabbione.net] has joined #ubuntu-installer
=== Topic for #ubuntu-installer: Development of d-i and ubiquity in Ubuntu | http://wiki.ubuntu.com/InstallerDevelopment
=== Topic (#ubuntu-installer): set by cjwatson at Fri Jan 5 15:12:40 2007
=== avoine [n=avoine@modemcable003.251-59-74.mc.videotron.ca] has joined #ubuntu-installer
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-installer

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