Mailinglist Archive: opensuse-autoinstall (72 mails)
| < Previous | Next > |
Re: [opensuse-autoinstall] mountby option ignored
- From: Uwe Gansert <ug@xxxxxxx>
- Date: Wed, 27 Feb 2008 12:22:56 +0100
- Message-id: <200802271222.57002.ug@xxxxxxx>
On Tuesday 26 February 2008, Frank Steiner wrote:
diffs attached. AutoinstStorage has to be recompiled. Storage.ycp too
--
ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Business: http://www.suse.de/~ug
listening to: Black Heart [alpha] by Edge Of Dawn
Index: include/autopart.ycp
===================================================================
--- include/autopart.ycp (Revision 43132)
+++ include/autopart.ycp (Revision 45012)
@@ -770,12 +770,12 @@
p["fs_options"] = mapvalue;
}
value = solution["partitions",pindex,"label"]:"";
+ symbol mb =
solution["partitions",pindex,"mountby"]:`no_mb;
+ if( mb != `no_mb ) {
+ p["mountby"] = mb;
+ }
if( size(value)>0 )
{
- symbol mb =
solution["partitions",pindex,"mountby"]:`no_mb;
- if( mb != `no_mb ) {
- p["mountby"] = mb;
- }
p["label"] = value;
}
Index: storage/src/modules/Storage.ycp
===================================================================
--- storage/src/modules/Storage.ycp (Revision 44658)
+++ storage/src/modules/Storage.ycp (Revision 45018)
@@ -2376,7 +2376,7 @@
y2milestone( "ChangeVolumeProperties sint ret:%1", ret );
}
if( ret==0 && size(part["mount"]:"")>0 &&
- part["mountby"]:`device != curr["mountby"]:`device )
+ part["mountby"]:`id != curr["mountby"]:`id )
{
changed = true;
tmp = fromSymbol(conv_mountby,part["mountby"]:`device);
Is it possible to get a driverupdate for SLES10 or is it too complicated
to backport? Or maybe a least a diff file so that I can try to hack it
into AY myself?
diffs attached. AutoinstStorage has to be recompiled. Storage.ycp too
--
ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Business: http://www.suse.de/~ug
listening to: Black Heart [alpha] by Edge Of Dawn
Index: include/autopart.ycp
===================================================================
--- include/autopart.ycp (Revision 43132)
+++ include/autopart.ycp (Revision 45012)
@@ -770,12 +770,12 @@
p["fs_options"] = mapvalue;
}
value = solution["partitions",pindex,"label"]:"";
+ symbol mb =
solution["partitions",pindex,"mountby"]:`no_mb;
+ if( mb != `no_mb ) {
+ p["mountby"] = mb;
+ }
if( size(value)>0 )
{
- symbol mb =
solution["partitions",pindex,"mountby"]:`no_mb;
- if( mb != `no_mb ) {
- p["mountby"] = mb;
- }
p["label"] = value;
}
Index: storage/src/modules/Storage.ycp
===================================================================
--- storage/src/modules/Storage.ycp (Revision 44658)
+++ storage/src/modules/Storage.ycp (Revision 45018)
@@ -2376,7 +2376,7 @@
y2milestone( "ChangeVolumeProperties sint ret:%1", ret );
}
if( ret==0 && size(part["mount"]:"")>0 &&
- part["mountby"]:`device != curr["mountby"]:`device )
+ part["mountby"]:`id != curr["mountby"]:`id )
{
changed = true;
tmp = fromSymbol(conv_mountby,part["mountby"]:`device);
| < Previous | Next > |