Skip to content

Commit

Permalink
ensure mountpoints are set correctly (bsc #929656)
Browse files Browse the repository at this point in the history
  • Loading branch information
wfeldt committed May 21, 2015
1 parent 007ca65 commit 13d09b0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/modules/Bootloader.ycp
Expand Up @@ -237,7 +237,21 @@
if (!checkUsedStorage ())
return false;

BootCommon::DetectDisks ();
// While calling AutoYaST clone_system libStorage
// has to be set to "normal" mode in order to read
// mountpoints correctly
//
// Mode::config() tests for "autoinst_config"
if (Mode::config ())
{
Mode.SetMode ("normal");
BootCommon::DetectDisks ();
Mode::SetMode ("autoinst_config");
}
else
{
BootCommon::DetectDisks ();
}
Progress::NextStage ();
if (testAbort ())
return false;
Expand Down

0 comments on commit 13d09b0

Please sign in to comment.