summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter-aarch64.sh2
-rw-r--r--filter-armv7hl.sh2
-rw-r--r--filter-i686.sh2
-rwxr-xr-xfilter-modules.sh6
-rw-r--r--filter-ppc.sh2
-rw-r--r--filter-ppc64.sh2
-rw-r--r--filter-ppc64le.sh2
-rw-r--r--filter-s390x.sh2
-rw-r--r--filter-x86_64.sh2
-rw-r--r--kernel.spec51
10 files changed, 37 insertions, 36 deletions
diff --git a/filter-aarch64.sh b/filter-aarch64.sh
index bf58af299..fa0154bbe 100644
--- a/filter-aarch64.sh
+++ b/filter-aarch64.sh
@@ -2,7 +2,7 @@
# This is the aarch64 override file for the core/drivers package split. The
# module directories listed here and in the generic list in filter-modules.sh
-# will be moved to the resulting kernel-drivers package for this arch.
+# will be moved to the resulting kernel-modules package for this arch.
# Anything not listed in those files will be in the kernel-core package.
#
# Please review the default list in filter-modules.sh before making
diff --git a/filter-armv7hl.sh b/filter-armv7hl.sh
index c249d1766..54b4f9521 100644
--- a/filter-armv7hl.sh
+++ b/filter-armv7hl.sh
@@ -2,7 +2,7 @@
# This is the armv7hl override file for the core/drivers package split. The
# module directories listed here and in the generic list in filter-modules.sh
-# will be moved to the resulting kernel-drivers package for this arch.
+# will be moved to the resulting kernel-modules package for this arch.
# Anything not listed in those files will be in the kernel-core package.
#
# Please review the default list in filter-modules.sh before making
diff --git a/filter-i686.sh b/filter-i686.sh
index 1deab9423..79072de11 100644
--- a/filter-i686.sh
+++ b/filter-i686.sh
@@ -2,7 +2,7 @@
# This is the i686 override file for the core/drivers package split. The
# module directories listed here and in the generic list in filter-modules.sh
-# will be moved to the resulting kernel-drivers package for this arch.
+# will be moved to the resulting kernel-modules package for this arch.
# Anything not listed in those files will be in the kernel-core package.
#
# Please review the default list in filter-modules.sh before making
diff --git a/filter-modules.sh b/filter-modules.sh
index abe581278..f2480887a 100755
--- a/filter-modules.sh
+++ b/filter-modules.sh
@@ -2,15 +2,15 @@
#
# Called as filter-modules.sh list-of-modules Arch
-# This script filters the modules into the kernel-core and kernel-drivers
+# This script filters the modules into the kernel-core and kernel-modules
# subpackages. We list out subsystems/subdirs to prune from the installed
# module directory. What is left is put into the kernel-core package. What is
-# pruned is contained in the kernel-drivers package.
+# pruned is contained in the kernel-modules package.
#
# This file contains the default subsys/subdirs to prune from all architectures.
# If an architecture needs to differ, we source a per-arch filter-<arch>.sh file
# that contains the set of override lists to be used instead. If a module or
-# subsys should be in kernel-drivers on all arches, please change the defaults
+# subsys should be in kernel-modules on all arches, please change the defaults
# listed here.
# Set the default dirs/modules to filter out
diff --git a/filter-ppc.sh b/filter-ppc.sh
index 1f173ff25..8ff7a3b9d 100644
--- a/filter-ppc.sh
+++ b/filter-ppc.sh
@@ -2,7 +2,7 @@
# This is the ppc override file for the core/drivers package split. The
# module directories listed here and in the generic list in filter-modules.sh
-# will be moved to the resulting kernel-drivers package for this arch.
+# will be moved to the resulting kernel-modules package for this arch.
# Anything not listed in those files will be in the kernel-core package.
#
# Please review the default list in filter-modules.sh before making
diff --git a/filter-ppc64.sh b/filter-ppc64.sh
index 8d58c4a1e..99a41b8e7 100644
--- a/filter-ppc64.sh
+++ b/filter-ppc64.sh
@@ -2,7 +2,7 @@
# This is the ppc64 override file for the core/drivers package split. The
# module directories listed here and in the generic list in filter-modules.sh
-# will be moved to the resulting kernel-drivers package for this arch.
+# will be moved to the resulting kernel-modules package for this arch.
# Anything not listed in those files will be in the kernel-core package.
#
# Please review the default list in filter-modules.sh before making
diff --git a/filter-ppc64le.sh b/filter-ppc64le.sh
index 53a21f9d2..51635e2fd 100644
--- a/filter-ppc64le.sh
+++ b/filter-ppc64le.sh
@@ -2,7 +2,7 @@
# This is the ppc64le override file for the core/drivers package split. The
# module directories listed here and in the generic list in filter-modules.sh
-# will be moved to the resulting kernel-drivers package for this arch.
+# will be moved to the resulting kernel-modules package for this arch.
# Anything not listed in those files will be in the kernel-core package.
#
# Please review the default list in filter-modules.sh before making
diff --git a/filter-s390x.sh b/filter-s390x.sh
index cf8640624..04f7110ad 100644
--- a/filter-s390x.sh
+++ b/filter-s390x.sh
@@ -2,7 +2,7 @@
# This is the s390x override file for the core/drivers package split. The
# module directories listed here and in the generic list in filter-modules.sh
-# will be moved to the resulting kernel-drivers package for this arch.
+# will be moved to the resulting kernel-modules package for this arch.
# Anything not listed in those files will be in the kernel-core package.
#
# Please review the default list in filter-modules.sh before making
diff --git a/filter-x86_64.sh b/filter-x86_64.sh
index 2a0b2d7b0..1aa80f2e0 100644
--- a/filter-x86_64.sh
+++ b/filter-x86_64.sh
@@ -2,7 +2,7 @@
# This is the x86_64 override file for the core/drivers package split. The
# module directories listed here and in the generic list in filter-modules.sh
-# will be moved to the resulting kernel-drivers package for this arch.
+# will be moved to the resulting kernel-modules package for this arch.
# Anything not listed in those files will be in the kernel-core package.
#
# Please review the default list in filter-modules.sh before making
diff --git a/kernel.spec b/kernel.spec
index 340d343c5..39ad63d3f 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -34,7 +34,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be appended after the rcX and
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
#
-%global baserelease 3
+%global baserelease 4
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@@ -397,7 +397,7 @@ Release: %{pkg_release}
ExclusiveArch: %{all_x86} x86_64 ppc ppc64 ppc64p7 s390 s390x %{arm} aarch64 ppc64le
ExclusiveOS: Linux
Requires: kernel-%{?variant:%{variant}-}core-uname-r = %{KVERREL}%{?variant}
-Requires: kernel-%{?variant:%{variant}-}drivers-uname-r = %{KVERREL}%{?variant}
+Requires: kernel-%{?variant:%{variant}-}modules-uname-r = %{KVERREL}%{?variant}
#
@@ -848,28 +848,28 @@ Provides: kernel%{?1:-%{1}}-modules-extra = %{version}-%{release}%{?1:+%{1}}\
Provides: installonlypkg(kernel-module)\
Provides: kernel%{?1:-%{1}}-modules-extra-uname-r = %{KVERREL}%{?1:+%{1}}\
Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\
-Requires: kernel-drivers-uname-r = %{KVERREL}%{?1:+%{1}}\
+Requires: kernel-modules-uname-r = %{KVERREL}%{?1:+%{1}}\
AutoReqProv: no\
%description -n kernel%{?variant}%{?1:-%{1}}-modules-extra\
This package provides less commonly used kernel modules for the %{?2:%{2} }kernel package.\
%{nil}
#
-# This macro creates a kernel-<subpackage>-drivers package.
-# %%kernel_drivers_package <subpackage> <pretty-name>
+# This macro creates a kernel-<subpackage>-modules package.
+# %%kernel_modules_package <subpackage> <pretty-name>
#
-%define kernel_drivers_package() \
-%package %{?1:%{1}-}drivers\
+%define kernel_modules_package() \
+%package %{?1:%{1}-}modules\
Summary: kernel modules to match the %{?2:%{2}-}core kernel\
Group: System Environment/Kernel\
-Provides: kernel%{?1:-%{1}}-drivers-%{_target_cpu} = %{version}-%{release}\
-Provides: kernel-drivers-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
-Provides: kernel-drivers = %{version}-%{release}%{?1:+%{1}}\
+Provides: kernel%{?1:-%{1}}-modules-%{_target_cpu} = %{version}-%{release}\
+Provides: kernel-modules-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
+Provides: kernel-modules = %{version}-%{release}%{?1:+%{1}}\
Provides: installonlypkg(kernel-module)\
-Provides: kernel-drivers-uname-r = %{KVERREL}%{?1:+%{1}}\
+Provides: kernel-modules-uname-r = %{KVERREL}%{?1:+%{1}}\
Requires: kernel-uname-r = %{KVERREL}%{?1:+%{1}}\
AutoReqProv: no\
-%description -n kernel%{?variant}%{?1:-%{1}}-drivers\
+%description -n kernel%{?variant}%{?1:-%{1}}-modules\
This package provides commonly used kernel modules for the %{?2:%{2}-}core kernel package.\
%{nil}
@@ -882,7 +882,7 @@ This package provides commonly used kernel modules for the %{?2:%{2}-}core kerne
summary: kernel meta-package for the %{1} kernel\
group: system environment/kernel\
Requires: kernel-%{1}-%{?variant:%{variant}-}core-uname-r = %{KVERREL}%{?variant}+%{1}\
-Requires: kernel-%{1}-%{?variant:%{variant}-}drivers-uname-r = %{KVERREL}%{?variant}+%{1}\
+Requires: kernel-%{1}-%{?variant:%{variant}-}modules-uname-r = %{KVERREL}%{?variant}+%{1}\
%description %{1}\
The meta-package for the %{1} kernel\
%{nil}
@@ -902,7 +902,7 @@ Provides: kernel-%{?1:%{1}-}core-uname-r = %{KVERREL}%{?1:+%{1}}\
%{expand:%%kernel_meta_package %{?1:%{1}}}\
%endif\
%{expand:%%kernel_devel_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\
-%{expand:%%kernel_drivers_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\
+%{expand:%%kernel_modules_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\
%if %{with_extra}\
%{expand:%%kernel_modules_extra_package %{?1:%{1}} %{!?{-n}:%{1}}%{?{-n}:%{-n*}}}\
%endif\
@@ -1652,7 +1652,7 @@ BuildKernel() {
%endif
#
- # Generate the kernel-core and kernel-drivers files lists
+ # Generate the kernel-core and kernel-modules files lists
#
# Copy the System.map file for depmod to use, and create a backup of the
@@ -1665,8 +1665,8 @@ BuildKernel() {
# don't include anything going into k-m-e in the file lists
rm -rf lib/modules/$KernelVer/extra
- # Find all the module files and filter them out into the core and drivers
- # lists. This actually removes anything going into -drivers from the dir.
+ # Find all the module files and filter them out into the core and modules
+ # lists. This actually removes anything going into -modules from the dir.
find lib/modules/$KernelVer/kernel -name *.ko | sort -n > modules.list
cp $RPM_SOURCE_DIR/filter-*.sh .
%{SOURCE99} modules.list %{_target_cpu}
@@ -1698,7 +1698,7 @@ BuildKernel() {
# Make sure the files lists start with absolute paths or rpmbuild fails.
# Also add in the dir entries
- sed -e 's/^lib*/\/lib/' $RPM_BUILD_ROOT/k-d.list > ../kernel${Flavour:+-${Flavour}}-drivers.list
+ sed -e 's/^lib*/\/lib/' $RPM_BUILD_ROOT/k-d.list > ../kernel${Flavour:+-${Flavour}}-modules.list
sed -e 's/^lib*/%dir \/lib/' $RPM_BUILD_ROOT/module-dirs.list > ../kernel${Flavour:+-${Flavour}}-core.list
sed -e 's/^lib*/\/lib/' $RPM_BUILD_ROOT/modules.list >> ../kernel${Flavour:+-${Flavour}}-core.list
@@ -1987,15 +1987,15 @@ fi\
%{nil}
#
-# This macro defines a %%post script for a kernel*-drivers package.
+# This macro defines a %%post script for a kernel*-modules package.
# It also defines a %%postun script that does the same thing.
-# %%kernel_drivers_post [<subpackage>]
+# %%kernel_modules_post [<subpackage>]
#
-%define kernel_drivers_post() \
-%{expand:%%post %{?1:%{1}-}drivers}\
+%define kernel_modules_post() \
+%{expand:%%post %{?1:%{1}-}modules}\
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
%{nil}\
-%{expand:%%postun %{?1:%{1}-}drivers}\
+%{expand:%%postun %{?1:%{1}-}modules}\
/sbin/depmod -a %{KVERREL}%{?1:+%{1}}\
%{nil}
@@ -2015,7 +2015,7 @@ fi\
#
%define kernel_variant_post(v:r:) \
%{expand:%%kernel_devel_post %{?-v*}}\
-%{expand:%%kernel_drivers_post %{?-v*}}\
+%{expand:%%kernel_modules_post %{?-v*}}\
%if %{with_extra}\
%{expand:%%kernel_modules_extra_post %{?-v*}}\
%endif\
@@ -2170,7 +2170,7 @@ fi
/etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:+%{2}}.conf\
%endif\
/lib/modules/%{KVERREL}%{?2:+%{2}}/modules.*\
-%{expand:%%files -f kernel-%{?2:%{2}-}drivers.list %{?2:%{2}-}drivers}\
+%{expand:%%files -f kernel-%{?2:%{2}-}modules.list %{?2:%{2}-}modules}\
%defattr(-,root,root)\
%{expand:%%files %{?2:%{2}-}devel}\
%defattr(-,root,root)\
@@ -2215,6 +2215,7 @@ fi
# || ||
%changelog
* Thu May 01 2014 Josh Boyer <jwboyer@fedoraproject.org>
+- Rename kernel-drivers to kernel-modules
- Add kernel metapackages for all flavors, not just debug
* Thu May 1 2014 Hans de Goede <hdegoede@redhat.com>