[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdebconf gets confused?



[Martin Sjögren]
> And di-init looks like this:
> 
> #!/bin/sh
> 
> . /usr/share/debconf/confmodule
> 
> db_set debconf/priority high
> 
> /usr/bin/udpkg --configure cdrom-detect
> /usr/bin/udpkg --configure cdrom-retriever
> /usr/bin/udpkg --configure anna
> 
> db_set debconf/priority medium

The Skolelinux CD passes DEBIAN_PRIORITY=high into d-i.  Will this
work when you change the priority like that?  I guess the code should
be changed to something like this:

  db_get debconf/priority
  OLDPRI="$RET"

  db_set debconf/priority high

  ...

  db_set debconf/priority "$OLDPRI"

I have no idea about your other problems. :)



Reply to: