2017-12-22 16:53:51 +00:00
|
|
|
From: Petr Uzel <petr.uzel@suse.cz>
|
|
|
|
Subject: build: Patch fatresize build into parted package
|
|
|
|
Patch-mainline: no, custom SUSE patch
|
|
|
|
|
|
|
|
Fatresize is used by YaST to resize FAT16/FAT32 file systems. It uses
|
|
|
|
libparted functions for that purpose but does not resize the FAT
|
|
|
|
partition afterward. That is the task of parted instead. So using it
|
|
|
|
without parted and YaST doesn't make much sense.
|
|
|
|
|
|
|
|
Versions more recent than 0.1 like e.g. 1.0.3 are incompatible and
|
|
|
|
risk data loss by silently increasing the FS size (See: bsc#1072479).
|
|
|
|
|
|
|
|
Upstream: https://github.com/ya-mouse/fatresize
|
|
|
|
[sparschauer: Wrote the patch description]
|
2014-01-31 15:39:50 +00:00
|
|
|
---
|
|
|
|
Makefile.am | 2 +-
|
|
|
|
configure.ac | 1 +
|
|
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
2020-01-12 13:40:37 +00:00
|
|
|
Index: parted-3.3/Makefile.am
|
2014-01-31 15:39:50 +00:00
|
|
|
===================================================================
|
2020-01-12 13:40:37 +00:00
|
|
|
--- parted-3.3.orig/Makefile.am
|
|
|
|
+++ parted-3.3/Makefile.am
|
2014-01-31 15:39:50 +00:00
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
-SUBDIRS = po lib include libparted parted partprobe doc debug tests
|
|
|
|
+SUBDIRS = po lib include libparted parted partprobe fatresize doc debug tests
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
.version \
|
2020-01-12 13:40:37 +00:00
|
|
|
Index: parted-3.3/configure.ac
|
2014-01-31 15:39:50 +00:00
|
|
|
===================================================================
|
2020-01-12 13:40:37 +00:00
|
|
|
--- parted-3.3.orig/configure.ac
|
|
|
|
+++ parted-3.3/configure.ac
|
|
|
|
@@ -571,6 +571,7 @@ libparted.pc
|
|
|
|
libparted-fs-resize.pc
|
2014-01-31 15:39:50 +00:00
|
|
|
parted/Makefile
|
|
|
|
partprobe/Makefile
|
|
|
|
+fatresize/Makefile
|
|
|
|
doc/Makefile
|
|
|
|
doc/C/Makefile
|
|
|
|
doc/pt_BR/Makefile
|