Changeset ef5392a


Ignore:
Timestamp:
10/11/13 15:14:15 (10 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
ec6e81d
Parents:
d9f825f
Message:

Update Installer GUI, don't allow the "Force4K" option when using
GPT mode. It mangles the partition entries and cause boot to fail.

Revist once we have a non-dirty-hack way to force 4K mode

Location:
src-qt4/pc-installgui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-installgui/wizardDisk.cpp

    r1bfa1e0 ref5392a  
    2424 
    2525  //connect(pushClose, SIGNAL(clicked()), this, SLOT(slotClose())); 
     26  connect(checkGPT, SIGNAL(clicked()), this, SLOT(slotGPTClicked())); 
    2627  connect(pushSwapSize, SIGNAL(clicked()), this, SLOT(slotSwapSize())); 
    2728  connect(pushRemoveMount, SIGNAL(clicked()), this, SLOT(slotRemoveFS())); 
     
    10861087  restoreMode=true; 
    10871088} 
     1089 
     1090void wizardDisk::slotGPTClicked() 
     1091{ 
     1092   // Right now we can't do the dirty "gnop" trick on GPT 
     1093   // Mangles the partitions and fails to boot 
     1094   if ( checkGPT->isChecked() ) 
     1095   { 
     1096     checkForce4K->setChecked(false); 
     1097     checkForce4K->setEnabled(false); 
     1098   } else { 
     1099     checkForce4K->setEnabled(true); 
     1100   } 
     1101} 
  • src-qt4/pc-installgui/wizardDisk.h

    r93572be ref5392a  
    4040    void slotTerminal(); 
    4141    void slotSwapSize(); 
     42    void slotGPTClicked(); 
    4243  
    4344    // QMenu slots 
Note: See TracChangeset for help on using the changeset viewer.