Changeset 7431d6d


Ignore:
Timestamp:
07/09/13 10:34:55 (14 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
1d87ed6
Parents:
e100ad2
Message:

Dont show ZFS compression options on the boot device '/'

This causes issues with the boot-loader being unable to read the dev and
then not boot.

File:
1 edited

Legend:

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

    r0f9dbbc r7431d6d  
    595595  popupCH->addAction( "off", this, SLOT(slotZChkOFF())); 
    596596 
    597   // Create compression sub-menu 
    598   popupCmp = popup->addMenu("compression"); 
    599   popupCmp->addAction( "off", this, SLOT(slotZCmpOFF())); 
    600   popupCmp->addAction( "lzjb", this, SLOT(slotZCmpLZJB())); 
    601   popupCmp->addAction( "gzip", this, SLOT(slotZCmpGZIP())); 
    602   popupCmp->addAction( "zle", this, SLOT(slotZCmpZLE())); 
     597  // Create compression sub-menu for non '/' devices 
     598  if ( treeMounts->currentItem()->text(1) != "/" ) { 
     599    popupCmp = popup->addMenu("compression"); 
     600    popupCmp->addAction( "off", this, SLOT(slotZCmpOFF())); 
     601    popupCmp->addAction( "lzjb", this, SLOT(slotZCmpLZJB())); 
     602    popupCmp->addAction( "gzip", this, SLOT(slotZCmpGZIP())); 
     603    popupCmp->addAction( "zle", this, SLOT(slotZCmpZLE())); 
     604  } 
    603605 
    604606  // Create dedup sub-menu 
Note: See TracChangeset for help on using the changeset viewer.