/srv/irclogs.ubuntu.com/2012/09/14/#ubuntu-installer.txt

FourDollarsHi, does ubiquity support partman/late_command ?04:58
FourDollarsOr preseed/late_command ?05:40
FourDollarsI don't know why I can use partman/early_command but not partman/late_command neither preseed/late_command. :(05:43
veebersFourDollars: I'm looking at this myself and came across this: https://wiki.ubuntu.com/UbiquityAutomation05:46
veebersspecifically: ubiquity/success_command05:46
FourDollarsveebers: Thank you. :D05:46
veebersFourDollars: np :)05:46
veebersdoes 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
veebersThe docs mention: (runs outside of /target, but /target is mounted when the command is invoked).05:49
veebersI should take that to mean that I don't?05:49
FourDollarsveebers: I think in-target command doesn't not exist at the live environment.05:51
FourDollarsveebers: It only exists in pure debian-installer environment.05:51
FourDollarss/not//05:52
veebersFourDollars: ah ok, cheers05:52
FourDollarsubiquity: /bin/in-target05:52
FourDollarsSorry, it does exist. XD05:52
babyface_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
ubot2Launchpad 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]07:44
cjwatsonFourDollars: partman/late_command has never existed, FYI08:44
cjwatsonbabyface_: I'll look, thanks08:45
FourDollarscjwatson: I see. Thanks. :)08:45
xnoxcjwatson: 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
ubot2Launchpad 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/104953508:45
cjwatsonxnox: yes, I saw it08:45
* xnox xnox is is stuttering08:45
xnoxok.08:45
cjwatsonthat script should stop sourcing preseed.sh, so that part of the fix is trivial08:45
cjwatsonbut I wanted to actually test it this time, which is why it's taking a bit longer :)08:46
cjwatson(it certainly *is* in regular udebs, though - preseed-common)08:46
xnoxah, 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:48
cjwatsonright, in d-i it doesn't matter because preseed-common is always installed08:51
cjwatsonit's a leftover from fetch-url having originally been part of one of the preseed packages08:52
cjwatsonanyway, either I'll get it tested and upload today, or I'll upload anyway and risk the bug being reopened again08:52
veeberscjwatson: 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 iso09:03
ubot2Launchpad 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/104953509:03
cjwatsonsure09:04
=== lool- is now known as lool
cjwatsonhmm, why is the server installer going anywhere near bootstrap-base09:17
cjwatsonoh, bah, seed expansion horror09:18
cjwatsonI'll have to restore my awful hack in cdimage for now09:18
=== FourDoll1rs is now known as FourDollars
veebersif I have multiple commands in a  ubiquity/success_command if one fails does it execute the rest?09:52
veebersi.e. ubiquity/success_command string true; false; echo hello > file.log09:52
veeberswill the echo command be executed here?09:53
cjwatsonYes.  If you don't want that to happen then either use  &&  instead of  ;  or put  set -e  at the start.09:54
=== Mez_ is now known as Mez
veeberscool, thanks cjwatson09:54
veebersI'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 wrong09:55
cjwatsontry 'set -x;' at the start to get a trace.09:55
veeberscjwatson: I think that's what I'm looking for. I expected details in /var/log/installer/syslog (on the installed machine)09:56
veebersbut there wasn't what I expected.09:57
cjwatsonshould be either there or /var/log/installer/debug; but only if anything actually comes out on stderr.09:57
veebersah ok, will check that too, thanks again cjwatson09:57
veeberscjwatson: 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?09:59
cjwatsonit should land in syslog10:00
veebersawesome10:00
cjwatsonwell, one of /var/log/installer/{syslog,debug}, can't remember which.10:00
cjwatson(post-install locations)10:00
veebersas long as it's there afterwards :)10:00
xnoxpartman and I were not good friends today18:39
stgrabercan anyone be good friend with partman anyway? :)18:46
xnoxstgraber: 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 liar18:51
xnoxi 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 right18:53

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