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

Bug#479391: Asks for PCMCIA, if refused, asks more about it



On Sunday 4 May 2008 18:43, Frans Pop wrote:
> On Sunday 04 May 2008, Thijs Kinkhorst wrote:
> > During the process I get asked "Start PC card services?" to which I
> > answer No. Right after that, I'm presented with the question "PCMCIA
> > resource range options:".
>
> Reason is that they are not really separate questions. If you try the same
> in the graphical installer, you will see both questions are displayed
> together. It's more a limitation of the newt frontend.

I'm not knowledgable of D-I internals, but why couldn't you make the second 
question conditional of the first, like in this example (untested, just to 
show what I mean):

              db_input medium hw-detect/start_pcmcia || true
              db_go || true
              if db_get hw-detect/start_pcmcia && [ "$RET" ]; then
                      db_input low hw-detect/pcmcia_resources || true
                      db_go || true
                      if db_get hw-detect/pcmcia_resources && [ "$RET" ]; then
                              apply_pcmcia_resource_opts $RET
                      fi
              fi


cheers,
Thijs



Reply to: