SHA256
1
0
forked from pool/dkms

Accepting request 450396 from home:MargueriteSu:branches:X11:Bumblebee

OBS-URL: https://build.opensuse.org/request/show/450396
OBS-URL: https://build.opensuse.org/package/show/X11:Bumblebee/dkms?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal 2017-01-15 09:43:12 +00:00 committed by Git OBS Bridge
parent 5f862d4522
commit 2e57348044
4 changed files with 34 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98e2a520be9f0db37972d0ef864afea0b56ea3d59856519234cf34927d5eb161
size 71538

3
dkms-2.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e25c4d399a6abf99550c04b4ede71c0781bd6b5ed5ab32ac4ec95f6181bd31c8
size 103123

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sun Jan 15 05:30:21 UTC 2017 - i@marguerite.su
- update version 2.3
* added support for forcing modules installation with configuration files
* fixed mkinitrd call when using dracut
* fixed have_one_kernel for non-zero return code
* added --no-depmod action to prevent running depmod
* fixed removal of module build directory
* fixed check of obsolete modules
* added option to symlink modules
* allowed building for all installed kernels in the common postinst
* do not fail if /lib/modules does not exist
* fixed ZFS autoinstall failures for kernel upgrades
* implemented inter-module dependencies feature
* added POST_BUILD to the dkms_conf_variables list
* enable users to opt out of creating weak modules
* enable parallel jobs when building
* fixed OBSOLETE_BY did not work since check_version_sanity exits early
-------------------------------------------------------------------
Tue Jan 12 04:20:15 UTC 2016 - ngompa13@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package dkms
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,13 @@
Name: dkms
Version: 2.2.0.3
Version: 2.3
Release: 0
Summary: Dynamic Kernel Module Support Framework
License: GPL-2.0
Group: System/Kernel
Url: http://linux.dell.com/dkms
Source0: http://linux.dell.com/dkms/permalink/dkms-%{version}.tar.bz2
Url: https://github.com/dell/dkms
Source0: https://github.com/dell/dkms/archive/%{version}/dkms-%{version}.tar.gz
Source1: dkms.service
Source2: dkms.systemd
Source3: dkms.default
@ -32,16 +32,16 @@ BuildRequires: systemd
Requires: bash > 1.99
Requires: cpio
Requires: findutils
Requires: gcc
Requires: make
Requires: gawk
Requires: gcc
Requires: grep
Requires: gzip
Requires: kernel-syms
Requires: make
Requires: mktemp
Requires: modutils
Requires: sed
Requires: tar
Requires: kernel-syms
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%systemd_requires
@ -54,17 +54,18 @@ module RPMS as originally developed by Dell.
%prep
%setup -q
%build
%install
make install-redhat DESTDIR=%{buildroot} \
make install DESTDIR=%{buildroot} \
SBIN=%{buildroot}%{_sbindir} \
VAR=%{buildroot}%{_localstatedir}/lib/%{name} \
MAN=%{buildroot}%{_mandir}/man8 \
ETC=%{buildroot}%{_sysconfdir}/%{name} \
BASHDIR=%{buildroot}%{_sysconfdir}/bash_completion.d \
LIBDIR=%{buildroot}%{_libexecdir}/%{name}
make install-doc DESTDIR=%{buildroot} \
DOCDIR=%{buildroot}%{_datadir}/doc/packages/%{name}
# systemd
mkdir -p %{buildroot}%{_unitdir}
@ -75,7 +76,7 @@ install -m 644 %{SOURCE3} "%{buildroot}%{_sysconfdir}/default/dkms"
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcdkms
# remove regular init file
rm -rf "%{buildroot}"/etc/rc.d/init.d/dkms_autoinstaller
rm -rf %{buildroot}%{_sysconfdir}/rc.d/init.d/dkms_autoinstaller
%pre
%service_add_pre dkms.service