/srv/irclogs.ubuntu.com/2006/12/13/#ubuntu-installer.txt

=== grexk [n=grexk@124.107.72.45] has joined #ubuntu-installer
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-installer
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has joined #ubuntu-installer
jerom1Hi,09:36
jerom1i use kickstart but i cannot use bash interpreter, can you confirm %post --interpreter doesn't work09:37
cjwatsonyou cannot use bash in kickstart; that is correct10:04
cjwatsonit's always possible to avoid bashisms10:04
cjwatsonit's usually a fairly trivial change10:05
jerom1is it correct if i comment test "if [ "$2" != /bin/sh ] ; then" in lib/kickseed/handlers/post.sh in initrd ?10:07
jerom1i must use bash, my datacenter sysadmin must use bash (in standard post install ...)10:08
cjwatsonyou cannot use bash. it is not there.10:13
cjwatsonyou only have busybox sh in the installer environment.10:13
cjwatsonshow me your %post script and I'll be entirely happy to convert it to ordinary sh for you; this is a trivial operation10:13
cjwatsonin fact there's often nothing to convert10:14
jerom1oki I will convince my sysadmin10:14
cjwatsonyour sysadmin should recognise that there is a very large subset of bash which can be used in plain POSIX /bin/sh10:15
cjwatson(this isn't Solaris /bin/sh, which is considerably less capable)10:15
jerom1oki i demand to my sysadmin to show his bash script10:16
cjwatsonhmm, well10:17
cjwatsonactually10:17
cjwatsonstrictly speaking if you aren't using --nochroot then you ought to be allowed to use --interpreter /bin/bash10:17
cjwatson(sorry, I've only just woken up ...)10:17
cjwatsonI had forgotten that --nochroot wasn't the default10:17
cjwatsonI'll make that change in kickseed for feisty. As I say, though, it shouldn't block you, because all bash scripts can be rewritten to work in sh with at most minor modifications.10:18
jerom1oki good :-)10:18
cjwatsonit's a bit more than just removing that check in post.sh, because /bin/sh is hardcoded elsewhere10:19
cjwatsonnot a huge change, but hard to describe over IRC10:20
jerom1oki10:20
jerom1thanks10:20
cjwatsonok, kickseed thus improved in feisty11:09
cjwatsonthanks for the report; sorry I incorrectly dismissed it at first11:09
jerom1no problem, great thanks11:09
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
Riddellcjwatson: seems like qt4 ubiquity does the guided partitioning immediately after you click Next without warning, is that something I missed out or something that hasn't been put back in yet?01:48
cjwatsonit should calculate the new partitions but not actually commit them until after the summary page. AFAIK that's working in gtk+qt301:51
Riddellyes, it was, I wonder what i missed out01:54
cjwatsonthe summary page implementation maybe?01:59
cjwatsonthat code path can be hairy ...02:00
Riddellis there an extra mainloop nesting there?  the way I've coded it the flag will only know about 1 nesting02:07
cjwatsonRiddell: there used to be, but isn't any more02:29
Riddellcjwatson: what changed?02:30
cjwatsonit was made a whole lot less crackful02:31
cjwatsonI rewrote the partitioning commit step02:31
Riddellso it should just work without coding anything special, instead of wiping my hard disk at the wrong time02:34
cjwatsondo you see the summary page at all?02:34
Riddellchoose Guided paritioning, click Next -> progress box saying hard disk being wiped02:34
cjwatsonI'm not convinced by the on_steps_switch_page change you made02:35
cjwatsonis there nothing like the aboutToShow signal any more?02:36
cjwatsonIMO it should be done with signals to make sure that we handle page changes properly event if they aren't done via set_current_page02:36
cjwatson-        if step == "stepWelcome":02:38
cjwatson+        if step == str("stepWelcome"):02:38
cjwatson>>> "stepWelcome".__class__02:38
cjwatson<type 'str'>02:38
cjwatsonwhy that change?02:38
cjwatsonother than that, unclear - trying it myself now02:41
Riddellit wasn't matching, at least on one of the places in that if bunch, I didn't look into why02:41
cjwatsonbrb, parents02:42
=== Riddell off out, going to give this holiday thing a try
cjwatsonhave fun :) I'll see what I can fix up03:18
cjwatsonRiddell: can't reproduce here04:16
cjwatsonI had to fix a partman problem to stop parted_server segfaulting and see the content of the autopartitioning page at all, but that's not your problem ...04:17
allmanjhey - i'm looking for packages on the dapper cd that aren't installed by ubuntu-standard or ubuntu-desktop so i can remove them as i'm after creeping a little over burnable size...05:36
allmanjthat, or i'd like to modify what counts as "ubuntu-desktop"05:37
=== jerom1 [n=jeromeb@LSt-Amand-152-32-6-178.w82-127.abo.wanadoo.fr] has left #ubuntu-installer []
cjwatsonallmanj: look at the Task lines in the Packages file and/or study https://wiki.ubuntu.com/SeedManagement05:48
allmanjdapper appears to have an ubuntu-desktop package... is this not used?05:49
=== allmanj looks at the ship seed
cjwatsonsure, it's used05:53
cjwatsonbut as a component of the task ...05:54
cjwatsonlanguage packs are a normal-ish thing to strip out05:54
allmanji'm thinking the samba server is a candidate05:54
cjwatsonsounds reasonable05:54
allmanjaye - it's big and i'm pretty sure i'll never need it05:55
=== macogw [n=ubuntu@161.253.10.235] has joined #ubuntu-installer
macogwwhat does ubiquity show up as in the system monitor's processes list?  it froze installing feisty -.-10:12
macogwthe X button in the top right doesnt do anything. minimize and maximize work just dandy10:16
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-installer

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