/srv/irclogs.ubuntu.com/2013/12/11/#ubuntu-installer.txt

cjwatsonantarus: or debconf-{get,set,set-selections}, or for longer stuff write a shell script that starts with ". /usr/share/debconf/confmodule" and use db_* commands, or ...12:00
cjwatsonor there's "import debconf" in python12:13
cjwatsonor Debconf::Client::ConfModule in perl12:13
sladenAFAICT  {preseed/,}{file,url}={floppy://,/media,}   (ie anything non http://.../preseed.cfg) appears to be broken16:55
sladenthe logs saved out from the installer make no-mention of preseeding, except for the relay of  /proc/cmdline16:56
sladenwith  url=file://foo   and  foo/d-i/saucy/preseed.cfg  (a corrupted) file I can cause an error16:56
sladenall other combinations fail silently16:57
sladeneven through execution of  fetch-url floppy /destination.cfg  does work16:58
sladenqemu-system-i386 -drive file=disk.img,index=0,if=floppy -kernel linux -initrd initrd.gz -cdrom ~/Downloads/mini.iso -append "auto=true priority=critical url=floppy://foo"16:58
antaruscjwatson: I'm writing go ;)22:10
antaruscjwatson: it just just annyoing because I'd enjoy just spawning debconf-communication22:10
antarusand using the 'protocol'22:10
antarusbut the protocol does not offer functoins like 'list'22:10
antarusso I have to run debconf-get-selections22:10
antarusparse the output22:10
cjwatsonlist is a fairly evil thing to do in debconf most of the time anyway22:34
antaruscjwatson: yeah we are doing evil stuff ;)22:44
antaruscjwatson: I'm actually trying to migrate a bunch of stuff out of debconf, and into a new system that is slightly less...abrasive ;p22:44
infinityThis seems like a wheel that would be painful to reinvent, unless you intend to make it command-line/shell compatible, so you don't have to touch every maintainer script.22:51
infinityAt which point, it's still the same blocky wheel. :P22:51

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