diff --git a/interface/ri_oper.py b/interface/ri_oper.py index e9e18c3..70e499f 100644 --- a/interface/ri_oper.py +++ b/interface/ri_oper.py @@ -160,7 +160,7 @@ class Mount(Operation): n = 0 for dir in set([ m.directory for m in ri_data.MountPoint.dict.values() if m.directory ]): for k in ri_data.MountPoint.dict.keys(): - if ri_data.MountPoint.dict[k] == dir and ri_data.MountPoint.dict[k].filesystem: + if ri_data.MountPoint.dict[k].directory == dir and ri_data.MountPoint.dict[k].filesystem: # during configure fstab, use dict of Mount Mount.dict[k]=dir mount+='/dev/%s %s %s\n' %(k,dir,ri_data.MountPoint.dict[k].filesystem) @@ -192,8 +192,9 @@ class ConfigureFstab(Mount): def get_stdin(self): fstab='' + # Note: Mount.dict are mount point. it isn't equal ri_data.MountPoint.dict for k in Mount.dict.keys(): - if ri_data.MountPoint.dict[k] != 'swap': + if ri_data.MountPoint.dict[k].filesystem != 'swap': fstab += "/dev/%s %s %s\n" %(k,Mount.dict[k],ri_data.MountPoint.dict[k].filesystem) for k in ri_data.MountPoint.dict.keys(): diff --git a/xml/dependency.xml b/xml/dependency.xml index 8d23972..f994893 100644 --- a/xml/dependency.xml +++ b/xml/dependency.xml @@ -172,6 +172,11 @@ + + + + + @@ -210,6 +215,10 @@ + + + + @@ -330,10 +339,23 @@ + + + + + + + + + + + + + @@ -569,6 +591,11 @@ + + + + + @@ -668,7 +695,6 @@ - @@ -679,67 +705,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1708,6 +1679,16 @@ + + + + + + + + + + @@ -1735,6 +1716,11 @@ + + + + + @@ -1824,6 +1810,11 @@ + + + + + @@ -1859,12 +1850,33 @@ + + + + + + + + + + + + + + + + + + + + + @@ -1924,6 +1936,11 @@ + + + + + @@ -2305,6 +2322,11 @@ + + + + + @@ -2332,11 +2354,20 @@ + + + - + + + + + + + @@ -2598,6 +2629,11 @@ + + + + + @@ -3480,5 +3516,9 @@ + + + + diff --git a/xml/install.xml b/xml/install.xml index 2519667..e55fe99 100644 --- a/xml/install.xml +++ b/xml/install.xml @@ -264,7 +264,7 @@ - +