Author: aschnell Date: Thu Jan 29 15:28:09 2009 New Revision: 55147 URL: http://svn.opensuse.org/viewcvs/yast?rev=55147&view=rev Log: - changed method to disable automounter (since "overnight" GNOME does not support the old method anymore) (bnc #464453) Modified: trunk/storage/VERSION trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/modules/Storage.ycp trunk/storage/yast2-storage.spec.in Modified: trunk/storage/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/VERSION?rev=55147&r1=55146&r2=55147&view=diff ============================================================================== --- trunk/storage/VERSION (original) +++ trunk/storage/VERSION Thu Jan 29 15:28:09 2009 @@ -1 +1 @@ -2.18.2 +2.18.3 Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=55147&r1=55146&r2=55147&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Thu Jan 29 15:28:09 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.18.3 + +------------------------------------------------------------------- Tue Jan 27 10:38:28 CET 2009 - aschnell@suse.de - make "Installation Summary" directly accessible in expert Modified: trunk/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Storage.ycp?rev=55147&r1=55146&r2=55147&view=diff ============================================================================== --- trunk/storage/storage/src/modules/Storage.ycp (original) +++ trunk/storage/storage/src/modules/Storage.ycp Thu Jan 29 15:28:09 2009 @@ -6376,18 +6376,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: trunk/storage/yast2-storage.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/yast2-storage.spec.in?rev=55147&r1=55146&r2=55147&view=diff ============================================================================== --- trunk/storage/yast2-storage.spec.in (original) +++ trunk/storage/yast2-storage.spec.in Thu Jan 29 15:28:09 2009 @@ -6,7 +6,7 @@ BuildRequires: update-desktop-files yast2 yast2-core-devel >= 2.18.1 yast2-devtools BuildRequires: yast2-testsuite yast2-perl-bindings Requires: yast2-storage-lib = %version yast2-perl-bindings parted mdadm lvm2 dmraid -Requires: multipath-tools kpartx cryptsetup yast2-core >= 2.18.1 yast2 >= 2.18.3 +Requires: multipath-tools kpartx cryptsetup yast2-core >= 2.18.3 yast2 >= 2.18.3 Requires: yast2-libyui >= 2.17.5 %ifarch s390 s390x Requires: yast2-s390 -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org