mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
- always create a hdd image if theres no default one
svn path=/trunk/; revision=28663
This commit is contained in:
parent
8d1c787d57
commit
d374f7cbb0
1 changed files with 7 additions and 11 deletions
|
@ -334,19 +334,15 @@ namespace Sysreg_
|
|||
return true;
|
||||
}
|
||||
|
||||
if (m_CDImage.length())
|
||||
if (!createDefaultHDDImage())
|
||||
{
|
||||
/* ROS_CD_IMAGE is set but no ROS_HDD_IMAGE is set
|
||||
* so create hdd image */
|
||||
if (!createDefaultHDDImage())
|
||||
{
|
||||
/* failed to create hdd image */
|
||||
cerr << "Error: failed to create hdd image " << endl;
|
||||
return false;
|
||||
}
|
||||
getDefaultHDDImage(m_HDDImage);
|
||||
return true;
|
||||
/* failed to create hdd image */
|
||||
cerr << "Error: failed to create hdd image " << endl;
|
||||
return false;
|
||||
}
|
||||
getDefaultHDDImage(m_HDDImage);
|
||||
return true;
|
||||
|
||||
///
|
||||
/// FIXME
|
||||
/// scan m_BootCmd if theres -hda param provided
|
||||
|
|
Loading…
Reference in a new issue