This commit is contained in:
parent
6003c6d323
commit
f2e6c3ca55
20
util-linux-2.12r-fdisk_remove_bogus_warnings.patch
Normal file
20
util-linux-2.12r-fdisk_remove_bogus_warnings.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Index: util-linux-2.12r/fdisk/fdisk.c
|
||||||
|
===================================================================
|
||||||
|
--- util-linux-2.12r.orig/fdisk/fdisk.c
|
||||||
|
+++ util-linux-2.12r/fdisk/fdisk.c
|
||||||
|
@@ -1496,6 +1496,7 @@ static void check_consistency(struct par
|
||||||
|
/* compute logical ending (c, h, s) */
|
||||||
|
long2chs(get_start_sect(p) + get_nr_sects(p) - 1, &lec, &leh, &les);
|
||||||
|
|
||||||
|
+#if 0
|
||||||
|
/* Same physical / logical beginning? */
|
||||||
|
if (cylinders <= 1024 && (pbc != lbc || pbh != lbh || pbs != lbs)) {
|
||||||
|
printf(_("Partition %d has different physical/logical "
|
||||||
|
@@ -1512,7 +1513,6 @@ static void check_consistency(struct par
|
||||||
|
printf(_("logical=(%d, %d, %d)\n"),lec, leh, les);
|
||||||
|
}
|
||||||
|
|
||||||
|
-#if 0
|
||||||
|
/* Beginning on cylinder boundary? */
|
||||||
|
if (pbh != !pbc || pbs != 1) {
|
||||||
|
printf(_("Partition %i does not start on cylinder "
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 12 17:22:45 CET 2007 - mkoenig@suse.de
|
||||||
|
|
||||||
|
- remove legacy warnings from fdisk [#241372]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 2 13:27:31 CET 2007 - mkoenig@suse.de
|
Fri Feb 2 13:27:31 CET 2007 - mkoenig@suse.de
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ License: BSD License and BSD-like, GNU General Public License (GPL)
|
|||||||
Group: System/Base
|
Group: System/Base
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 2.12r
|
Version: 2.12r
|
||||||
Release: 70
|
Release: 73
|
||||||
Summary: A collection of basic system utilities
|
Summary: A collection of basic system utilities
|
||||||
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-%version.tar.bz2
|
Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-%version.tar.bz2
|
||||||
Source2: nologin.c
|
Source2: nologin.c
|
||||||
@ -109,6 +109,7 @@ Patch107: util-linux-2.12r-mkswap_fix.patch
|
|||||||
Patch108: util-linux-2.12r-nfs_remount_options.patch
|
Patch108: util-linux-2.12r-nfs_remount_options.patch
|
||||||
Patch109: util-linux-2.12r-losetup_password.patch
|
Patch109: util-linux-2.12r-losetup_password.patch
|
||||||
Patch110: util-linux-2.12r-mkfs_open_exclusive.patch
|
Patch110: util-linux-2.12r-mkfs_open_exclusive.patch
|
||||||
|
Patch111: util-linux-2.12r-fdisk_remove_bogus_warnings.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: %insserv_prereq %fillup_prereq /bin/sed
|
PreReq: %insserv_prereq %fillup_prereq /bin/sed
|
||||||
|
|
||||||
@ -183,6 +184,7 @@ cd -
|
|||||||
%patch108 -p1
|
%patch108 -p1
|
||||||
%patch109 -p1
|
%patch109 -p1
|
||||||
%patch110 -p1
|
%patch110 -p1
|
||||||
|
%patch111 -p1
|
||||||
# setctsid
|
# setctsid
|
||||||
cp %{S:22} %{S:23} .
|
cp %{S:22} %{S:23} .
|
||||||
# nologin and guessfstype
|
# nologin and guessfstype
|
||||||
@ -616,6 +618,8 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog -n util-linux
|
%changelog -n util-linux
|
||||||
|
* Mon Feb 12 2007 - mkoenig@suse.de
|
||||||
|
- remove legacy warnings from fdisk [#241372]
|
||||||
* Fri Feb 02 2007 - mkoenig@suse.de
|
* Fri Feb 02 2007 - mkoenig@suse.de
|
||||||
- do not use O_EXCL for mkfs.cramfs [#241466]
|
- do not use O_EXCL for mkfs.cramfs [#241466]
|
||||||
* Wed Jan 31 2007 - mkoenig@suse.de
|
* Wed Jan 31 2007 - mkoenig@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user