diff --git a/no-mklabel-warn-script-mode.patch b/no-mklabel-warn-script-mode.patch new file mode 100644 index 0000000..784f21d --- /dev/null +++ b/no-mklabel-warn-script-mode.patch @@ -0,0 +1,11 @@ +--- parted/parted.c ++++ parted/parted.c 2007/02/20 11:33:31 +@@ -583,7 +583,7 @@ + if (!_disk_warn_busy (disk)) + goto error_destroy_disk; + +- if (!_disk_warn_loss (disk)) ++ if (!opt_script_mode && !_disk_warn_loss (disk)) + goto error_destroy_disk; + + ped_disk_destroy (disk); diff --git a/parted.changes b/parted.changes index 02e848a..0997140 100644 --- a/parted.changes +++ b/parted.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 13:06:44 CET 2007 - fehr@suse.de + +- make mklabel in scripted mode work again + ------------------------------------------------------------------- Mon Jan 15 11:51:21 CET 2007 - fehr@suse.de diff --git a/parted.spec b/parted.spec index 7a4f2dd..53f0e50 100644 --- a/parted.spec +++ b/parted.spec @@ -17,13 +17,14 @@ License: GNU General Public License (GPL) Group: System/Filesystems Summary: GNU partitioner Version: 1.8.2 -Release: 1 +Release: 5 Source0: %{name}-%{version}.tar.bz2 Patch: always-resize-part.dif Patch1: parted-type.patch Patch2: parted-mac.patch Patch3: parted-wipeaix.patch Patch4: disable_FAT_check.diff +Patch5: no-mklabel-warn-script-mode.patch Patch6: etherd_support.diff Patch7: device_map_support.diff Patch8: fat16_hfs_fix.dif @@ -69,6 +70,7 @@ Authors: %patch2 -p1 %patch3 -p1 %patch4 +%patch5 %patch6 -p0 %patch7 -p0 %patch8 -p1 @@ -119,7 +121,9 @@ rm -rf "$RPM_BUILD_ROOT" %{_libdir}/*.la* %{_libdir}/*.so -%changelog -n parted +%changelog +* Tue Feb 20 2007 - fehr@suse.de +- make mklabel in scripted mode work again * Mon Jan 15 2007 - fehr@suse.de - Update to new version 1.8.2 libparted: