Author: aschnell Date: Thu Jan 29 16:30:05 2009 New Revision: 55149 URL: http://svn.opensuse.org/viewcvs/yast?rev=55149&view=rev Log: - changed method to disable automounter (since "overnight" GNOME does not support the old method anymore) (bnc #464453) Modified: branches/SuSE-Code-11-Branch/storage/VERSION branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in Modified: branches/SuSE-Code-11-Branch/storage/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/VERSION?rev=55149&r1=55148&r2=55149&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/VERSION (original) +++ branches/SuSE-Code-11-Branch/storage/VERSION Thu Jan 29 16:30:05 2009 @@ -1 +1 @@ -2.17.68 +2.17.69 Modified: branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes?rev=55149&r1=55148&r2=55149&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Code-11-Branch/storage/package/yast2-storage.changes Thu Jan 29 16:30:05 2009 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Jan 29 15:22:35 CET 2009 - aschnell@suse.de + +- changed method to disable automounter (since "overnight" GNOME + does not support the old method anymore) (bnc #464453) +- 2.17.69 + +------------------------------------------------------------------- Mon Jan 26 12:22:36 CET 2009 - aschnell@suse.de - fixed udev partition postfix for dm based devices (bnc #468786) Modified: branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp?rev=55149&r1=55148&r2=55149&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp (original) +++ branches/SuSE-Code-11-Branch/storage/storage/src/modules/Storage.ycp Thu Jan 29 16:30:05 2009 @@ -6371,18 +6371,35 @@ y2milestone( "AddHwPackage list:%1", hw_packages ); } -global void SwitchUiAutomounter( boolean on ) + +global void SwitchUiAutomounter(boolean on) +{ + y2milestone("SwitchUiAutomounter on:%1", on); + + if (!on) + { + SCR::Execute(.dbus.method, + $[ `destination : "org.freedesktop.Hal", + `path : "/org/freedesktop/Hal/Manager", + `interface : "org.freedesktop.Hal.Manager", + `method : "AcquireGlobalInterfaceLock" ], + [ "org.freedesktop.Hal.Device.Storage", + true ]); + } + else { - y2milestone( "SwitchUiAutomounter on:%1", on ); - string cmd = "hal-set-property " + - "--udi /org/freedesktop/Hal/devices/computer " + - "--key storage.disable_volume_handling --bool "; - cmd = cmd + (on?"true":"false" ); - y2milestone( "SwitchUiAutomounter cmd %1", cmd ); - SCR::Execute( .target.bash, cmd ); - y2milestone( "SwitchUiAutomounter exit" ); + SCR::Execute(.dbus.method, + $[ `destination : "org.freedesktop.Hal", + `path : "/org/freedesktop/Hal/Manager", + `interface : "org.freedesktop.Hal.Manager", + `method : "ReleaseGlobalInterfaceLock" ], + [ "org.freedesktop.Hal.Device.Storage" ]); } + y2milestone("SwitchUiAutomounter exit"); +} + + global void DumpObjectList() { if (!InitLibstorage(false)) Modified: branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in?rev=55149&r1=55148&r2=55149&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in (original) +++ branches/SuSE-Code-11-Branch/storage/yast2-storage.spec.in Thu Jan 29 16:30:05 2009 @@ -4,7 +4,7 @@ @HEADER@ BuildRequires: blocxx-devel boost-devel gcc-c++ libxcrypt-devel openssl-devel sablot swig docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite yast2-perl-bindings Requires: parted yast2-storage-lib = %version yast2-perl-bindings mdadm lvm2 dmraid multipath-tools kpartx cryptsetup -Requires: yast2-core >= 2.17.10 +Requires: yast2-core >= 2.17.28 Requires: yast2 >= 2.17.45 Requires: yast2-libyui >= 2.17.5 %ifarch s390 s390x -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org