cjwatson | antarus: 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 |
---|---|---|
cjwatson | or there's "import debconf" in python | 12:13 |
cjwatson | or Debconf::Client::ConfModule in perl | 12:13 |
sladen | AFAICT {preseed/,}{file,url}={floppy://,/media,} (ie anything non http://.../preseed.cfg) appears to be broken | 16:55 |
sladen | the logs saved out from the installer make no-mention of preseeding, except for the relay of /proc/cmdline | 16:56 |
sladen | with url=file://foo and foo/d-i/saucy/preseed.cfg (a corrupted) file I can cause an error | 16:56 |
sladen | all other combinations fail silently | 16:57 |
sladen | even through execution of fetch-url floppy /destination.cfg does work | 16:58 |
sladen | qemu-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 |
antarus | cjwatson: I'm writing go ;) | 22:10 |
antarus | cjwatson: it just just annyoing because I'd enjoy just spawning debconf-communication | 22:10 |
antarus | and using the 'protocol' | 22:10 |
antarus | but the protocol does not offer functoins like 'list' | 22:10 |
antarus | so I have to run debconf-get-selections | 22:10 |
antarus | parse the output | 22:10 |
cjwatson | list is a fairly evil thing to do in debconf most of the time anyway | 22:34 |
antarus | cjwatson: yeah we are doing evil stuff ;) | 22:44 |
antarus | cjwatson: I'm actually trying to migrate a bunch of stuff out of debconf, and into a new system that is slightly less...abrasive ;p | 22:44 |
infinity | This 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 |
infinity | At which point, it's still the same blocky wheel. :P | 22:51 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!