Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix problems with the hdiso method (#1274855)
(1) Be more lenient when it comes to deciding if the hdiso method has changed. The user can specify "/dev/sda1" or "sda", and they can give the file name with or without a leading slash. anaconda internally follows different rules, which leads to situations where we compare "/dev/sda1" to "sda1" and device things have changed. Of course, they haven't. (2) The user may also specify the HDISO source via inst.repo=hd:/dev/disk/by-uuid which we completely fail to handle. Fix that. (3) If the user gives us a bad value for inst.repo= (like an invalid path, perhaps from a typo), handle it in the UI with an error instead of raising a traceback that doesn't make much sense. (4) Fix two problems caused by cherry-picked patches. (5) The big one - if you boot up via some method that also involves mounting the install.img from an HDISO source, the install.img will keep all our mount points tied up. There's not really any way to fix this because there's no way to unmount the install.img, and there's nowhere to move it to that doesn't involve eating up more memory. Thus, just prevent people from changing the source when in this situation and slap a tooltip up explaining why. Resolves: rhbz#1274855 (cherry picked from commit 77c1fc4)
- Loading branch information
Showing
4 changed files
with
40 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters