[04:58] Hi, does ubiquity support partman/late_command ? [05:40] Or preseed/late_command ? [05:43] I don't know why I can use partman/early_command but not partman/late_command neither preseed/late_command. :( [05:46] FourDollars: I'm looking at this myself and came across this: https://wiki.ubuntu.com/UbiquityAutomation [05:46] specifically: ubiquity/success_command [05:46] veebers: Thank you. :D [05:46] FourDollars: np :) [05:49] does anyone know if I should still use 'in-target' if I use ubiquity/success_command (like I do when I use d-i preseed/late_command string) [05:49] The docs mention: (runs outside of /target, but /target is mounted when the command is invoked). [05:49] I should take that to mean that I don't? [05:51] veebers: I think in-target command doesn't not exist at the live environment. [05:51] veebers: It only exists in pure debian-installer environment. [05:52] s/not// [05:52] FourDollars: ah ok, cheers [05:52] ubiquity: /bin/in-target [05:52] Sorry, it does exist. XD [07:44] found a bug: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1050788 in quantal iso build 20120914, anybody has a look on it? [07:44] Launchpad bug 1050788 in debian-installer "failed to install quantal server iso build 20120914: chroot: can't execute '/sbin/ldconfig': No such file or directory" [Undecided,New] [08:44] FourDollars: partman/late_command has never existed, FYI [08:45] babyface_: I'll look, thanks [08:45] cjwatson: I see. Thanks. :) [08:45] cjwatson: cjwatson: did you see the last comment on bug 1049535 , that just including fetch-url was not enough.... it sources preseed/preseed.sh which is not installed into neither regular udebs nor in the ubiquity. Not sure how it's suppose to work. [08:45] Launchpad bug 1049535 in ubiquity "Install fails when using a preseed file that adds a PPA using: d-i apt-setup/local0/..." [Medium,Confirmed] https://launchpad.net/bugs/1049535 [08:45] xnox: yes, I saw it [08:45] * xnox xnox is is stuttering [08:45] ok. [08:45] that script should stop sourcing preseed.sh, so that part of the fix is trivial [08:46] but I wanted to actually test it this time, which is why it's taking a bit longer :) [08:46] (it certainly *is* in regular udebs, though - preseed-common) [08:48] ah, I see...but debian-installer-utils binary packages do not depend on preseed-common & there is some preseed.sh file in debian-installer-utils hence my confusion about it not being installed. [08:51] right, in d-i it doesn't matter because preseed-common is always installed [08:52] it's a leftover from fetch-url having originally been part of one of the preseed packages [08:52] anyway, either I'll get it tested and upload today, or I'll upload anyway and risk the bug being reopened again [09:03] cjwatson: I realise now that the reason I came across the bug 1049535 is because I was originally using the preseed file with the alternate iso and now I'm using the desktop iso [09:03] Launchpad bug 1049535 in ubiquity "Install fails when using a preseed file that adds a PPA using: d-i apt-setup/local0/..." [Medium,Confirmed] https://launchpad.net/bugs/1049535 [09:04] sure === lool- is now known as lool [09:17] hmm, why is the server installer going anywhere near bootstrap-base [09:18] oh, bah, seed expansion horror [09:18] I'll have to restore my awful hack in cdimage for now === FourDoll1rs is now known as FourDollars [09:52] if I have multiple commands in a ubiquity/success_command if one fails does it execute the rest? [09:52] i.e. ubiquity/success_command string true; false; echo hello > file.log [09:53] will the echo command be executed here? [09:54] Yes. If you don't want that to happen then either use && instead of ; or put set -e at the start. === Mez_ is now known as Mez [09:54] cool, thanks cjwatson [09:55] I'm having issue with my success_command, it used to work fine as a late_command, I'm just trying to narrow down what's wrong [09:55] try 'set -x;' at the start to get a trace. [09:56] cjwatson: I think that's what I'm looking for. I expected details in /var/log/installer/syslog (on the installed machine) [09:57] but there wasn't what I expected. [09:57] should be either there or /var/log/installer/debug; but only if anything actually comes out on stderr. [09:57] ah ok, will check that too, thanks again cjwatson [09:59] cjwatson: sorry if this is a silly question. when I use set -x will that output go into a log that I can see post install, or do I need to be tailling a file during? [10:00] it should land in syslog [10:00] awesome [10:00] well, one of /var/log/installer/{syslog,debug}, can't remember which. [10:00] (post-install locations) [10:00] as long as it's there afterwards :) [18:39] partman and I were not good friends today [18:46] can anyone be good friend with partman anyway? :) [18:51] stgraber: well i create encrypted partitions, it tells me they are there, but then it does not activate them claiming they are not.... what it told me they are.... f###ing liar [18:53] i am doing d-i install and diffing the logs so see where did I miss a step to the left and a jump to the right