%global __spec_install_pre %{___build_pre} %undefine __brp_mangle_shebangs # Define the version of the Linux Kernel Archive tarball. %define LKAver 5.15.156 %define patchversion 5.15-156 %define variant %{?build_variant:%{build_variant}}%{!?build_variant:-rx} # Define the buildid, if required. #define buildid . # The following build options are enabled by default. # Use either --without <option> on your rpmbuild command line # or force the values to 0, here, to disable them. # kernel-rx %define with_default 1 #%{?_without_default: 0} %{?!_without_default: 1} # kernel-rx-doc %define with_doc %{?_without_doc: 0} %{?!_without_doc: 1} # kernel-rx-headers %define with_headers %{?_without_headers: 0} %{?!_without_headers: 1} # perf %define with_perf %{?_without_perf: 0} %{?!_without_perf: 1} # tools %define with_tools %{?_without_tools: 0} %{?!_without_tools: 1} # bpf tool %define with_bpftool %{?_without_bpftool: 0} %{?!_without_bpftool: 1} # sparse %define with_sparse %{?_with_sparse: 1} %{?!_with_sparse: 0} # These architectures install vdso/ directories. %define vdso_arches i686 x86_64 # Architectures we build tools/cpupower on %define cpupowerarchs x86_64 ppc64le aarch64 # Architecture defaults. %define asmarch x86 %define buildarch %{_target_cpu} %define hdrarch %{_target_cpu} # Per-architecture tweaks. %ifarch noarch # Documentation only. %define with_default 0 %define with_headers 0 %define with_perf 0 %define with_tools 0 %define with_bpftool 0 %endif %ifarch i686 # 32-bit kernel-rx, headers, perf & tools. %define buildarch i386 %define hdrarch i386 %define with_doc 0 %endif %ifarch x86_64 # 64-bit kernel-rx, headers, perf & tools. %define with_doc 0 %endif # Determine the sublevel number and set pkg_version. %define sublevel %(echo %{LKAver} | %{__awk} -F\. '{ print $3 }') %if "%{sublevel}" == "" %define pkg_version %{LKAver}.0 %else %define pkg_version %{LKAver} %endif # Set pkg_release. %define pkg_release 1%{?buildid}%{?dist} %define KVERREL %{pkg_version}-%{pkg_release}.%{_target_cpu} # Sign the x86_64 kernel for secure boot authentication %ifarch x86_64 %global signkernel 1 %else %global signkernel 0 %endif # Sign modules on all arches %global signmodules 1 %define __python /usr/bin/python3 # sparse blows up on ppc64 alpha and sparc64 %ifarch ppc64 ppc alpha sparc64 %define with_sparse 0 %endif # # Three sets of minimum package version requirements in the form of Conflicts. # # # First the general kernel required versions, as per Documentation/Changes. # %define kernel_dot_org_conflicts ppp < 2.4.3-3, isdn4k-utils < 3.2-32, nfs-utils < 1.0.7-12, e2fsprogs < 1.37-4, util-linux < 2.12, jfsutils < 1.1.7-2, reiserfs-utils < 3.6.19-2, procps < 3.2.5-6.3, oprofile < 0.9.1-2 # # Then a series of requirements that are distribution specific, either because # the older versions have problems with the newer kernel or lack certain things # that make integration in the distro harder than needed. # %define package_conflicts xfsprogs < 4.3.0-1, xorg-x11-drv-vmmouse < 13.0.99 # # We moved the drm include files into kernel-headers, make sure there's # a recent enough libdrm-devel on the system that doesn't have those. # %define kernel_headers_conflicts libdrm-devel < 2.4.0-0.15 # # Packages that need to be installed before the kernel because the %%post scripts make use of them. # %define kernel_prereq coreutils, systemd >= 203-2, /usr/bin/kernel-install %define initrd_prereq dracut >= 027 Name: kernel%{variant} Summary: The Linux kernel. (The core of any Linux-based operating system.) Group: System Environment/Kernel License: GPLv2 URL: https://www.kernel.org/ Version: %{pkg_version} Release: %{pkg_release} ################################## ExclusiveArch: noarch i686 x86_64 #ExclusiveArch: noarch x86_64 ################################## ExclusiveOS: Linux Provides: kernel = %{version}-%{release} Provides: kernel-%{_target_cpu} = %{version}-%{release} Provides: kernel-uname-r = %{version}-%{release}.%{_target_cpu} Provides: kernel-drm-nouveau = 16 Provides: %{name} = %{version}-%{release} Provides: %{name}-%{_target_cpu} = %{version}-%{release} Provides: %{name}-uname-r = %{version}-%{release}.%{_target_cpu} Requires(pre): %{kernel_prereq} Requires(pre): %{initrd_prereq} Requires(pre): linux-firmware >= 20100806-2 Requires(pre): system-release Requires(post): /usr/bin/kernel-install Requires(preun): /usr/bin/kernel-install Requires: numactl-libs Conflicts: %{kernel_dot_org_conflicts} Conflicts: %{package_conflicts} # We can't let RPM do the dependencies automatically because it'll then pick up # a correct but undesirable perl dependency from the module headers which # isn't required for the kernel-rx proper to function. AutoReq: no AutoProv: yes # # List the packages used during the kernel-rx build. # BuildRequires: python3 BuildRequires: python3-devel %if %{with_sparse} BuildRequires: sparse >= 0.4.1 %endif BuildRequires: asciidoc BuildRequires: bash BuildRequires: bc BuildRequires: binutils BuildRequires: diffutils BuildRequires: findutils BuildRequires: gawk %if 0%{?rhel} > 7 BuildRequires: gcc %else BuildRequires: devtoolset-8-gcc devtoolset-8-build %endif BuildRequires: gzip BuildRequires: hostname BuildRequires: m4 BuildRequires: make BuildRequires: module-init-tools BuildRequires: net-tools BuildRequires: openssl BuildRequires: patch >= 2.5.4 BuildRequires: perl BuildRequires: redhat-rpm-config >= 9.1.0-55 BuildRequires: sh-utils BuildRequires: tar BuildRequires: xmlto BuildRequires: xz BuildRequires: rsync BuildRequires: dwarves >= 1.20 BuildRequires: elfutils-devel BuildRequires: elfutils-libelf-devel %if 0%{?rhel} > 7 BuildRequires: libbpf-devel BuildRequires: libtraceevent-devel %endif BuildRequires: libdwarf-devel BuildRequires: libcap-devel BuildRequires: libzstd-devel BuildRequires: openssl-devel BuildRequires: libbabeltrace-devel %if %{with_perf} BuildRequires: bison BuildRequires: flex BuildRequires: zlib-devel BuildRequires: binutils-devel BuildRequires: newt-devel BuildRequires: xz-devel BuildRequires: audit-libs-devel BuildRequires: java-devel BuildRequires: perl(ExtUtils::Embed) %ifnarch s390x BuildRequires: numactl-devel %endif %endif %if %{with_tools} BuildRequires: gettext BuildRequires: pciutils BuildRequires: pciutils-devel BuildRequires: ncurses-devel BuildRequires: zlib-devel %endif %if %{with_bpftool} BuildRequires: python3-docutils BuildRequires: zlib-devel BuildRequires: binutils-devel %endif %if %{signkernel}%{signmodules} BuildRequires: openssl BuildRequires: openssl-devel %if %{signkernel} %ifarch x86_64 aarch64 BuildRequires: nss-tools BuildRequires: pesign >= 0.10-4 %endif %endif %endif # Sources. Source0: ftp://ftp.kernel.org/pub/linux/kernel/v5.x/linux-%{LKAver}.tar.xz Source1: Makefile.rhelver%{dist} Source3: config-%{version}-x86_64 Source4: cpupower.service Source5: cpupower.config Source6: kvm_stat.logrotate Source11: x509.genkey Source12: centos-ca-secureboot.der Source13: centossecureboot001.crt %define secureboot_ca %{SOURCE12} %define secureboot_key %{SOURCE13} %define pesign_name centossecureboot001 Source23: turbostat Source9000: centos.pem Patch1: patch-%{patchversion}-redhat.patch # Do not package the source tarball. # NoSource: 0 %description This package provides the Linux kernel (vmlinuz), the core of any Linux-based operating system. The kernel handles the basic functions of the OS: memory allocation, process allocation, device I/O, etc. %package devel Summary: Development package for building kernel modules to match the kernel. Group: System Environment/Kernel Provides: kernel-devel = %{version}-%{release} Provides: kernel-devel-%{_target_cpu} = %{version}-%{release} Provides: kernel-devel-uname-r = %{version}-%{release}.%{_target_cpu} Provides: %{name}-devel = %{version}-%{release} Provides: %{name}-devel-%{_target_cpu} = %{version}-%{release} Provides: %{name}-devel-uname-r = %{version}-%{release}.%{_target_cpu} AutoReqProv: no Requires(pre): /usr/bin/find Requires: perl Requires: %{name} %description devel This package provides the kernel header files and makefiles sufficient to build modules against the kernel package. %if %{with_doc} %package doc Summary: Various bits of documentation found in the kernel sources. Group: Documentation Provides: kernel-doc = %{version}-%{release} Provides: %{name}-doc = %{version}-%{release} Conflicts: kernel-doc < %{version}-%{release} %description doc This package provides documentation files from the kernel sources. Various bits of information about the Linux kernel and the device drivers shipped with it are documented in these files. You'll want to install this package if you need a reference to the options that can be passed to the kernel modules at load time. %endif %if %{with_headers} %package headers Summary: Header files of the kernel, for use by glibc. Group: Development/System Obsoletes: glibc-kernheaders < 3.0-46 Provides: glibc-kernheaders = 3.0-46 Provides: kernel-headers = %{version}-%{release} Provides: %{name}-headers = %{version}-%{release} Conflicts: kernel-headers < %{version}-%{release} %description headers This package provides the C header files that specify the interface between the Linux kernel and userspace libraries & programs. The header files define structures and constants that are needed when building most standard programs. They are also required when rebuilding the glibc package. %endif %if %{with_perf} %package -n perf Summary: Performance monitoring of the kernel. Group: Development/System License: GPLv2 %description -n perf This package provides the perf tool and the supporting documentation for performance monitoring of the Linux kernel. %package -n python3-perf Summary: Python bindings for apps which will manipulate perf events Group: Development/Libraries %description -n python3-perf The python3-perf package contains a module that permits applications written in the Python programming language to use the interface to manipulate perf events. %endif %if %{with_tools} %package -n %{name}-tools Summary: Assortment of tools for the kernel. Group: Development/System License: GPLv2 Provides: cpupowerutils = 1:009-0.6.p1 Obsoletes: cpupowerutils < 1:009-0.6.p1 Provides: cpufreq-utils = 1:009-0.6.p1 Obsoletes: cpufreq-utils < 1:009-0.6.p1 Provides: cpufrequtils = 1:009-0.6.p1 Obsoletes: cpufrequtils < 1:009-0.6.p1 Obsoletes: cpuspeed < 1:2.0 Requires: %{name}-tools-libs = %{version}-%{release} Conflicts: kernel-tools < %{version}-%{release} %description -n %{name}-tools This package contains the tools/ directory and its supporting documentation, derived from the kernel source. %package -n %{name}-tools-libs Summary: Libraries for the kernel tools. Group: Development/System License: GPLv2 Conflicts: kernel-tools-libs < %{version}-%{release} %description -n %{name}-tools-libs This package contains the libraries built from the tools/ directory, derived from the kernel source. %package -n %{name}-tools-libs-devel Summary: Development package for the kernel tools libraries. Group: Development/System License: GPLv2 Requires: %{name}-tools = %{version}-%{release} Requires: %{name}-tools-libs = %{version}-%{release} Provides: cpupowerutils-devel = 1:009-0.6.p1 Obsoletes: cpupowerutils-devel < 1:009-0.6.p1 Provides: %{name}-tools-devel Conflicts: kernel-tools-libs-devel < %{version}-%{release} %description -n %{name}-tools-libs-devel This package contains the development files for the tools/ directory libraries, derived from the kernel source. %endif %if %{with_bpftool} %package -n bpftool Summary: Inspection and simple manipulation of eBPF programs and maps License: GPLv2 %description -n bpftool This package contains the bpftool, which allows inspection and simple manipulation of eBPF programs and maps. %package -n bpftool-debuginfo Summary: Debug information for package bpftool Group: Development/Debug Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release} AutoReqProv: no %description -n bpftool-debuginfo This package provides debug information for the bpftool package. %{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_sbindir}/bpftool(\.debug)?|XXX' -o bpftool-debuginfo.list} %endif # with_bpftool # Disable the building of the debug package(s). %define debug_package %{nil} %prep %setup -q -n %{name}-%{version} -c patch_command='patch -p1 -F1 -s' ApplyPatch() { local patch=$1 shift if [ ! -f $RPM_SOURCE_DIR/$patch ]; then exit 1 fi if ! grep -E "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME}.spec ; then if [ "${patch:0:8}" != "patch-5." ] ; then echo "ERROR: Patch $patch not listed as a source patch in specfile" exit 1 fi fi 2>/dev/null case "$patch" in *.bz2) bunzip2 < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; *.gz) gunzip < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; *.xz) unxz < "$RPM_SOURCE_DIR/$patch" | $patch_command ${1+"$@"} ;; *) $patch_command ${1+"$@"} < "$RPM_SOURCE_DIR/$patch" ;; esac } # don't apply patch if it's empty ApplyOptionalPatch() { local patch=$1 shift if [ ! -f $RPM_SOURCE_DIR/$patch ]; then exit 1 fi local C=$(wc -l $RPM_SOURCE_DIR/$patch | awk '{print $1}') if [ "$C" -gt 9 ]; then ApplyPatch $patch ${1+"$@"} fi } cp -v %{SOURCE9000} linux-%{LKAver}/certs/rhel.pem %{__mv} linux-%{LKAver} linux-%{version}-%{release}.%{_target_cpu} pushd linux-%{version}-%{release}.%{_target_cpu} cp -a %{SOURCE1} ./Makefile.rhelver ApplyOptionalPatch patch-%{patchversion}-redhat.patch %{__cp} %{SOURCE3} . %if 0%{?rhel} > 7 # Mangle /usr/bin/python shebangs to /usr/bin/python3 # Mangle all Python shebangs to be Python 3 explicitly # -p preserves timestamps # -n prevents creating ~backup files # -i specifies the interpreter for the shebang # This fixes errors such as # *** ERROR: ambiguous python shebang in /usr/bin/kvm_stat: #!/usr/bin/python. Change it to python3 (or python2) explicitly. # We patch all sources below for which we got a report/error. pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \ tools/kvm/kvm_stat/kvm_stat \ scripts/show_delta \ scripts/diffconfig \ scripts/bloat-o-meter \ scripts/jobserver-exec \ tools \ Documentation \ scripts/tracing \ scripts/clang-tools %endif # Run make listnewconfig over all the configuration files. %ifarch i686 || x86_64 for C in config-*-%{_target_cpu}* do %{__cp} $C .config %{__make} -s ARCH=%{buildarch} listnewconfig | grep -E '^CONFIG_' > .newoptions || true if [ -s .newoptions ]; then cat .newoptions exit 1 fi %{__rm} .newoptions done %endif # Remove unnecessary files. /usr/bin/find . -type f \( -name .gitignore -o -name .mailmap \) | xargs --no-run-if-empty %{__rm} -f popd %build %if 0%{?rhel} < 8 %enable_devtoolset8 %endif %if %{with_sparse} %define sparse_mflags C=1 %endif BuildKernel() { Flavour=$1 %{__make} -s distclean # Select the correct flavour configuration file. if [ -z "${Flavour}" ]; then %{__cp} config-%{version}-%{_target_cpu} .config else %{__cp} config-%{version}-%{_target_cpu}-${Flavour} .config fi %define KVRFA %{version}-%{release}${Flavour}.%{_target_cpu} Flav=${Flavour:++${Flavour}} %if %{signkernel}%{signmodules} cp %{SOURCE11} certs/. %endif # Set the EXTRAVERSION string in the main Makefile. %{__perl} -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}${Flavour}.%{_target_cpu}/" Makefile %{__make} -s ARCH=%{buildarch} %{?_smp_mflags} bzImage %{?sparse_mflags} %{?kernel_mflags} %{__make} -s ARCH=%{buildarch} %{?_smp_mflags} modules %{?sparse_mflags} || exit 1 # Install the results into the RPM_BUILD_ROOT directory. %{__mkdir_p} $RPM_BUILD_ROOT/boot %{__install} -m 644 .config $RPM_BUILD_ROOT/boot/config-%{KVRFA} %{__install} -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-%{KVRFA} # We estimate the size of the initramfs because rpm needs to take this size # into consideration when performing disk space calculations. (See bz #530778) dd if=/dev/zero of=$RPM_BUILD_ROOT/boot/initramfs-%{KVRFA}.img bs=1M count=20 %if %{signkernel} # Sign the image if we're using EFI %pesign -s -i arch/x86/boot/bzImage -o arch/x86/boot/bzImage.signed -a %{secureboot_ca} -c %{secureboot_key} -n %{pesign_name} %{__cp} arch/x86/boot/bzImage.signed $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %else %{__cp} arch/x86/boot/bzImage $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %endif %{__chmod} 755 $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA} %{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/kernel # Override $(mod-fw) because we don't want it to install any firmware. # We'll get it from the linux-firmware package and we don't want conflicts. %{__make} -s ARCH=%{buildarch} INSTALL_MOD_PATH=$RPM_BUILD_ROOT KERNELRELEASE=%{KVRFA} modules_install mod-fw= %ifarch %{vdso_arches} %{__make} -s ARCH=%{buildarch} INSTALL_MOD_PATH=$RPM_BUILD_ROOT KERNELRELEASE=%{KVRFA} vdso_install /usr/bin/find $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/vdso -type f -name 'vdso*.so' | xargs --no-run-if-empty %{__strip} if [ ! -s ldconfig-%{name}.conf ]; then echo > ldconfig-%{name}.conf "\ # Placeholder file, no vDSO hwcap entries used in this kernel." fi %{__install} -D -m 444 ldconfig-%{name}.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{KVRFA}.conf %endif # Save the headers/makefiles, etc, for building modules against. # # This looks scary but the end result is supposed to be: # # - all arch relevant include/ files # - all Makefile & Kconfig files # - all script/ files # %{__rm} -f $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build %{__rm} -f $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/source %{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build pushd $RPM_BUILD_ROOT/lib/modules/%{KVRFA} > /dev/null %{__ln_s} build source popd > /dev/null %{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/extra %{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/updates %{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/weak-updates # First copy everything . . . %{__cp} --parents `/usr/bin/find -type f -name 'Makefile*' -o -name 'Kconfig*'` $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build %{__cp} Module.symvers $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build %{__cp} System.map $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build if [ -s Module.markers ]; then %{__cp} Module.markers $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build fi %{__gzip} -c9 < Module.symvers > $RPM_BUILD_ROOT/boot/symvers-%{KVRFA}.gz # . . . then drop all but the needed Makefiles & Kconfig files. %{__rm} -rf $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/Documentation %{__rm} -rf $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/scripts %{__rm} -rf $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include %{__cp} .config $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build %{__cp} -a scripts $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build if [ -d arch/%{buildarch}/scripts ]; then %{__cp} -a arch/%{buildarch}/scripts $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/arch/%{_arch} || : fi if [ -f arch/%{buildarch}/*lds ]; then %{__cp} -a arch/%{buildarch}/*lds $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/arch/%{_arch}/ || : fi %{__rm} -f $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/scripts/*.o %{__rm} -f $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/scripts/*/*.o if [ -d arch/%{asmarch}/include ]; then %{__cp} -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/ fi if [ -d arch/%{asmarch}/syscalls ]; then %{__cp} -a --parents arch/%{asmarch}/syscalls $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/ fi %{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include pushd include > /dev/null %{__cp} -a * $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/ popd > /dev/null %{__rm} -f $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/Kbuild # Ensure a copy of the version.h file is in the include/linux/ directory. %{__cp} usr/include/linux/version.h $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/linux/ # Copy the generated autoconf.h file to the include/linux/ directory. %{__cp} include/generated/autoconf.h $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/linux/ # Copy .config to include/config/auto.conf so a "make prepare" is unnecessary. %{__cp} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/.config $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/config/auto.conf # Now ensure that the Makefile, .config, auto.conf, autoconf.h and version.h files # all have matching timestamps so that external modules can be built. touch -r $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/Makefile $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/.config touch -r $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/Makefile $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/config/auto.conf touch -r $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/Makefile $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/linux/autoconf.h touch -r $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/Makefile $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/linux/version.h touch -r $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/Makefile $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/generated/autoconf.h touch -r $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/Makefile $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build/include/generated/uapi/linux/version.h # Remove any 'left-over' .cmd files. /usr/bin/find $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build -type f -name '*.cmd' | xargs --no-run-if-empty %{__rm} -f /usr/bin/find $RPM_BUILD_ROOT/lib/modules/%{KVRFA} -type f -name '*.ko' > modnames # Mark the modules executable, so that strip-to-file can strip them. xargs --no-run-if-empty %{__chmod} u+x < modnames # Generate a list of modules for block and networking. grep -F /drivers/ modnames | xargs --no-run-if-empty nm -upA | sed -n 's,^.*/\([^/]*\.ko\): *U \(.*\)$,\1 \2,p' > drivers.undef collect_modules_list() { sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef | LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/modules.$1 if [ ! -z "$3" ]; then sed -r -e "/^($3)\$/d" -i $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/modules.$1 fi } collect_modules_list networking \ 'register_netdev|ieee80211_register_hw|usbnet_probe|phy_driver_register|rt2x00(pci|usb)_probe|register_netdevice' collect_modules_list block \ 'ata_scsi_ioctl|scsi_add_host|scsi_add_host_with_dma|blk_alloc_queue|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler|blk_queue_physical_block_size|pktcdvd.ko|dm-mod.ko' collect_modules_list drm \ 'drm_open|drm_init' collect_modules_list modesetting \ 'drm_crtc_init' # Detect any missing or incorrect license tags. %{__rm} -f modinfo while read i do echo -n "${i#$RPM_BUILD_ROOT/lib/modules/%{KVRFA}/} " >> modinfo %{_sbindir}/modinfo -l $i >> modinfo done < modnames grep -E -v 'GPL( v2)?$|Dual BSD/GPL$|Dual MPL/GPL$|GPL and additional rights$' modinfo && exit 1 %{__rm} -f modinfo modnames # Remove all the files that will be auto generated by depmod at the kernel install time. for i in alias alias.bin builtin.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap do %{__rm} -f $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/modules.$i done %if %{signmodules} # Save the signing keys so we can sign the modules in __modsign_install_post cp certs/signing_key.pem certs/signing_key.pem.sign${Flav} cp certs/signing_key.x509 certs/signing_key.x509.sign${Flav} %endif # Move the development files out of the /lib/modules/ file system. %{__mkdir_p} $RPM_BUILD_ROOT/usr/src/kernels %{__mv} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build $RPM_BUILD_ROOT/usr/src/kernels/%{KVRFA} %{__ln_s} -f /usr/src/kernels/%{KVRFA} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}/build } # Prepare the directories. %{__rm} -rf $RPM_BUILD_ROOT %{__mkdir_p} $RPM_BUILD_ROOT/boot %{__mkdir_p} $RPM_BUILD_ROOT%{_libexecdir} pushd linux-%{version}-%{release}.%{_target_cpu} > /dev/null %if %{with_default} BuildKernel %endif %if %{with_doc} # Make the HTML and man pages. %{__make} -s %{?_smp_mflags} htmldocs 2> /dev/null %{__make} -s %{?_smp_mflags} mandocs 2> /dev/null # Sometimes non-world-readable files sneak into the kernel source tree. %{__chmod} -R a=rX Documentation /usr/bin/find Documentation -type d | xargs %{__chmod} u+w %endif %global perf_make \ %{__make} %{?make_opts} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?cross_opts} -C tools/perf V=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 LIBBPF_DYNAMIC=1 LIBTRACEEVENT_DYNAMIC=1 %{?perf_build_extra_opts} prefix=%{_prefix} PYTHON=%{__python} %if %{with_perf} #global perf_make \ # {__make} -s -C tools/perf %{?_smp_mflags} prefix=%{_prefix} WERROR=0 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 chmod +x tools/perf/check-headers.sh %{perf_make} DESTDIR=$RPM_BUILD_ROOT all %endif %global tools_make \ %{__make} -s CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %global tools_cf_make \ %{__make} CFLAGS="-I../../include/uapi -I../../include -fPIC ${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?make_opts} %if %{with_tools} %ifarch %{cpupowerarchs} # Make sure that version-gen.sh is executable. chmod +x tools/power/cpupower/utils/version-gen.sh %{tools_make} -C tools/power/cpupower CPUFREQ_BENCH=false DEBUG=false %ifarch x86_64 pushd tools/power/cpupower/debug/x86_64 %{tools_make} all popd pushd tools/power/x86/x86_energy_perf_policy %{tools_make} popd pushd tools/power/x86/turbostat %{tools_make} popd %endif %endif pushd tools/thermal/tmon/ %{tools_make} popd pushd tools/iio/ %{tools_cf_make} popd pushd tools/gpio/ %{tools_cf_make} popd %if 0%{?rhel} >= 8 %global iouring_make \ %{__make} CFLAGS="-D_GNU_SOURCE ${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" pushd tools/io_uring/ %{iouring_make} popd %endif %global bpftool_make \ %{__make} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" EXTRA_LDFLAGS="%{__global_ldflags}" DESTDIR=$RPM_BUILD_ROOT %{?make_opts} VMLINUX_H="${RPM_VMLINUX_H}" V=1 %if %{with_bpftool} pushd tools/bpf/bpftool %{bpftool_make} popd %endif pushd tools/vm/ %{tools_make} slabinfo page_owner_sort popd %endif popd %install pushd linux-%{version}-%{release}.%{_target_cpu} %if %{with_headers} # We have to do the headers install before the tools install because the # kernel headers_install will remove any header files in /usr/include that # it doesn't install itself. # Install kernel headers %{__make} -s ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install # Do headers_check but don't die if it fails. %{__make} -s ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_check > hdrwarnings.txt || : if grep -q exist hdrwarnings.txt; then sed s:^$RPM_BUILD_ROOT/usr/include/:: hdrwarnings.txt # Temporarily cause a build failure if header inconsistencies. # exit 1 fi # Remove the unrequired files. /usr/bin/find $RPM_BUILD_ROOT/usr/include -type f \ \( -name .install -o -name .check -o -name ..install.cmd -o -name ..check.cmd \) | \ xargs --no-run-if-empty %{__rm} -f %endif %if %{with_doc} DOCDIR=$RPM_BUILD_ROOT%{_datadir}/doc/%{name}-doc-%{version} MAN9DIR=$RPM_BUILD_ROOT%{_datadir}/man/man9 # Copy the documentation over. %{__mkdir_p} $DOCDIR %{__tar} -f - --exclude=man --exclude='.*' -c Documentation | %{__tar} xf - -C $DOCDIR # Install the man pages for the kernel API. %{__mkdir_p} $MAN9DIR /usr/bin/find Documentation/DocBook/man -type f -name '*.9.gz' -print0 \ | xargs -0 --no-run-if-empty %{__cp} -u -t $MAN9DIR /usr/bin/find $MAN9DIR -type f -name '*.9.gz' -print0 \ | xargs -0 --no-run-if-empty %{__chmod} 644 ls $MAN9DIR | grep -q '' || > $MAN9DIR/BROKEN %endif # CentOS UEFI Secure Boot CA cert, which can be used to authenticate the kernel mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/%{version}-%{release}.%{_target_cpu}${Flav} install -m 0644 %{secureboot_ca} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/%{version}-%{release}.%{_target_cpu}${Flav}/kernel-signing-ca.cer %if %{with_perf} # perf tool binary and supporting scripts/binaries %{perf_make} DESTDIR=$RPM_BUILD_ROOT lib=%{_lib} install-bin install-traceevent-plugins # remove the 'trace' symlink. rm -f %{buildroot}%{_bindir}/trace # For both of the below, yes, this should be using a macro but right now # it's hard coded and we don't actually want it anyway right now. # Whoever wants examples can fix it up! # remove examples rm -rf %{buildroot}/usr/lib/examples/perf # remove the stray header file that somehow got packaged in examples rm -rf %{buildroot}/usr/lib/include/perf/bpf/bpf.h # remove perf-bpf examples rm -rf %{buildroot}/usr/lib/perf/examples rm -rf %{buildroot}/usr/lib/perf/include # python-perf extension %{perf_make} DESTDIR=$RPM_BUILD_ROOT install-python_ext # perf man pages (note: implicit rpm magic compresses them later) mkdir -p %{buildroot}/%{_mandir}/man1 %{perf_make} DESTDIR=$RPM_BUILD_ROOT install-man %endif %if %{with_tools} %ifarch %{cpupowerarchs} %{__make} -C tools/power/cpupower DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install rm -f %{buildroot}%{_libdir}/*.{a,la} %find_lang cpupower mv cpupower.lang ../ %ifarch x86_64 pushd tools/power/cpupower/debug/x86_64 install -m755 centrino-decode %{buildroot}%{_bindir}/centrino-decode install -m755 powernow-k8-decode %{buildroot}%{_bindir}/powernow-k8-decode popd %endif chmod 0755 %{buildroot}%{_libdir}/libcpupower.so* mkdir -p %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig install -m644 %{SOURCE4} %{buildroot}%{_unitdir}/cpupower.service install -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/sysconfig/cpupower %endif %ifarch x86_64 %{__mkdir_p} %{buildroot}%{_mandir}/man8 echo "Installing perf" pushd tools/power/x86/x86_energy_perf_policy %{tools_make} DESTDIR=%{buildroot} install popd echo "Installing turbostat" pushd tools/power/x86/turbostat %{tools_make} DESTDIR=%{buildroot} install mv %{buildroot}%{_bindir}/turbostat %{buildroot}%{_libexecdir}/turbostat.%{version}-%{release}.%{_target_cpu} install -m 0755 %{SOURCE23} %{buildroot}%{_bindir}/turbostat popd /usr/bin/find %{buildroot}%{_mandir} -type f -print0 \ | xargs -0 --no-run-if-empty %{__chmod} 644 %endif echo "Installing tmon" pushd tools/thermal/tmon install -m 755 -p tmon %{buildroot}%{_bindir}/tmon popd %if 0%{?rhel} >= 8 echo "Installing io_uring tools" pushd tools/io_uring/ install -m 0755 -p io_uring-bench %{buildroot}%{_bindir}/io_uring-bench install -m 0755 -p io_uring-cp %{buildroot}%{_bindir}/io_uring-cp popd %endif echo "Installing iio" pushd tools/iio %{tools_cf_make} DESTDIR=%{buildroot} install popd echo "Installing gpio" pushd tools/gpio %{tools_cf_make} DESTDIR=%{buildroot} install popd echo "Installing kvm_stat" pushd tools/kvm/kvm_stat %{__make} INSTALL_ROOT=%{buildroot} install-tools %{__make} INSTALL_ROOT=%{buildroot} install-man install -m644 -D kvm_stat.service %{buildroot}%{_unitdir}/kvm_stat.service popd install -m644 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/kvm_stat echo "Installing VM tools" pushd tools/vm/ install -m755 slabinfo %{buildroot}%{_bindir}/slabinfo install -m755 page_owner_sort %{buildroot}%{_bindir}/page_owner_sort popd %if %{with_bpftool} echo "Installing bpftools" pushd tools/bpf/bpftool %{bpftool_make} prefix=%{_prefix} bash_compdir=%{_sysconfdir}/bash_completion.d/ mandir=%{_mandir} install doc-install popd %endif %endif popd echo "Installation done" %clean %{__rm} -rf $RPM_BUILD_ROOT # Scripts section. %if %{with_default} %if 0%{?rhel} <= 7 %posttrans %{_sbindir}/new-kernel-pkg --package %{name} --mkinitrd --dracut --depmod --update %{version}-%{release}.%{_target_cpu} || exit $? %{_sbindir}/new-kernel-pkg --package %{name} --rpmposttrans %{version}-%{release}.%{_target_cpu} || exit $? if [ -x %{_sbindir}/weak-modules ]; then %{_sbindir}/weak-modules --add-kernel %{version}-%{release}.%{_target_cpu} || exit $? fi %post %{_sbindir}/new-kernel-pkg --package %{name} --install %{version}-%{release}.%{_target_cpu} || exit $? %preun %{_sbindir}/new-kernel-pkg --rminitrd --rmmoddep --remove %{version}-%{release}.%{_target_cpu} || exit $? if [ -x %{_sbindir}/weak-modules ]; then %{_sbindir}/weak-modules --remove-kernel %{version}-%{release}.%{_target_cpu} || exit $? fi %post devel if [ -f /etc/sysconfig/kernel ]; then . /etc/sysconfig/kernel || exit $? fi if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]; then pushd /usr/src/kernels/%{version}-%{release}.%{_target_cpu} /usr/bin/find . -type f | while read f; do /usr/sbin/hardlink -c /usr/src/kernels/*.fc*.*/$f $f done popd fi %else # # This macro defines a %%post script for a kernel*-devel package. # %%kernel_devel_post [-o] [<subpackage>] # -o flag omits the hyphen preceding <subpackage> in the package name # %define kernel_devel_post(o) \ %{expand:%%post -n kernel%{?variant}%{?1:%{!-o:-}%{1}}-devel}\ if [ -f /etc/sysconfig/kernel ]\ then\ . /etc/sysconfig/kernel || exit $?\ fi\ if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\ then\ (cd /usr/src/kernels/%{version}-%{release}.%{_arch}%{?1:.%{1}} &&\ /usr/bin/find . -type f | while read f; do\ hardlink -c /usr/src/kernels/*.fc*.*/$f $f\ done)\ fi\ %{nil} # This macro defines a %%posttrans script for a kernel package. # %%kernel_variant_posttrans [-o] [<subpackage>] # -o flag omits the hyphen preceding <subpackage> in the package name # More text can follow to go at the end of this variant's %%post. # %define kernel_variant_posttrans(o) \ %{expand:%%posttrans -n kernel%{?variant}%{?1:%{!-o:-}%{1}}}\ if [ -x /sbin/weak-modules ]\ then\ /sbin/weak-modules --add-kernel %{KVERREL}%{?1:.%{1}} || exit $?\ fi\ /bin/kernel-install add %{KVERREL}%{?1:.%{1}} /lib/modules/%{KVERREL}%{?1:.%{1}}/vmlinuz || exit $?\ %{nil} # # This macro defines a %%post script for a kernel package and its devel package. # %%kernel_variant_post [-o][-u][-v <subpackage>] [-r <replace>] # -o flag omits the hyphen preceding <subpackage> in the package name # More text can follow to go at the end of this variant's %%post. # %define kernel_variant_post(ouv:r:) \ %{expand:%%kernel_devel_post %{-o:-o} %{!-u:%{?-v*}}}\ %{expand:%%kernel_variant_posttrans %{-o:-o} %{!-u:%{?-v*}}}\ %{expand:%%post -n kernel%{?variant}%{!-u:%{!-o:-}%{?-v*}}}\ %{-r:\ if [ `uname -i` == "x86_64" -o `uname -i` == "i386" -o `uname -i` == "aarch64" ] &&\ [ -f /etc/sysconfig/kernel ] &&\ [ $1 -eq 1 ]; then\ /bin/sed -r -i 's/^DEFAULTKERNEL=.*$/DEFAULTKERNEL=kernel%{?-v:-%{-v*}}/' /etc/sysconfig/kernel || exit $?\ fi}\ if grep --silent '^hwcap 0 nosegneg$' /etc/ld.so.conf.d/kernel-*.conf 2> /dev/null; then\ sed -i '/^hwcap 0 nosegneg$/ s/0/1/' /etc/ld.so.conf.d/kernel-*.conf\ fi\ %{nil} # # This macro defines a %%postun script for a kernel package. # %%kernel_variant_postun [-o] <subpackage> # %define kernel_variant_postun(o) \ %{expand:%%postun -n kernel%{?variant}%{?1:%{!-o:-}%{1}}}\ if [ $1 -eq 0 ]\ then\ /bin/sed -i 's/^DEFAULTKERNEL=.*$/DEFAULTKERNEL=kernel-core/' /etc/sysconfig/kernel || exit $?\ fi\ %{nil} # # This macro defines a %%preun script for a kernel package. # %%kernel_variant_preun [-o] <subpackage> # -o flag omits the hyphen preceding <subpackage> in the package name # %define kernel_variant_preun(o) \ %{expand:%%preun -n kernel%{?variant}%{?1:%{!-o:-}%{1}}}\ /bin/kernel-install remove %{KVERREL}%{?1:.%{1}} /lib/modules/%{KVERREL}%{?1:.%{1}}/vmlinuz || exit $?\ if [ -x /sbin/weak-modules ]\ then\ /sbin/weak-modules --remove-kernel %{KVERREL}%{?1:.%{1}} || exit $?\ fi\ %{nil} # # This macro defines a %%pre script for a kernel package. # %%kernel_variant_pre [-o] <subpackage> # -o flag omits the hyphen preceding <subpackage> in the package name # %define kernel_variant_pre(o) \ %{expand:%%pre -n kernel%{?variant}%{?1:%{!-o:-}%{1}}}\ message="Change references of /dev/hd in /etc/fstab to disk label"\ if [ -f /etc/fstab ]\ then\ awk '($2=="/boot")&&/^\\/dev\\/hd/{print $1}' /etc/fstab | egrep -q "^/dev/hd"\ bdretval=$?\ awk '($2=="/")&&/^\\/dev\\/hd/{print $1}' /etc/fstab | egrep -q "^/dev/hd"\ rdretval=$?\ awk '($2=="/boot")&&/^LABEL=/{print $1}' /etc/fstab | egrep -q "^LABEL="\ blretval=$?\ awk '($2=="/")&&/^LABEL=/{print $1}' /etc/fstab | egrep -q "^LABEL="\ rlretval=$?\ if [ $bdretval == 0 ] || [ $rdretval == 0 ]\ then\ echo -e $message\ exit 1\ elif [ $blretval == 0 ] && [ $rlretval == 0 ]\ then\ grep -v "^#" /etc/fstab | egrep -q "/dev/hd"\ if [ $? == 0 ]\ then\ echo -e $message\ fi\ elif [ $blretval == 0 ] && [ $rdretval != 0 ]\ then\ grep -v "^#" /etc/fstab | egrep -q "/dev/hd"\ if [ $? == 0 ]\ then\ echo -e $message\ fi\ elif [ $bdretval != 0 ] && [ $rlretval == 0 ]\ then\ grep -v "^#" /etc/fstab | egrep -q "/dev/hd"\ if [ $? == 0 ]\ then\ echo -e $message\ fi\ elif [ $bdretval != 0 ] && [ $rdretval != 0 ]\ then\ grep -v "^#" /etc/fstab | egrep -q "/dev/hd"\ if [ $? == 0 ]\ then\ echo -e $message\ fi\ fi\ fi\ %{nil} %kernel_variant_pre %kernel_variant_preun %kernel_variant_postun %kernel_variant_post -u -v rx -r kernel%{variant} if [ -x /sbin/ldconfig ]; then /sbin/ldconfig -X || exit $? fi %endif %endif %if %{with_tools} %post -n %{name}-tools %{_sbindir}/ldconfig || exit $? %postun -n %{name}-tools %{_sbindir}/ldconfig || exit $? %endif # Files section. %if %{with_default} %files %defattr(-,root,root) /boot/vmlinuz-%{version}-%{release}.%{_target_cpu} %attr(600,root,root) /boot/System.map-%{version}-%{release}.%{_target_cpu} /boot/symvers-%{version}-%{release}.%{_target_cpu}.gz /boot/config-%{version}-%{release}.%{_target_cpu} %dir /lib/modules/%{version}-%{release}.%{_target_cpu} /lib/modules/%{version}-%{release}.%{_target_cpu}/kernel /lib/modules/%{version}-%{release}.%{_target_cpu}/build /lib/modules/%{version}-%{release}.%{_target_cpu}/source /lib/modules/%{version}-%{release}.%{_target_cpu}/extra /lib/modules/%{version}-%{release}.%{_target_cpu}/updates /lib/modules/%{version}-%{release}.%{_target_cpu}/weak-updates %ifarch %{vdso_arches} /lib/modules/%{version}-%{release}.%{_target_cpu}/vdso /etc/ld.so.conf.d/%{name}-%{version}-%{release}.%{_target_cpu}.conf %endif /lib/modules/%{version}-%{release}.%{_target_cpu}/modules.* %{_datadir}/doc/kernel-keys/%{version}-%{release}.%{_target_cpu}/kernel-signing-ca.cer %ghost /boot/initramfs-%{version}-%{release}.%{_target_cpu}.img %files devel %defattr(-,root,root) %dir /usr/src/kernels /usr/src/kernels/%{version}-%{release}.%{_target_cpu} %endif %if %{with_headers} %files headers %defattr(-,root,root) %{_includedir}/* %endif %if %{with_doc} %files doc %defattr(-,root,root) %{_datadir}/doc/%{name}-doc-%{version}/Documentation/* %dir %{_datadir}/doc/%{name}-doc-%{version}/Documentation %dir %{_datadir}/doc/%{name}-doc-%{version} %{_datadir}/man/man9/* %endif %if %{with_perf} %files -n perf %defattr(-,root,root) %{_bindir}/perf %{_libdir}/libperf-jvmti.so %dir %{_libdir}/traceevent/plugins %{_libdir}/traceevent/plugins/* %dir %{_libexecdir}/perf-core %{_libexecdir}/perf-core/* %{_datadir}/perf-core/* %{_mandir}/man[1-8]/perf* %{_sysconfdir}/bash_completion.d/perf %doc linux-%{version}-%{release}.%{_target_cpu}/tools/perf/Documentation/examples.txt %{_docdir}/perf-tip/tips.txt %files -n python3-perf %defattr(-,root,root) %{python3_sitearch}/* %endif %if %{with_tools} %files -n %{name}-tools -f cpupower.lang %defattr(-,root,root) %ifarch x86_64 %{_bindir}/cpupower %{_bindir}/centrino-decode %{_bindir}/powernow-k8-decode %{_bindir}/x86_energy_perf_policy %{_libexecdir}/turbostat.* %{_bindir}/turbostat %{_bindir}/tmon %if 0%{?rhel} >= 8 %{_bindir}/io_uring-* %endif %{_bindir}/iio_event_monitor %{_bindir}/iio_generic_buffer %{_bindir}/lsiio %{_bindir}/lsgpio %{_bindir}/gpio-hammer %{_bindir}/gpio-watch %{_bindir}/gpio-event-mon %{_mandir}/man1/kvm_stat* %{_bindir}/kvm_stat %{_bindir}/page_owner_sort %{_bindir}/slabinfo %{_unitdir}/kvm_stat.service %config(noreplace) %{_sysconfdir}/logrotate.d/kvm_stat %config(noreplace) %{_sysconfdir}/sysconfig/cpupower %{_unitdir}/cpupower.service %{_datadir}/bash-completion/completions/cpupower %{_mandir}/man[1-8]/cpupower* %{_mandir}/man8/x86_energy_perf_policy* %{_mandir}/man8/turbostat* %files -n %{name}-tools-libs %defattr(-,root,root) %{_libdir}/libcpupower.so.0 %{_libdir}/libcpupower.so.0.0.1 %files -n %{name}-tools-libs-devel %defattr(-,root,root) %{_libdir}/libcpupower.so %{_includedir}/cpufreq.h %endif %endif %if %{with_bpftool} %files -n bpftool %{_sbindir}/bpftool %{_sysconfdir}/bash_completion.d/bpftool %{_mandir}/man8/bpftool-cgroup.8.gz %{_mandir}/man8/bpftool-gen.8.gz %{_mandir}/man8/bpftool-iter.8.gz %{_mandir}/man8/bpftool-link.8.gz %{_mandir}/man8/bpftool-map.8.gz %{_mandir}/man8/bpftool-prog.8.gz %{_mandir}/man8/bpftool-perf.8.gz %{_mandir}/man8/bpftool.8.gz %{_mandir}/man8/bpftool-net.8.gz %{_mandir}/man8/bpftool-feature.8.gz %{_mandir}/man8/bpftool-btf.8.gz %{_mandir}/man8/bpftool-struct_ops.8.gz %endif %changelog * Thu Apr 11 2024 Raven <raven@sysadmins.ws> - 5.15.154-1 - update to 5.15.154 * Sat Apr 6 2024 Raven <raven@sysadmins.ws> - 5.15.153-1 - update to 5.15.153 * Mon Oct 2 2023 Raven <raven@sysadmins.ws> - 5.15.133-1 - update to 5.15.133 * Mon May 1 2023 Raven <raven@sysadmins.ws> - 5.15.110-1 - update to 5.15.110 * Mon Nov 21 2022 Raven <raven@sysadmins.ws> - 5.15.79-1 - update to 5.15.79 * Tue Aug 9 2022 Raven <raven@sysadmins.ws> - 5.15.59-1 - update to 5.15.59 * Tue Mar 29 2022 Raven <raven@sysadmins.ws> - 5.15.32-1 - update to 5.15.32 * Fri Mar 25 2022 Raven <raven@sysadmins.ws> - 5.15.31-1 - update to 5.15.31 * Mon Mar 7 2022 Raven <raven@sysadmins.ws> - 5.15.26-1 - update to 5.15.26 * Thu Feb 3 2022 Raven <raven@sysadmins.ws> - 5.15.19-1 - update to 5.15.19 * Mon Jan 31 2022 Raven <raven@sysadmins.ws> - 5.15.18-1 - update to 5.15.18 * Fri Jan 28 2022 Raven <raven@sysadmins.ws> - 5.15.17-2 - fix missing iptables compatibility - enable Android drivers CONFIG_ANDROID=y CONFIG_ASHMEM=m CONFIG_ANDROID_BINDER_IPC=y CONFIG_ANDROID_BINDERFS=y * Fri Jan 28 2022 Raven <raven@sysadmins.ws> - 5.15.17-1 - update to 5.15.17 - require iptables-nft to fix broken legacy iptables * Thu Jan 20 2022 Raven <raven@sysadmins.ws> - 5.15.16-1 - switch to 5.15 LTS branch * Fri Jan 14 2022 Raven <raven@sysadmins.ws> - 5.4.171-1 - update to 5.4.171 * Mon May 24 2021 Raven <raven@sysadmins.ws> - 5.4.121-1 - update to 5.4.121 * Mon Dec 14 2020 Raven <raven@sysadmins.ws> - 5.4.83-1 - update to 5.4.83 * Fri Jun 26 2020 Raven <raven@sysadmins.ws> - 5.4.45-1 - update to 5.4.45 LTS release * Wed Oct 17 2018 Raven <raven@sysadmins.ws> - 4.14.76-1 - update to 4.14.76 * Fri Dec 02 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.36-1 - Updated with the 4.4.36 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.36] * Sat Nov 26 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.35-1 - Updated with the 4.4.35 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.35] * Mon Nov 21 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.34-1 - Updated with the 4.4.34 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.34] * Sat Nov 19 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.33-1 - Updated with the 4.4.33 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.33] - CONFIG_BPF_SYSCALL=y and CONFIG_BPF_EVENTS=y - [http://elrepo.org/bugs/view.php?id=690] * Tue Nov 15 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.32-1 - Updated with the 4.4.32 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.32] * Thu Nov 10 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.31-1 - Updated with the 4.4.31 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.31] - CONFIG_FMC=m, CONFIG_FMC_CHARDEV=m and CONFIG_FMC_WRITE_EEPROM=m - [https://elrepo.org/bugs/view.php?id=680] * Tue Nov 01 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.30-1 - Updated with the 4.4.30 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.30] * Mon Oct 31 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.29-1 - Updated with the 4.4.29 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.29] * Fri Oct 28 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.28-1 - Updated with the 4.4.28 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.28] * Sat Oct 22 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.27-1 - Updated with the 4.4.27 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.27] * Thu Oct 20 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.26-1 - Updated with the 4.4.26 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.26] * Mon Oct 17 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.25-1 - Updated with the 4.4.25 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.25] * Fri Oct 07 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.24-1 - Updated with the 4.4.24 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.24] * Fri Sep 30 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.23-1 - Updated with the 4.4.23 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.23] * Sat Sep 24 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.22-1 - Updated with the 4.4.22 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.22] * Thu Sep 15 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.21-1 - Updated with the 4.4.21 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.21] * Wed Sep 07 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.20-1 - Updated with the 4.4.20 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.20] - Disabled CONFIG_FW_LOADER_USER_HELPER_FALLBACK - [https://elrepo.org/bugs/view.php?id=671] * Sat Aug 20 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.19-1 - Updated with the 4.4.19 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.19] * Tue Aug 16 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.18-1 - Updated with the 4.4.18 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.18] * Wed Aug 10 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.17-1 - Updated with the 4.4.17 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.17] * Wed Jul 27 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.16-1 - Updated with the 4.4.16 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.16] * Tue Jul 12 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.15-1 - Updated with the 4.4.15 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.15] * Sat Jun 25 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.14-1 - Updated with the 4.4.14 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14] * Wed Jun 08 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.13-1 - Updated with the 4.4.13 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.13] * Thu Jun 02 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.12-1 - Updated with the 4.4.12 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.12] * Thu May 19 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.11-1 - Updated with the 4.4.11 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.11] * Thu May 12 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.10-1 - Updated with the 4.4.10 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.10] * Thu May 05 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.9-1 - Updated with the 4.4.9 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.9] * Wed Apr 20 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.8-1 - Updated with the 4.4.8 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.8] * Sat Apr 16 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.7-1 - Updated with the 4.4.7 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.7] * Mon Mar 21 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.6-1 - Updated with the 4.4.6 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.6] - Revised this specification file so as to create - a kernel-rx package set for EL7. * Thu Mar 10 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.5-1 - Updated with the 4.4.5 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.5] * Fri Mar 04 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.4-1 - Updated with the 4.4.4 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.4] * Thu Feb 25 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.3-1 - Updated with the 4.4.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.3] * Thu Feb 18 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.2-1 - Updated with the 4.4.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.2] * Sun Jan 31 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.1-1 - Updated with the 4.4.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.1] * Tue Jan 26 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.0-2 - CONFIG_SCSI_MPT2SAS=m [https://elrepo.org/bugs/view.php?id=628] * Mon Jan 11 2016 Alan Bartlett <ajb@elrepo.org> - 4.4.0-1 - Updated with the 4.4 source tarball. * Tue Dec 15 2015 Alan Bartlett <ajb@elrepo.org> - 4.3.3-1 - Updated with the 4.3.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.3.3] * Thu Dec 10 2015 Alan Bartlett <ajb@elrepo.org> - 4.3.2-1 - Updated with the 4.3.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.3.2] * Thu Dec 10 2015 Alan Bartlett <ajb@elrepo.org> - 4.3.1-1 - Updated with the 4.3.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.3.1] - CONFIG_VXFS_FS=m [https://elrepo.org/bugs/view.php?id=606] * Mon Nov 02 2015 Alan Bartlett <ajb@elrepo.org> - 4.3.0-1 - Updated with the 4.3 source tarball. * Tue Oct 27 2015 Alan Bartlett <ajb@elrepo.org> - 4.2.5-1 - Updated with the 4.2.5 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.5] - CONFIG_SCHEDSTATS=y [https://elrepo.org/bugs/view.php?id=603] * Fri Oct 23 2015 Alan Bartlett <ajb@elrepo.org> - 4.2.4-1 - Updated with the 4.2.4 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4] * Sat Oct 03 2015 Alan Bartlett <ajb@elrepo.org> - 4.2.3-1 - Updated with the 4.2.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.3] * Wed Sep 30 2015 Alan Bartlett <ajb@elrepo.org> - 4.2.2-1 - Updated with the 4.2.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.2] * Mon Sep 21 2015 Alan Bartlett <ajb@elrepo.org> - 4.2.1-1 - Updated with the 4.2.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.1] - CONFIG_BACKLIGHT_GPIO=m, CONFIG_BCMA_DRIVER_GPIO=y, CONFIG_CHARGER_GPIO=m, - CONFIG_CHARGER_MANAGER=y, CONFIG_CLKDEV_LOOKUP=y, CONFIG_COMMON_CLK=y, - CONFIG_EXTCON=y, CONFIG_GENERIC_IRQ_CHIP=y, CONFIG_GPIO_ACPI=y, - CONFIG_GPIO_ADP5588=m, CONFIG_GPIO_AMD8111=m, CONFIG_GPIO_DEVRES=y, - CONFIG_GPIO_DWAPB=m, CONFIG_GPIO_F7188X=m, CONFIG_GPIO_GENERIC=m, - CONFIG_GPIO_GENERIC_PLATFORM=m, CONFIG_GPIO_ICH=m, CONFIG_GPIO_INTEL_MID=y, - CONFIG_GPIO_IT8761E=m, CONFIG_GPIO_JANZ_TTL=m, CONFIG_GPIO_KEMPLD=m, - CONFIG_GPIOLIB_IRQCHIP=y, CONFIG_GPIOLIB=y, CONFIG_GPIO_LP3943=m, - CONFIG_GPIO_LYNXPOINT=m, CONFIG_GPIO_MAX7300=m, CONFIG_GPIO_MAX7301=m, - CONFIG_GPIO_MAX730X=m, CONFIG_GPIO_MAX732X=m, CONFIG_GPIO_MC33880=m, - CONFIG_GPIO_MCP23S08=m, CONFIG_GPIO_ML_IOH=m, CONFIG_GPIO_PCA953X=m, - CONFIG_GPIO_PCF857X=m, CONFIG_GPIO_RDC321X=m, CONFIG_GPIO_SCH311X=m, - CONFIG_GPIO_SCH=m, CONFIG_GPIO_SX150X=y, CONFIG_GPIO_SYSFS=y, - CONFIG_GPIO_VX855=m, CONFIG_HAVE_CLK_PREPARE=y, CONFIG_HAVE_CLK=y, - CONFIG_I2C_CBUS_GPIO=m, CONFIG_I2C_DESIGNWARE_PLATFORM=m, CONFIG_I2C_GPIO=m, - CONFIG_I2C_MUX_GPIO=m, CONFIG_I2C_MUX_PCA954x=m, CONFIG_I2C_MUX_PINCTRL=m, - CONFIG_LEDS_GPIO=m, CONFIG_LEDS_PCA9532_GPIO=y, CONFIG_LEDS_TRIGGER_GPIO=m, - CONFIG_MDIO_GPIO=m, CONFIG_MFD_INTEL_QUARK_I2C_GPIO=m, CONFIG_MFD_SM501_GPIO=y, - CONFIG_PINCTRL_BAYTRAIL=y, CONFIG_PINCTRL=y, CONFIG_PM_CLK=y, - CONFIG_REGULATOR_GPIO=m, CONFIG_SENSORS_GPIO_FAN=m, CONFIG_SENSORS_SHT15=m, - CONFIG_SND_COMPRESS_OFFLOAD=m, CONFIG_SND_DESIGNWARE_I2S=m, - CONFIG_SND_DMAENGINE_PCM=m, CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y, - CONFIG_SND_SOC_I2C_AND_SPI=m, CONFIG_SND_SOC=m, CONFIG_SPI_GPIO=m, - CONFIG_SPI_PXA2XX_DMA=y, CONFIG_SPI_PXA2XX=m, CONFIG_SPI_PXA2XX_PCI=m, - CONFIG_SSB_DRIVER_GPIO=y, CONFIG_USB_DWC3_DUAL_ROLE=y, CONFIG_USB_F_MASS_STORAGE=m, - CONFIG_USB_GADGET=m, CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2, - CONFIG_USB_GADGET_VBUS_DRAW=2, CONFIG_USB_LIBCOMPOSITE=m, - CONFIG_USB_MASS_STORAGE=m and CONFIG_X86_INTEL_LPSS=y - [https://elrepo.org/bugs/view.php?id=592] * Mon Aug 31 2015 Alan Bartlett <ajb@elrepo.org> - 4.2.0-1 - Updated with the 4.2 source tarball. * Mon Aug 17 2015 Alan Bartlett <ajb@elrepo.org> - 4.1.6-1 - Updated with the 4.1.6 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6] * Tue Aug 11 2015 Alan Bartlett <ajb@elrepo.org> - 4.1.5-1 - Updated with the 4.1.5 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5] * Wed Aug 05 2015 Alan Bartlett <ajb@elrepo.org> - 4.1.4-1 - Updated with the 4.1.4 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4] * Wed Jul 22 2015 Alan Bartlett <ajb@elrepo.org> - 4.1.3-1 - Updated with the 4.1.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.3] * Sat Jul 11 2015 Alan Bartlett <ajb@elrepo.org> - 4.1.2-1 - Updated with the 4.1.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.2] * Mon Jun 29 2015 Alan Bartlett <ajb@elrepo.org> - 4.1.1-1 - Updated with the 4.1.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.1] - CONFIG_BLK_DEV_DRBD=m [https://elrepo.org/bugs/view.php?id=575] * Mon Jun 22 2015 Alan Bartlett <ajb@elrepo.org> - 4.1.0-1 - Updated with the 4.1 source tarball. - CONFIG_BRIDGE_NETFILTER=y [https://elrepo.org/bugs/view.php?id=573] * Sun Jun 07 2015 Alan Bartlett <ajb@elrepo.org> - 4.0.5-1 - Updated with the 4.0.5 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5] * Sun May 17 2015 Alan Bartlett <ajb@elrepo.org> - 4.0.4-1 - Updated with the 4.0.4 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.4] * Wed May 13 2015 Alan Bartlett <ajb@elrepo.org> - 4.0.3-1 - Updated with the 4.0.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.3] * Thu May 07 2015 Alan Bartlett <ajb@elrepo.org> - 4.0.2-1 - Updated with the 4.0.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.2] * Thu Apr 30 2015 Alan Bartlett <ajb@elrepo.org> - 4.0.1-1 - Updated with the 4.0.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.1] * Mon Apr 13 2015 Alan Bartlett <ajb@elrepo.org> - 4.0.0-1 - Updated with the 4.0 source tarball. * Thu Mar 26 2015 Alan Bartlett <ajb@elrepo.org> - 3.19.3-1 - Updated with the 3.19.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.19.3] * Wed Mar 18 2015 Alan Bartlett <ajb@elrepo.org> - 3.19.2-1 - Updated with the 3.19.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.19.2] * Sat Mar 07 2015 Alan Bartlett <ajb@elrepo.org> - 3.19.1-1 - Updated with the 3.19.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.19.1] * Mon Feb 09 2015 Alan Bartlett <ajb@elrepo.org> - 3.19.0-1 - Updated with the 3.19 source tarball. * Fri Feb 06 2015 Alan Bartlett <ajb@elrepo.org> - 3.18.6-1 - Updated with the 3.18.6 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.6] * Fri Jan 30 2015 Alan Bartlett <ajb@elrepo.org> - 3.18.5-1 - Updated with the 3.18.5 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.5] * Wed Jan 28 2015 Alan Bartlett <ajb@elrepo.org> - 3.18.4-1 - Updated with the 3.18.4 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.4] - CONFIG_THUNDERBOLT=m [https://lists.elrepo.org/pipermail/elrepo/2015-January/002516.html] - CONFIG_OVERLAY_FS=m [https://elrepo.org/bugs/view.php?id=548] * Fri Jan 16 2015 Alan Bartlett <ajb@elrepo.org> - 3.18.3-1 - Updated with the 3.18.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.3] * Fri Jan 09 2015 Alan Bartlett <ajb@elrepo.org> - 3.18.2-1 - Updated with the 3.18.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.2] * Tue Dec 16 2014 Alan Bartlett <ajb@elrepo.org> - 3.18.1-1 - Updated with the 3.18.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.1] * Mon Dec 08 2014 Alan Bartlett <ajb@elrepo.org> - 3.18.0-1 - Updated with the 3.18 source tarball. * Mon Dec 08 2014 Alan Bartlett <ajb@elrepo.org> - 3.17.6-1 - Updated with the 3.17.6 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.6] * Sun Dec 07 2014 Alan Bartlett <ajb@elrepo.org> - 3.17.5-1 - Updated with the 3.17.5 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.5] * Sun Nov 30 2014 Alan Bartlett <ajb@elrepo,org> - 3.17.4-2 - CONFIG_BLK_DEV_NBD=m [https://elrepo.org/bugs/view.php?id=538] * Sat Nov 22 2014 Alan Bartlett <ajb@elrepo.org> - 3.17.4-1 - Updated with the 3.17.4 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.4] - CONFIG_CHROME_PLATFORMS=y, CONFIG_CHROMEOS_LAPTOP=m and - CONFIG_CHROMEOS_PSTORE=m [https://elrepo.org/bugs/view.php?id=532] * Sat Nov 15 2014 Alan Bartlett <ajb@elrepo.org> - 3.17.3-1 - Updated with the 3.17.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.3] - CONFIG_BLK_DEV_RBD=m [https://elrepo.org/bugs/view.php?id=521] * Fri Oct 31 2014 Alan Bartlett <ajb@elrepo.org> - 3.17.2-1 - Updated with the 3.17.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.2] * Wed Oct 15 2014 Alan Bartlett <ajb@elrepo.org> - 3.17.1-1 - Updated with the 3.17.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.1] * Mon Oct 06 2014 Alan Bartlett <ajb@elrepo.org> - 3.17.0-1 - Updated with the 3.17 source tarball. - CONFIG_9P_FS=m, CONFIG_9P_FSCACHE=y and CONFIG_9P_FS_POSIX_ACL=y - [https://elrepo.org/bugs/view.php?id=510] * Thu Sep 18 2014 Alan Bartlett <ajb@elrepo.org> - 3.16.3-1 - Updated with the 3.16.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.16.3] * Sat Sep 06 2014 Alan Bartlett <ajb@elrepo.org> - 3.16.2-1 - Updated with the 3.16.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.16.2] * Thu Aug 14 2014 Alan Bartlett <ajb@elrepo.org> - 3.16.1-1 - Updated with the 3.16.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.16.1] - CONFIG_ATH9K_DEBUGFS=y, CONFIG_ATH9K_HTC_DEBUGFS=y & - CONFIG_ATH10K_DEBUGFS=y [https://elrepo.org/bugs/view.php?id=501] * Mon Aug 04 2014 Alan Bartlett <ajb@elrepo.org> - 3.16.0-1 - Updated with the 3.16 source tarball. - CONFIG_XEN_PCIDEV_BACKEND=y & CONFIG_XEN_FBDEV_FRONTEND=m [Mark Pryor] * Fri Aug 01 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.8-1 - Updated with the 3.15.8 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.8] * Mon Jul 28 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.7-1 - Updated with the 3.15.7 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.7] * Fri Jul 18 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.6-1 - Updated with the 3.15.6 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.6] * Thu Jul 10 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.5-1 - Updated with the 3.15.5 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.5] * Mon Jul 07 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.4-1 - Updated with the 3.15.4 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.4] * Tue Jul 01 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.3-1 - Updated with the 3.15.3 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.3] * Fri Jun 27 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.2-1 - Updated with the 3.15.2 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.2] * Tue Jun 17 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.1-1 - Updated with the 3.15.1 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.1] * Thu Jun 12 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.0-1 - General availability. * Sun Jun 08 2014 Alan Bartlett <ajb@elrepo.org> - 3.15.0-0.rc8 - Updated with the 3.15 source tarball. - The eighth release candidate of a kernel-ml package set for EL7. * Sun Jun 08 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.6-0.rc7 - Updated with the 3.14.6 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.6] - The seventh release candidate of a kernel-ml package set for EL7. * Wed Jun 04 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.5-0.rc6 - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.5] - The sixth release candidate of a kernel-ml package set for EL7. - Added a "Conflicts:" line for the kernel-ml-doc package. * Mon Jun 02 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.5-0.rc5 - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.5] - The fifth release candidate of a kernel-ml package set for EL7. - CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/usr/lib/systemd/systemd" - Corrected the "Conflicts:" line for the kernel-ml-tools-libs-devel - package. [Akemi Yagi] * Sun Jun 01 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.5-0.rc4 - Updated with the 3.14.5 source tarball. - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.5] - The fourth release candidate of a kernel-ml package set for EL7. - Added a "Conflicts:" line for the kernel-ml-tools, - kernel-ml-tools-libs & kernel-ml-tools-devel packages. * Wed May 28 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.4-0.rc3 - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.4] - The third release candidate of a kernel-ml package set for EL7. - Fix a problem with the symlink between the /usr/src/$(uname -r)/ - directory and the /lib/modules/$(uname -r)/build directory. * Sat May 24 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.4-0.rc2 - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.4] - The second release candidate of a kernel-ml package set for EL7. - Add calls of weak-modules to the %%posttrans & %%preun scripts. * Tue May 20 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.4-0.rc1 - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.4] - Skip the beta phase. - The first release candidate of a kernel-ml package set for EL7. * Mon May 19 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.4-0.alpha3 - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.4] - The third attempt to build a kernel-ml package set for EL7. * Sun May 18 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.4-0.alpha2 - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.4] - The second attempt to build a kernel-ml package set for EL7. * Sat May 17 2014 Alan Bartlett <ajb@elrepo.org> - 3.14.4-0.alpha1 - [https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.4] - The first attempt to build a kernel-ml package set for EL7.