Accepting request 139478 from Base:System
- hack to use just 1 sector for embedded devices. should be made into a flag, but this shouldn't break normal systems ... lunchpad bug (746262) - fixes ppc boot from vfat (in case root on raid,lvm,ext4) (forwarded request 139467 from k0da) OBS-URL: https://build.opensuse.org/request/show/139478 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dosfstools?expand=0&rev=30
This commit is contained in:
commit
147833826f
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 26 15:19:38 UTC 2012 - dvaleev@suse.com
|
||||||
|
|
||||||
|
- hack to use just 1 sector for embedded devices. should be made
|
||||||
|
into a flag, but this shouldn't break normal systems ...
|
||||||
|
lunchpad bug (746262)
|
||||||
|
- fixes ppc boot from vfat (in case root on raid,lvm,ext4)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 28 11:18:14 UTC 2012 - cfarrell@suse.com
|
Fri Sep 28 11:18:14 UTC 2012 - cfarrell@suse.com
|
||||||
|
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: dosfstools
|
Name: dosfstools
|
||||||
Provides: mkdosfs dosfsck
|
Provides: dosfsck
|
||||||
|
Provides: mkdosfs
|
||||||
Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
|
Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
@ -29,6 +30,7 @@ Patch0: %{name}-suse-dirs.patch
|
|||||||
Patch1: %{name}-mdraid-partition.patch
|
Patch1: %{name}-mdraid-partition.patch
|
||||||
Patch2: %{name}-label.patch
|
Patch2: %{name}-label.patch
|
||||||
Patch3: %{name}-filename-buffer-overflow.patch
|
Patch3: %{name}-filename-buffer-overflow.patch
|
||||||
|
Patch4: ppc-reserved-sectors-fix.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Supplements: filesystem(vfat)
|
Supplements: filesystem(vfat)
|
||||||
|
|
||||||
@ -43,6 +45,7 @@ drives or on floppies.
|
|||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CC="%__cc" OPTFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $RPM_OPT_FLAGS" %{?_smp_mflags}
|
make CC="%__cc" OPTFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $RPM_OPT_FLAGS" %{?_smp_mflags}
|
||||||
|
13
ppc-reserved-sectors-fix.patch
Normal file
13
ppc-reserved-sectors-fix.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: dosfstools-3.0.10/src/mkdosfs.c
|
||||||
|
===================================================================
|
||||||
|
--- dosfstools-3.0.10.orig/src/mkdosfs.c
|
||||||
|
+++ dosfstools-3.0.10/src/mkdosfs.c
|
||||||
|
@@ -1059,7 +1059,7 @@ setup_tables (void)
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Adjust the reserved number of sectors for alignment */
|
||||||
|
- reserved_sectors = align_object(reserved_sectors, bs.cluster_size);
|
||||||
|
+ /* reserved_sectors = align_object(reserved_sectors, bs.cluster_size); */
|
||||||
|
bs.reserved = CT_LE_W(reserved_sectors);
|
||||||
|
|
||||||
|
/* Adjust the number of root directory entries to help enforce alignment */
|
Loading…
x
Reference in New Issue
Block a user