SVN: PLDLiveInstaller/trunk/PLDLiveInstaller.cpp
shadzik
shadzik at pld-linux.org
Thu Jan 20 22:24:56 CET 2011
Author: shadzik
Date: Thu Jan 20 22:24:56 2011
New Revision: 12069
Modified:
PLDLiveInstaller/trunk/PLDLiveInstaller.cpp
Log:
- sort partition list in order to always get sdX1 at first position
- add more debug
- thx to Piotr 'vip' Budny for noticing
Modified: PLDLiveInstaller/trunk/PLDLiveInstaller.cpp
==============================================================================
--- PLDLiveInstaller/trunk/PLDLiveInstaller.cpp (original)
+++ PLDLiveInstaller/trunk/PLDLiveInstaller.cpp Thu Jan 20 22:24:56 2011
@@ -1741,9 +1741,12 @@
{
partitions.append(partDev.as<Solid::Block>()->device());
}
+ partitions.sort();
+ qDebug() << "Partitions" << partitions;
selRoot=partitions.at(1);
selSwap=partitions.at(0);
swapPartPos=1; // set to anything
+ qDebug() << "Autopartitioning: Root=" << selRoot << "Swap=" << selSwap;
}
if(!(entireDisk->isChecked()))
More information about the pld-cvs-commit
mailing list