The kernel rpms
Find a file
Justin M. Forbes dd550c9cc8 Add missing certs
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-11 07:18:16 -05:00
configs Update filters for rnbd-client rnbd-server 2020-08-10 18:36:51 +01:00
scripts Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
tests Sync up tests with v5.4 2019-12-04 13:51:47 -05:00
.gitignore Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
0001-aarch64-acpi-scan-Fix-regression-related-to-X-Gene-U.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-ACPI-APEI-arm64-Ignore-broken-HPE-moonshot-APEI-supp.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-ACPI-irq-Workaround-firmware-issue-on-X-Gene-based-m.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-Add-efi_status_to_str-and-rework-efi_status_to_err.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-Add-option-of-13-for-FORCE_MAX_ZONEORDER.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-arm-aarch64-Drop-the-EXPERT-setting-from-ARM64_FORCE.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-ARM-fix-__get_user_check-in-case-uaccess_-calls-are-.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-arm-make-CONFIG_HIGHPTE-optional-without-CONFIG_EXPE.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-ARM-tegra-usb-no-reset.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-arm64-allwinner-dts-a64-add-LCD-related-device-nodes.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-arm64-dts-sun50i-a64-pinephone-Add-touchscreen-suppo.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-arm64-dts-sun50i-a64-pinephone-Enable-LCD-support-on.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-panel-add-Xingbangda-XBD599-panel.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-panel-rocktech-jh057n00900-Rename-the-driver-to-.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-panel-st7703-Add-support-for-Xingbangda-XBD599.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-panel-st7703-Assert-reset-prior-to-powering-down.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-panel-st7703-Enter-sleep-after-display-off.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-panel-st7703-Move-code-specific-to-jh057n-closer.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-panel-st7703-Move-generic-part-of-init-sequence-.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-panel-st7703-Prepare-for-supporting-multiple-pan.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-panel-st7703-Rename-functions-from-jh057n-prefix.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-drm-sun4i-sun6i_mipi_dsi-fix-horizontal-timing-calcu.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-Drop-that-for-now.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-dt-bindings-panel-add-binding-for-Xingbangda-XBD599-.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-dt-bindings-panel-Add-compatible-for-Xingbangda-XBD5.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-dt-bindings-panel-Convert-rocktech-jh057n00900-to-ya.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-dt-bindings-vendor-prefixes-Add-Xingbangda.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-e1000e-bump-up-timeout-to-wait-when-ME-un-configure-.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-efi-Add-an-EFI_SECURE_BOOT-flag-to-indicate-secure-b.patch Pick up missing pieces from rawhide 2020-08-10 16:30:51 -05:00
0001-efi-Lock-down-the-kernel-if-booted-in-secure-boot-mo.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-Input-rmi4-remove-the-need-for-artificial-IRQ-in-cas.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-iommu-arm-smmu-workaround-DMA-mode-issues.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-ipmi-do-not-configure-ipmi-for-HPE-m400.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-kdump-add-support-for-crashkernel-auto.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-kdump-fix-a-grammar-issue-in-a-kernel-message.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-kdump-round-up-the-total-memory-size-to-128M-for-cra.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-KEYS-Make-use-of-platform-keyring-for-module-signatu.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-mm-kmemleak-skip-late_init-if-not-skip-disable.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-PCI-Add-MCFG-quirks-for-Tegra194-host-controllers.patch Update nvidia pcie patch 2020-08-10 15:19:25 +01:00
0001-PCI-tegra-Revert-raw_violation_fixup-for-tegra124.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-Rename-RH_DISABLE_DEPRECATED-to-RHEL_DIFFERENCES.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-Revert-arm64-allwinner-dts-a64-add-LCD-related-devic.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-Revert-drm-panel-add-Xingbangda-XBD599-panel.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-Revert-drm-sun4i-sun6i_mipi_dsi-fix-horizontal-timin.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-Revert-dt-bindings-panel-add-binding-for-Xingbangda-.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-s390-Lock-down-the-kernel-when-the-IPL-secure-flag-i.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-scsi-smartpqi-add-inspur-advantech-ids.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-security-lockdown-expose-a-hook-to-lock-the-kernel-d.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-selinux-allow-reading-labels-before-policy-is-loaded.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-virt-vbox-Add-a-few-new-vmmdev-request-types-to-the-.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-virt-vbox-Add-support-for-the-new-VBG_IOCTL_ACQUIRE_.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-virt-vbox-Add-vbg_set_host_capabilities-helper-funct.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-virt-vbox-Log-unknown-ioctl-requests-as-error.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-virt-vbox-Rename-guest_caps-struct-members-to-set_gu.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
0001-Vulcan-AHCI-PCI-bar-fix-for-Broadcom-Vulcan-early-si.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0001-Work-around-for-gcc-bug-https-gcc.gnu.org-bugzilla-s.patch Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
0002-arm64-tegra-Re-order-PCIe-aperture-mappings-to-suppo.patch Upstream 5.9 tegra DT patch, tegra ACPI quirks patch 2020-08-05 23:38:07 +01:00
arm64-tegra-Use-valid-PWM-period-for-VDD_GPU-on-Tegra210.patch add upstream fix for nouveau on tegra210 2020-08-08 14:55:11 +01:00
build_configs.sh Linux v4.17 2018-06-06 14:01:43 -05:00
check-kabi Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
check_configs.awk Linux 4.10 rebase for stabilization 2017-02-20 13:20:23 -06:00
config_generation Linux v4.17 2018-06-06 14:01:43 -05:00
cpupower.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
cpupower.service Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
filter-aarch64.sh Pick up missing pieces from rawhide 2020-08-10 16:30:51 -05:00
filter-aarch64.sh.fedora Pick up missing pieces from rawhide 2020-08-10 16:30:51 -05:00
filter-aarch64.sh.rhel Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
filter-armv7hl.sh Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
filter-armv7hl.sh.fedora Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
filter-armv7hl.sh.rhel Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
filter-i686.sh sync x86 filters 2019-01-10 07:58:23 +00:00
filter-i686.sh.fedora Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
filter-i686.sh.rhel Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
filter-modules.sh Pick up missing pieces from rawhide 2020-08-10 16:30:51 -05:00
filter-modules.sh.fedora Pick up missing pieces from rawhide 2020-08-10 16:30:51 -05:00
filter-modules.sh.rhel Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
filter-ppc64le.sh Pick up missing pieces from rawhide 2020-08-10 16:30:51 -05:00
filter-ppc64le.sh.fedora Pick up missing pieces from rawhide 2020-08-10 16:30:51 -05:00
filter-ppc64le.sh.rhel Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
filter-s390x.sh Linux v4.6 2016-05-17 11:14:02 -04:00
filter-s390x.sh.fedora Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
filter-s390x.sh.rhel Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
filter-x86_64.sh Linux v4.6 2016-05-17 11:14:02 -04:00
filter-x86_64.sh.fedora Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
filter-x86_64.sh.rhel Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
generate_all_configs.sh Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
generate_bls_conf.sh Sync up stabilization with f29 2018-10-23 14:36:56 -04:00
generate_debug_configs.sh Linux 4.10 rebase for stabilization 2017-02-20 13:20:23 -06:00
gitrev Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel-aarch64-debug-fedora.config Enable sound option on some i.MX parts 2020-08-09 09:23:51 +01:00
kernel-aarch64-debug-rhel.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel-aarch64-fedora.config Enable sound option on some i.MX parts 2020-08-09 09:23:51 +01:00
kernel-aarch64-rhel.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel-armv7hl-debug-fedora.config Enable sound option on some i.MX parts 2020-08-09 09:23:51 +01:00
kernel-armv7hl-fedora.config Enable sound option on some i.MX parts 2020-08-09 09:23:51 +01:00
kernel-armv7hl-lpae-debug-fedora.config Enable sound option on some i.MX parts 2020-08-09 09:23:51 +01:00
kernel-armv7hl-lpae-fedora.config Enable sound option on some i.MX parts 2020-08-09 09:23:51 +01:00
kernel-i686-debug-fedora.config Rebuild config for i.MX sound config 2020-08-10 15:20:04 +01:00
kernel-i686-fedora.config Rebuild config for i.MX sound config 2020-08-10 15:20:04 +01:00
kernel-local Linux 4.10 rebase for stabilization 2017-02-20 13:20:23 -06:00
kernel-ppc64le-debug-fedora.config Rebuild config for i.MX sound config 2020-08-10 15:20:04 +01:00
kernel-ppc64le-debug-rhel.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel-ppc64le-fedora.config Rebuild config for i.MX sound config 2020-08-10 15:20:04 +01:00
kernel-ppc64le-rhel.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel-s390x-debug-fedora.config Rebuild config for i.MX sound config 2020-08-10 15:20:04 +01:00
kernel-s390x-debug-rhel.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel-s390x-fedora.config Rebuild config for i.MX sound config 2020-08-10 15:20:04 +01:00
kernel-s390x-rhel.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel-s390x-zfcpdump-rhel.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel-x86_64-debug-fedora.config Rebuild config for i.MX sound config 2020-08-10 15:20:04 +01:00
kernel-x86_64-debug-rhel.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel-x86_64-fedora.config Rebuild config for i.MX sound config 2020-08-10 15:20:04 +01:00
kernel-x86_64-rhel.config Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
kernel.spec Pick up missing pieces from rawhide 2020-08-10 16:30:51 -05:00
linux-kernel-test.patch Initial 5.7.2 rebase 2020-06-10 17:15:58 -05:00
Makefile Linux 4.10 rebase for stabilization 2017-02-20 13:20:23 -06:00
merge.pl Linux v4.17 2018-06-06 14:01:43 -05:00
mod-extra-blacklist.sh Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
mod-extra.list Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
mod-extra.list.fedora Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
mod-extra.list.rhel Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
mod-extra.sh Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
mod-internal.list Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
mod-sign.sh simplify the signing stuff now that sign-file takes pub/priv key args 2013-03-28 16:33:21 -04:00
Module.kabi_aarch64 Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
Module.kabi_dup_aarch64 Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
Module.kabi_dup_ppc64le Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
Module.kabi_dup_s390x Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
Module.kabi_dup_x86_64 Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
Module.kabi_ppc64le Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
Module.kabi_s390x Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
Module.kabi_x86_64 Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
parallel_xz.sh Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
PatchList.txt Linux v4.16 2018-04-06 13:39:04 -04:00
process_configs.sh Linux v4.17 2018-06-06 14:01:43 -05:00
README.txt Initial v5.1 rebase 2019-05-07 14:02:01 +00:00
rebase-notes.txt Sync up stabilization with f31 2019-12-04 13:38:43 -05:00
redhatsecureboot003.cer Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
redhatsecureboot301.cer Add missing certs 2020-08-11 07:18:16 -05:00
redhatsecureboot401.cer Add missing certs 2020-08-11 07:18:16 -05:00
redhatsecureboot501.cer Add missing certs 2020-08-11 07:18:16 -05:00
redhatsecurebootca1.cer Add missing certs 2020-08-11 07:18:16 -05:00
redhatsecurebootca2.cer Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
redhatsecurebootca4.cer Add missing certs 2020-08-11 07:18:16 -05:00
redhatsecurebootca5.cer Add missing certs 2020-08-11 07:18:16 -05:00
secureboot.cer Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
secureboot_ppc.cer Linux v5.5 2020-01-28 11:00:23 -06:00
secureboot_s390.cer Linux v5.5 2020-01-28 11:00:23 -06:00
securebootca.cer Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
sources Linux v5.8 rebase 2020-08-04 17:00:01 -05:00
TODO Linux v4.2 2015-09-01 15:59:56 -07:00
update_scripts.sh Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
x509.genkey Switch to using modsign-post-KS upstream with x509 certs 2012-09-25 13:22:04 -04:00
x509.genkey.fedora Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00
x509.genkey.rhel Sync up specfile, config generation, and patches 2019-12-04 16:45:42 -05:00

		Kernel package tips & tricks.
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The kernel is one of the more complicated packages in the distro, and
for the newcomer, some of the voodoo in the spec file can be somewhat scary.
This file attempts to document some of the magic.


