Accepting request 214722 from Base:System
- Do not fail when shrinking the partition in non-interactive mode. - modified patches: * parted-resize-command.patch OBS-URL: https://build.opensuse.org/request/show/214722 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=90
This commit is contained in:
commit
778ff63449
@ -76,7 +76,7 @@ Index: parted-3.1/parted/parted.c
|
|||||||
+ start, end))
|
+ start, end))
|
||||||
+ goto error_destroy_constraint;
|
+ goto error_destroy_constraint;
|
||||||
+ /* warn when shrinking partition - might lose data */
|
+ /* warn when shrinking partition - might lose data */
|
||||||
+ if (part->geom.end < oldend)
|
+ if (!opt_script_mode && (part->geom.end < oldend))
|
||||||
+ if (ped_exception_throw (
|
+ if (ped_exception_throw (
|
||||||
+ PED_EXCEPTION_WARNING,
|
+ PED_EXCEPTION_WARNING,
|
||||||
+ PED_EXCEPTION_YES_NO,
|
+ 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
|
Wed Jan 8 15:32:34 UTC 2014 - puzel@suse.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user