Author: aschnell Date: Fri Sep 25 10:36:28 2009 New Revision: 58764 URL: http://svn.opensuse.org/viewcvs/yast?rev=58764&view=rev Log: - fixed handling of efiboot parameter (bnc #490782) Modified: branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.h branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageInterface.h branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes Modified: branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc?rev=58764&r1=58763&r2=58764&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc Fri Sep 25 10:36:28 2009 @@ -912,12 +912,23 @@ defaultMountBy = val; } -void Storage::setEfiBoot(bool val) -{ - y2milestone("val:%d", val); + +void +Storage::setEfiBoot(bool val) +{ + assertInit(); + y2mil("val:" << val); efiboot = val; } +bool +Storage::getEfiBoot() +{ + assertInit(); + return efiboot; +} + + void Storage::setRootPrefix( const string& root ) { y2milestone( "root:%s", root.c_str() ); Modified: branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.h URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.h?rev=58764&r1=58763&r2=58764&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.h (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.h Fri Sep 25 10:36:28 2009 @@ -363,7 +363,7 @@ void setDetectMountedVolumes( bool val=true ); bool getDetectMountedVolumes() const { return detectMounted; } void setEfiBoot(bool val); - bool getEfiBoot() const { return efiboot; } + bool getEfiBoot(); void setRootPrefix( const string& root ); string getRootPrefix() const { return rootprefix; } int removeVolume( const string& device ); Modified: branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageInterface.h URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageInterface.h?rev=58764&r1=58763&r2=58764&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageInterface.h (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/StorageInterface.h Fri Sep 25 10:36:28 2009 @@ -1445,7 +1445,7 @@ * * @return value for efi boot */ - virtual bool getEfiBoot() const = 0; + virtual bool getEfiBoot() = 0; /** * Set value for root prefix. Modified: branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes?rev=58764&r1=58763&r2=58764&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes Fri Sep 25 10:36:28 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Sep 25 10:29:26 CEST 2009 - aschnell@suse.de + +- fixed handling of efiboot parameter (bnc #490782) + +------------------------------------------------------------------- Tue Sep 22 15:12:29 CEST 2009 - jsrain@suse.cz - don't limit partition table to GPT on x86_64 uEFI systems -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org