Speeding up make prep
---------------------
The kernel is nearly 500MB of source code, and as such, 'make prep'
takes a while. The spec file employs some trickery so that repeated
invocations of make prep don't take as long.  Ordinarily the %prep
phase of a package will delete the tree it is about to untar/patch.
The kernel %prep keeps around an unpatched version of the tree,
and makes a symlink tree clone of that clean tree and than applies
the patches listed in the spec to the symlink tree.
This makes a huge difference if you're doing multiple make preps a day.
As an added bonus, doing a diff between the clean tree and the symlink
tree is slightly faster than it would be doing two proper copies of the tree.


Build logs.
-----------
There's a convenience helper script in scripts/grab-logs.sh
that will grab the build logs from koji for the kernel version reported
by make verrel


Config hierarchy.
-----------------
Instead of having to maintain a config file for every arch variant we build on,
the kernel spec uses a nested system of configs. Each option CONFIG_FOO is
represented by a single file named CONFIG_FOO which contains the state (=y, =m,
=n). These options are collected in the folder base-generic. Architecture
specific options are set in nested folders. An option set in a nested folder
will override the same option set in one of the higher levels.

The individual CONFIG_FOO files only exist in the pkg-git repository. The RPM
contains kernel-foo.config files which are the result of combining all the
CONFIG_FOO files. The files are combined by running build_configs.sh. This
script _must_ be run each time one of the options is changed.

