commit vm-install for openSUSE:Factory
Hello community, here is the log from the commit of package vm-install for openSUSE:Factory checked in at Thu Apr 21 13:49:42 CEST 2011. -------- --- vm-install/vm-install.changes 2011-02-14 22:46:35.000000000 +0100 +++ /mounts/work_src_done/STABLE/vm-install/vm-install.changes 2011-03-04 16:48:44.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 4 08:40:51 MST 2011 - carnold@novell.com + +- bnc#631680 - OpenSUSE 11.3 KVM install of windows xp fails on + first reboot during installation. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vm-install.spec ++++++ --- /var/tmp/diff_new_pack.W6RvRd/_old 2011-04-21 13:49:23.000000000 +0200 +++ /var/tmp/diff_new_pack.W6RvRd/_new 2011-04-21 13:49:23.000000000 +0200 @@ -27,7 +27,7 @@ Group: System/Emulators/PC AutoReqProv: yes Version: 0.4.28 -Release: 4 +Release: 14 Summary: Tool to Define a Virtual Machine and Install Its Operating System Source0: %{name}-0.4.28.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ vm-install-0.4.28.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/src/vmdisks/disks.py new/vm-install-0.4.28/src/vmdisks/disks.py --- old/vm-install-0.4.28/src/vmdisks/disks.py 2011-02-10 00:13:27.000000000 +0100 +++ new/vm-install-0.4.28/src/vmdisks/disks.py 2011-03-04 16:45:19.000000000 +0100 @@ -83,7 +83,10 @@ sparse = 1 log.debug("Creating raw file '%s', %d bytes (sparse=%d)." % (filename, bytes, sparse)) fd = os.open(filename, os.O_WRONLY | os.O_CREAT | os.O_TRUNC) - os.chmod(filename, 0600) + if os.geteuid() == 0: + os.chmod(filename, 0600) + else: + os.chmod(filename, 0644) if sparse: offset = bytes - 1 os.lseek(fd, offset, 0) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de