|
|||||||||||
|
Re: How to preseed install via pppoe (for A-DSL)?
From: Josef Wolf <jw(at)raven.inka.de>
Date: Thu Nov 29 2007 - 02:49:00 EST
> > Well, here's the reason why postinst returns error code 30. According to Oh, I've overseen that. > Oops, apprently ppp-udeb's postinst should handle this return code (30) for IMHO, it is a problem with the debconf protocol. The config/postinst scripts should not need to bother whether the question was actually asked or preseeded. They should just GET the value and debconf should do whatever needs to be done to retrieve the answer. The only exception I can imagine would be asking for passwords. 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. > 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. -- To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Thu Nov 29 03:00:43 2007 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:34:21 EDT |
||||||||||
|
|||||||||||