Skip to content

Commit

Permalink
- fixed size parameter "auto" for PReP partitions (bsc#928768)
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed May 11, 2015
1 parent 115d822 commit e317384
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.17.75
2.17.76
6 changes: 6 additions & 0 deletions package/autoyast2.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 11 13:56:41 CEST 2015 - aschnell@suse.de

- version 2.17.76
- fixed size parameter "auto" for PReP partitions (bsc#928768)

-------------------------------------------------------------------
Mon Apr 20 12:00:35 UTC 2015 - jreidinger@suse.com

Expand Down
7 changes: 4 additions & 3 deletions src/include/autopart.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,10 @@ global map AddFilesysData( map st_map, map xml_map )
{
partition["size"] = 1024*1024*Partitions::SwapSizeMb(0);
}

if( partition["mount"]:"" == Partitions::BootMount() )
{

if( partition["mount"]:"" == Partitions::BootMount() ||
Partitions::IsPrepPartition(partition["partition_id"]:0) )
{
if( partition["size"]:0 == -1 )
partition["size"] = Partitions::MinimalNeededBootsize();

Expand Down

1 comment on commit e317384

@shundhammer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Please sign in to comment.