Fix parted-resize.patch - do not fail when shrinking a partition in noninteractive mode
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=82
This commit is contained in:
parent
688bfd6e83
commit
fd1bb9d873
@ -76,7 +76,7 @@ Index: parted-3.1/parted/parted.c
|
||||
+ start, end))
|
||||
+ goto error_destroy_constraint;
|
||||
+ /* warn when shrinking partition - might lose data */
|
||||
+ if (part->geom.end < oldend)
|
||||
+ if (!opt_script_mode && (part->geom.end < oldend))
|
||||
+ if (ped_exception_throw (
|
||||
+ PED_EXCEPTION_WARNING,
|
||||
+ PED_EXCEPTION_YES_NO,
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 16:15:13 UTC 2014 - puzel@suse.com
|
||||
|
||||
- Do not fail when shrinking the partition in non-interactive mode.
|
||||
- modified patches:
|
||||
* parted-resize-command.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 15:32:34 UTC 2014 - puzel@suse.com
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user