/srv/irclogs.ubuntu.com/2014/03/27/#ubuntu-installer.txt

=== shadeslayer is now known as shadeslayer_
=== shadeslayer_ is now known as shadeslayer
CarlFKin a script called from late_command, (and in a chroot /target) how can I tell what release is being installed?16:57
CarlFKI use the same script for all, and have various "elif [ -f /etc/gdm/gdm.conf-custom ]; then" which I think would be better if I checked release16:58
cjwatsondebconf-get mirror/suite   # but do that outside the chroot/target and pass it in using an environment variable or whatever17:02
CarlFKthanks17:02
=== shadeslayer_ is now known as shadeslayer
CarlFKd-i preseed/late_command string cd /target/tmp && wget http://$url/lc/late.sh && chmod u+x late.sh && chroot /target /tmp/late.sh $(debconf-get mirror/suite) $(debconf-get passwd/username)19:19
CarlFKwhen does $() get evaluated?19:20
CarlFKand given I the answer seems to be "too early" what should I do?  I am guessing either quote it or wrap late.sh in another script that does what I want19:22

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