Update to version 23
This commit is contained in:
parent
651367b3fe
commit
af396dff73
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@
|
|||||||
/kmod-20.tar.xz
|
/kmod-20.tar.xz
|
||||||
/kmod-21.tar.xz
|
/kmod-21.tar.xz
|
||||||
/kmod-22.tar.xz
|
/kmod-22.tar.xz
|
||||||
|
/kmod-23.tar.xz
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/tools/depmod.c b/tools/depmod.c
|
|
||||||
index 6e9bb4d..a2e07c1 100644
|
|
||||||
--- a/tools/depmod.c
|
|
||||||
+++ b/tools/depmod.c
|
|
||||||
@@ -2153,6 +2153,8 @@ static void depmod_add_fake_syms(struct depmod *depmod)
|
|
||||||
depmod_symbol_add(depmod, "__this_module", true, 0, NULL);
|
|
||||||
/* On S390, this is faked up too */
|
|
||||||
depmod_symbol_add(depmod, "_GLOBAL_OFFSET_TABLE_", true, 0, NULL);
|
|
||||||
+ /* On PowerPC64 ABIv2, .TOC. is more or less _GLOBAL_OFFSET_TABLE_ */
|
|
||||||
+ depmod_symbol_add(depmod, "TOC.", true, 0, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int depmod_load_symvers(struct depmod *depmod, const char *filename)
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: kmod
|
Name: kmod
|
||||||
Version: 22
|
Version: 23
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Linux kernel module management utilities
|
Summary: Linux kernel module management utilities
|
||||||
|
|
||||||
Group: System Environment/Kernel
|
Group: System Environment/Kernel
|
||||||
@ -9,7 +9,6 @@ URL: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
|
|||||||
Source0: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz
|
Source0: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz
|
||||||
Source1: weak-modules
|
Source1: weak-modules
|
||||||
# http://patchwork.ozlabs.org/patch/581441/
|
# http://patchwork.ozlabs.org/patch/581441/
|
||||||
Patch1: depmod-powerpc-fix-TOC.patch
|
|
||||||
Exclusiveos: Linux
|
Exclusiveos: Linux
|
||||||
|
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
@ -50,7 +49,6 @@ applications that wish to load or unload Linux kernel modules.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .ppcToC
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export V=1
|
export V=1
|
||||||
@ -114,6 +112,9 @@ install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules
|
|||||||
%{_libdir}/libkmod.so
|
%{_libdir}/libkmod.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 22 2016 Josh Boyer <jwboyer@fedoraproject.org> - 23-1
|
||||||
|
- Update to version 23
|
||||||
|
|
||||||
* Thu Feb 25 2016 Peter Robinson <pbrobinson@fedoraproject.org> 22-4
|
* Thu Feb 25 2016 Peter Robinson <pbrobinson@fedoraproject.org> 22-4
|
||||||
- Add powerpc patch to fix ToC on 4.5 ppc64le kernel
|
- Add powerpc patch to fix ToC on 4.5 ppc64le kernel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user