IA-64 CPU suppout tmppoint

This commit is contained in:
hugang
2011-03-04 17:36:32 +08:00
parent 30059dc679
commit 0bdbe9d664
7 changed files with 49 additions and 20 deletions

View File

@@ -28,10 +28,9 @@ def previous():
def next():
''' correspond to next button '''
q, t = ri_widget.Sequence.current()
ri_widget.Widget.dict[t].hide()
wid_name = ri_widget.Sequence.next()
if wid_name is not None:
ri_widget.Widget.dict[t].hide()
ri_widget.Widget.dict[wid_name].show()
else:
code = ri_widget.MessageBox.dict["next"].show()

View File

@@ -2,7 +2,6 @@
import re
import commands
import ri_oper
from xml.dom import minidom
from xml.dom.ext import PrettyPrint
@@ -421,8 +420,6 @@ p_node - xml node (parent node)'''
return False
elif dr in ['/','/boot'] and fs in ['reiserfs','xfs']:
return False
elif dr in ['/boot'] and ri_oper.Operation.getarch() == "ia64" and fs not in ['vfat']:
return False
return True

View File

@@ -5,7 +5,7 @@ import ri_widget
import ri_data
import ri_dep
import ri_func_dep
import ri_oper
import re
import copy
import sys
@@ -31,6 +31,14 @@ def mount_list_init():
l.append(s)
display.var_dict['mount.list'].set(value=tuple([str(i) for i in l]))
def mount_quit():
if ri_oper.Operation.getarch() == "ia64":
for (key,value) in ri_data.MountPoint.dict.items():
if (value.directory,value.filesystem,value.format) == ("/tmppoint","vfat","yes"):
return
ri_widget.MessageBox.dict['check_special_mount'].show()
ri_widget.Sequence.previous()
def mount_list_modify(*args):
''' modify an item in mount list '''
tw = ri_widget.TopWindow.dict['mount_list_modify']
@@ -104,6 +112,7 @@ def mp_top_cancel():
''' mount dir top window cancel '''
ri_widget.TopWindow.dict['mount_list_modify'].hide()
def network_init():
''' network initialize '''
if ri_data.Network.hostname.strip():
@@ -135,6 +144,7 @@ def network_quit():
not ri_data.Network.gateway or \
not ri_data.Network.primary_dns) :
ri_widget.MessageBox.dict['check_ip_hostname'].show()
ri_widget.Sequence.previous()
def ncm_dynamic():
''' when radio button ncm dynamic is checked, several data entry will be set 'disable' '''