rpms/anaconda/F-9 anaconda-11.4.0.83-raid-headers.patch, NONE, 1.1 anaconda.spec, 1.696, 1.697
Tom Callaway
spot at fedoraproject.org
Tue Dec 16 18:47:31 UTC 2008
- Previous message (by thread): rpms/xorg-x11-proto-devel/devel .cvsignore, 1.42, 1.43 import.log, 1.3, 1.4 sources, 1.41, 1.42 xorg-x11-proto-devel.spec, 1.84, 1.85
- Next message (by thread): rpms/kernel/F-10 config-generic, 1.198, 1.199 kernel.spec, 1.1194, 1.1195
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: spot
Update of /cvs/pkgs/rpms/anaconda/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15035
Modified Files:
anaconda.spec
Added Files:
anaconda-11.4.0.83-raid-headers.patch
Log Message:
fix isys raid code to work with newer kernel headers
anaconda-11.4.0.83-raid-headers.patch:
--- NEW FILE anaconda-11.4.0.83-raid-headers.patch ---
diff -up anaconda-11.4.0.83/isys/isys.c.BAD anaconda-11.4.0.83/isys/isys.c
--- anaconda-11.4.0.83/isys/isys.c.BAD 2008-12-16 13:38:53.000000000 -0500
+++ anaconda-11.4.0.83/isys/isys.c 2008-12-16 13:41:34.000000000 -0500
@@ -679,7 +679,7 @@ static PyObject * doWipeRaidSuperblock(P
/* put the size in 1k blocks */
size >>= 1;
- if (lseek64(fd, ((off64_t) 1024) * (off64_t) MD_NEW_SIZE_BLOCKS(size), SEEK_SET) < 0) {
+ if (lseek64(fd, ((off64_t) 512) * (off64_t) MD_NEW_SIZE_SECTORS(size), SEEK_SET) < 0) {
PyErr_SetFromErrno(PyExc_SystemError);
return NULL;
}
@@ -711,7 +711,7 @@ static PyObject * doGetRaidSuperblock(Py
/* put the size in 1k blocks */
size >>= 1;
- if (lseek64(fd, ((off64_t) 1024) * (off64_t) MD_NEW_SIZE_BLOCKS(size), SEEK_SET) < 0) {
+ if (lseek64(fd, ((off64_t) 512) * (off64_t) MD_NEW_SIZE_SECTORS(size), SEEK_SET) < 0) {
PyErr_SetFromErrno(PyExc_SystemError);
return NULL;
}
@@ -749,7 +749,7 @@ static PyObject * doGetRaidChunkSize(PyO
/* put the size in 1k blocks */
size >>= 1;
- if (lseek64(fd, ((off64_t) 1024) * (off64_t) MD_NEW_SIZE_BLOCKS(size), SEEK_SET) < 0) {
+ if (lseek64(fd, ((off64_t) 512) * (off64_t) MD_NEW_SIZE_SECTORS(size), SEEK_SET) < 0) {
PyErr_SetFromErrno(PyExc_SystemError);
return NULL;
}
Index: anaconda.spec
===================================================================
RCS file: /cvs/pkgs/rpms/anaconda/F-9/anaconda.spec,v
retrieving revision 1.696
retrieving revision 1.697
diff -u -r1.696 -r1.697
--- anaconda.spec 16 Dec 2008 15:33:14 -0000 1.696
+++ anaconda.spec 16 Dec 2008 18:47:00 -0000 1.697
@@ -3,7 +3,7 @@
Summary: Graphical system installer
Name: anaconda
Version: 11.4.0.83
-Release: 10
+Release: 11
License: GPLv2+
Group: Applications/System
URL: http://fedoraproject.org/wiki/Anaconda
@@ -13,6 +13,7 @@
Patch1: anaconda-11.4.0.83-sparc-upd-instroot-nov9vforglibc.patch
Patch2: anaconda-11.4.0.83-sparc-fixtftp.patch
Patch3: anaconda-11.4.0.83-sparc-fixverify.patch
+Patch4: anaconda-11.4.0.83-raid-headers.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: sparc64
@@ -161,6 +162,8 @@
%patch2 -p1
# Fix arch comparison for sparcv9 in verify function
%patch3 -p1
+# Fix isys raid code for newer kernel headers (from anaconda HEAD)
+%patch4 -p1
%build
%{__make} depend
@@ -223,6 +226,9 @@
/sbin/chkconfig --del reconfig >/dev/null 2>&1 || :
%changelog
+* Tue Dec 16 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 11.4.0.83-11
+- fix isys raid code to work with newer kernel headers
+
* Tue Dec 16 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 11.4.0.83-10
- Fix tftp generation to use an initrd
- Fix arch comparison for sparcv9 in verify function
- Previous message (by thread): rpms/xorg-x11-proto-devel/devel .cvsignore, 1.42, 1.43 import.log, 1.3, 1.4 sources, 1.41, 1.42 xorg-x11-proto-devel.spec, 1.84, 1.85
- Next message (by thread): rpms/kernel/F-10 config-generic, 1.198, 1.199 kernel.spec, 1.1194, 1.1195
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list