Skip to content

Commit

Permalink
ignore failed partition removal if partition table is later initializ…
Browse files Browse the repository at this point in the history
…ed anyway (bnc#785234)
  • Loading branch information
Thomas Fehr committed Oct 16, 2012
1 parent 610f474 commit c5ede86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libstorage/src/Disk.cc
Expand Up @@ -2060,7 +2060,10 @@ int Disk::doRemove( Volume* v )
getStorage()->handleHald(true);
if( execCheckFailed( cmd_line.str(), false ) )
{
ret = DISK_REMOVE_PARTITION_PARTED_FAILED;
if( !del_ptable )
ret = DISK_REMOVE_PARTITION_PARTED_FAILED;
else
y2war( "suppressing failed removal del_ptable:" << del_ptable );
}
ProcParts parts;
if( parts.findDevice(getPartName(p->OrigNr())) )
Expand Down
2 changes: 2 additions & 0 deletions package/yast2-storage.changes
@@ -1,6 +1,8 @@
-------------------------------------------------------------------
Tue Oct 16 15:00:38 CEST 2012 - fehr@suse.de

- ignore failed partition removal if partition table is later
initialized anyway (bnc#785234)
- make autoyast able to continue on commit errors (bnc#785234)

-------------------------------------------------------------------
Expand Down

0 comments on commit c5ede86

Please sign in to comment.