Josef Wolf wrote: > On Thu, Nov 29, 2007 at 03:23:47AM +0200, Eddy Petrișor wrote: >> Josef Wolf wrote: >> Oops, apprently ppp-udeb's postinst should handle this return code (30) for >> preseeding to work correctly (but I'll need a second oppinon from either >> Joey, Frans or Colin about this, since I am not sure about preseeding).
> OTOH, debconf-devel(7) says in section "THE POSTINST SCRIPT": > > Avoid asking questions in the postinst. Instead, the config script > should ask questions using debconf, so that preconfiguration will work. > > But I am pretty much new to those installer/debconf things. Therefore I > assume my opinion stated above is based on mis-understandings and is > very wrong. Yes, udeb postinsts are different. >> To test what I'm saying, please try this: > > [ ... ] > >> db_input high netcfg/get_hostname || [ $? -eq 30 ] > > Works like a charm! Thanks! > > So now I'm going to create a modified udeb and include it onto the cd. Please create a patch and submit it as a bug report[1] against ppp-udeb. [1] "preseeding the host name does not work for ppp-udeb" or something like that should be fine -- Regards, EddyP ============================================= "Imagination is more important than knowledge" A.Einstein
signature.asc
Description: OpenPGP digital signature