/srv/irclogs.ubuntu.com/2007/12/05/#ubuntu-installer.txt

tjaaltonI'm trying to debug why the live-cd does not create a xorg.conf, which should be done in xserver-xorg.preinst12:32
tjaaltonis it because ': > "$XORGCONFIG"' does not work in the environment?12:33
tjaaltonI don't know if it works or not :)12:34
cjwatsonthe preinst thing is limited to run on fresh installs only which isn't the case when casper reconfigures it12:38
cjwatsonI don't know what you guys intend to do in the reconfiguration case12:39
tjaaltonoh right12:39
tjaaltonwell, if the file is missing it assumes that's the way the user wants12:40
=== cjwatson_ is now known as cjwatson
cjwatsonstupid ISP12:55
cjwatson12:50 <cjwatson> casper doesn't delete it12:55
cjwatson12:51 <cjwatson> ah, but livecd-rootfs does12:55
cjwatson12:51 <cjwatson> feel free to suggest a better approach12:55
cjwatsontjaalton: I missed anything you said after "well, if the file is missing it assumes that's the way the user wants"12:56
cjwatsonultimately, we want to force a reconfiguration from scratch on the user's system12:56
tjaaltonheh, I didn't add anything after that12:56
tjaaltonbut I'll think about it12:57
thomcjwatson: can i usefully preseed hw-detect/select_modules to load additional modules? or is there a better way?13:19
cjwatsonthom: no, it's not preseedable, and the only thing you could do by preseeding it anyway would be to reduce the set of modules that's loaded (given it defaults to everything in its multiselect list)13:23
thomhrm13:25
cjwatsonthom: easiest way would probably be to do 'register-module <modulename>' in a preseed/early_command script13:25
cjwatsonthough, hmm, I wonder if that's early enough13:26
cjwatsonno, that just causes it to be loaded in the installed system13:27
thomthe problem is that i'm trying to use partman-auto-raid, and dm-mod isn't getting loaded, so devicemapper goes *boom*; i just wanna load dm-mod and friends13:28
cjwatsonmeh, surely that's a p-a-r bug13:28
thomsurely it is13:29
thombut i need a quick workaround :)13:29
thomi'll verify that's the fix and file a bug after13:29
cjwatsond-i preseed/early_command string modprobe dm-mod13:29
cjwatson?13:29
thomtried that; it's too early13:30
cjwatsonmm13:30
thomearly_command happens before md-modules gets downloaded13:30
cjwatsond-i preseed/early_command string (echo '#! /bin/sh'; echo 'modprobe dm-mod') > /lib/partman/init.d/00dm_mod_hack; chmod +x /lib/partman/init.d/00dm_mod_hack13:33
cjwatson?13:33
thomi'll give it a go13:33
cjwatsonI don't *think* it needs further quoting13:33
thomwhat it does need sadly is an mkdir -p first; rebooting :)13:40
cjwatsonsurprising, since partman should be unpacked by that point13:42
cjwatsonoh, no, it shouldn't13:42
cjwatsonsorry, got the order wrong again :)13:43
thomno problem mate13:43
thomi owe you much beer for all the help at some point anyway13:43
thomalso, i'd forgotten how awful wsvn is13:46
evandcjwatson: Does this look acceptable to you? http://pastebin.ubuntu.com/2487/16:34
cjwatsonevand: looks pretty good, though I think you still need to read all the output from the PARTITIONS command even if you aren't using it16:36
evandoh, fair enough.  I'll fix and then commit.16:37
evandthanks16:37
cjwatsonthe idiom I generally follow is to assign the stuff you need to another variable and then just continue round the loop, e.g. root_size="$size"16:37
evandok16:37
cjwatsonhave you considered summing the sizes of /, /usr, /var or something like that as an alternative heuristic?16:38
cjwatsonnot that I want to bikeshed, just wondering ...16:38
cjwatsonperhaps a refinement would be to make it a warning and let people continue if they have filesystems other than /16:38
evandI hadn't, but that could be tricky as they could have a ridiculously small / and a large /var16:39
evandok, that sounds reasonable16:39
cjwatsonyeah, it's not going to be perfect16:39
cjwatsondon't let me bikeshed you into not doing this though - I'd far rather have your proposal than nothing at all16:39
evandI'll give it some more thought16:40
evandbut yes, this can be an iterative process.16:40
evandcjwatson: also, once this is implemented, what are your thoughts of getting rid of ubiquity/text/partition_help?  This should account for the space warning, and the partitioner already warns you if you don't specify a swap partition (though admittedly it doesn't specify a size).  I remember us discussing removing this at FOSSCamp, but I don't recall what the conclusion was.17:06
evandI recall "yes", but I want to be sure before I go ripping anything out.17:06
cjwatsonevand: it should either be removed or replaced by something that pops up much more detailed help (e.g. partman-target/help if appropriate)17:13
cjwatsonevand: so +117:13
evandok17:14
mgunesHi, I'm triaging a bug and need to know whether the desktop CD boot menu strings are translated as part of the debian-installer package18:39
CIA-4ubiquity: evand * r2375 ubiquity/ (3 files in 2 dirs):18:44
CIA-4ubiquity: * Added partman/check.d/03root_too_small to warn the user when their root18:44
CIA-4ubiquity:  partition isn't large enough to contain /rofs plus a bit (LP: #48355).18:44
evandmgunes: gfxboot-theme-ubuntu18:51
mgunesevand, is the "Help" text displayed when hitting F1 in there? I've finally been able to get the PO tarball for debian-installer, and it seems to be in it18:54
mgunesOK, just figured out: basic menu strings are in gfxboot-theme-ubuntu, and "Help" is in debian-installer, thanks18:59
evandno problem19:02
evandcjwatson: hrm, perhaps I should add a boot_too_small check, given bug #69165 .  Would du -s /boot * (estimate number of kernel releases) be reasonable, or do you think I should just hardcode a full size in there?19:09
evandThis seems slightly more difficult to get right.19:10
evandargh, ubotu19:10
evandhttps://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/6916519:10
evandcjwatson_: let me know if your network connection caused you to miss my comments a moment ago.19:11
evandalso, any objection to me dragging ubotu in here?19:12
evandhttps://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/136665 still sounds like a GTK bug to me.  Plenty of things have can_focus set and tabbing works fine on them.  I'm tempted to implement seb's solution anyway though, as it works.19:27
evandcjwatson_: as you originally handled the bug, are you ok with that?19:28
cjwatson_evand: I suspect I missed your comments20:39
=== cjwatson_ is now known as cjwatson
cjwatsonevand: feel free to drag in ubotu20:39
cjwatsonevand: sounds like can_focus means something slightly different on a combobox; hard to say. I think implementing Seb's solution is fine provided that it's still possible to tab *to* the combo box.20:40
evandit is, and will do on both20:41
evand14:10:42 < evand> cjwatson: hrm, perhaps I should add a boot_too_small check, given bug #69165 .  Would du -s /boot * (estimate number of kernel releases) be reasonable, or do you think I should just hardcode a full size in there?20:41
evand14:10:51 < evand> This seems slightly more difficult to get right.20:41
evand14:11:04 < evand> argh, ubotu20:41
evand14:11:09 *** Netsplit over, joins: mpt20:41
evand14:11:13 < evand> https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/6916520:41
cjwatsonhmmm. not obvious.20:42
evandindeed20:42
cjwatsonso20:43
cjwatsonfor any partition that has been assigned, it should be at least as big as the corresponding subdirectory of /rof20:43
cjwatson/rofs20:43
cjwatson(minus anything that's covered by other partitions)20:43
cjwatsonin the case of /boot, we know it needs to have room to grow a bit, so yeah, maybe multiply by three or something20:44
evandok20:45
evandI suppose I should generalize all of this into a single question, so s/root/partition/g.20:46
evandthat is, rename the existing check.d test.20:47
cjwatsonyeah, that's what I think I was driving at20:47
evandok, will do20:48
cjwatsonwouldn't be possible for d-i, but should be possible for ubiquity20:48
evandthanks20:48
cjwatsonor at least, would be prohibitively slow for d-i20:48
evandheh, d-i, slow?  Never.20:48
cjwatsonthere's reasonably slow and unreasonably slow :)20:49
evandhaha, fair enough20:49
CIA-4ubiquity: evand * r2376 ubiquity/ (3 files in 2 dirs): * Modified scripts/install.py to handle ENOSPC.22:31

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