Example flow:

# Enable the option CONFIG_ABC123 as a module for all arches
echo "CONFIG_ABC123=m" > configs/base-generic/CONFIG_ABC1234
# enable the option CONFIG_XYZ321 for only x86
echo "# CONFIG_XYZ321 is not set" > configs/base-generic/CONFIG_XYZ321
echo "CONFIG_XYZ321=m" > configs/base-generic/x86/CONFIG_XYZ321
# regenerate the combined config files
./build_configs.sh

The file config_generation gives a listing of what folders go into each
config file generated.

Debug options.
--------------
This is a little complicated, as the purpose & meaning of this changes
depending on where we are in the release cycle.
If we are building for a current stable release, 'make release' has
typically been run already, which sets up the following..
- Two builds occur, a 'kernel' and a 'kernel-debug' flavor.
- kernel-debug will get various heavyweight debugging options like
  lockdep etc turned on.

If we are building for rawhide, 'make debug' has been run, which changes
the status quo to:
- We only build one kernel 'kernel'
- The debug options are always turned on.
This is done to increase coverage testing, as not many people actually
run kernel-debug.

The debug options are managed in a separate heierarchy under base-debug. This
works in a similar manner to base-generic. More deeply nested folders, again,
override options. The file config_generation gives a listing of what folders
go into each config file generated.