Commit Graph

4599 Commits

Author SHA1 Message Date
Peter Robinson
8e0f7e24c1 Minor arm updates 2020-02-10 16:41:41 +00:00
Jeremy Cline
6f54bfb25c Linux v5.6-rc1 2020-02-10 10:52:58 -05:00
Jeremy Cline
ea287e522b Disable debugging options. 2020-02-10 10:26:15 -05:00
Peter Robinson
fa6c2bfdb0 Add a tegra serial patch 2020-02-07 19:40:59 +00:00
Jeremy Cline
dde5675700 Linux v5.5-9824-g90568ecf5615
This also enables:
  - DM_CLONE as a module (rhbz 1799060)
  - PCI Express devices on RockChip SoCs (rhbz 1792564)
2020-02-07 11:53:17 -05:00
Jeremy Cline
2d1a677e51 Linux v5.5-9737-g4c46bef2e96a 2020-02-06 09:20:10 -05:00
Jeremy Cline
2be352ba91 Linux v5.5-9402-g6992ca0dd017 2020-02-05 09:39:51 -05:00
Jeremy Cline
3e71a5ae30 A quick fix for the armv7hl build failure.
The build is failing because of an undefined symbol. This needs further
investigation since I have no idea why this worked before, but this will
at least let us produce a Rawhide kernel that boots.
2020-02-04 17:49:56 -05:00
Peter Robinson
a994aea5f1 fix for firmware recovery on certain RPi4 HW revs 2020-02-04 12:26:55 +00:00
Jeremy Cline
2bdd226657 Linux v5.5-8686-g14cd0bd04907 2020-02-03 11:38:06 -05:00
Peter Robinson
9b42cfa024 Add support for all bcm2711 GPIOs 2020-02-02 18:48:28 +00:00
Jeremy Cline
731323ae91 Drop the last alsa 5.6 patch which applies but breaks the build 2020-01-30 03:21:30 -05:00
Jeremy Cline
f15fea450f Linux v5.5-3996-gb3a608222336 2020-01-29 12:22:59 -05:00
Jeremy Cline
3022df9b34 Reenable debugging options. 2020-01-29 12:22:59 -05:00
Justin M. Forbes
92ebc5dd37 It wasn't ready to go away 2020-01-27 11:50:52 -06:00
Justin M. Forbes
190fb38325 gcc 10 fixes, changelog trim 2020-01-27 11:36:29 -06:00
Justin M. Forbes
db9309152e Linux v5.5 2020-01-27 08:03:45 -06:00
Justin M. Forbes
8b4a502c67 Linux v5.5-rc7-62-g6381b442836e 2020-01-24 16:54:53 -06:00
Justin M. Forbes
4a3ff523d4 Linux v5.5-rc7-16-g131701c697e8 2020-01-23 14:31:44 -06:00
Justin M. Forbes
75f4244234 Linux v5.5-rc7 2020-01-20 10:43:19 -06:00
Justin M. Forbes
e489f7cb79 Disable debugging options. 2020-01-20 08:57:57 -06:00
Peter Robinson
9f1f509a10 rebase patch for Tegra TX2 usb fix 2020-01-20 13:54:42 +00:00
Justin M. Forbes
437cc7cacc Linux v5.5-rc6-143-gab7541c3addd 2020-01-17 12:25:34 -06:00
Justin M. Forbes
13f41e65c7 Linux v5.5-rc6-45-g51d69817519f 2020-01-15 14:18:18 -06:00
Justin M. Forbes
b491dd4863 Linux vLinux v5.5-rc6-27-g452424cdcbca 2020-01-14 15:06:48 -06:00
Prarit Bhargava
8c274f1989 kernel.spec: Remove kernel-keys directory on rpm erase
An empty /usr/share/doc/kernel-keys/VR directory is left after executing
an 'rpm -e kernel-core-VR'.  Simplify the code by removing the if clauses
and only list the kernel-keys directory.

Remove the directory when the rpm is erased.

Signed-off-by: Bruno E. O. Meneguele <bmeneg@redhat.com>
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
2020-01-14 13:09:53 -05:00
Justin M. Forbes
a443bcbf91 Add Documentation back to kernel-devel as it has Kconfig now (rhbz 1789641) 2020-01-13 15:40:25 -06:00
Justin M. Forbes
a52dd9cf80 Linux v5.5-rc6 2020-01-13 12:26:11 -06:00
Justin M. Forbes
8d287956c5 Disable debugging options. 2020-01-13 11:02:44 -06:00
Jeremy Cline
59eca17780 Pull in the s390 auto-lockdown patch
RHEL had a patch to automatically lock down s390 which never made its
way up to Fedora.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-01-13 10:05:40 -05:00
Justin M. Forbes
7cc57104b0 Linux v5.5-rc5-215-g4e4cd21c64da 2020-01-10 14:44:56 -06:00
Justin M. Forbes
ec5e1b2e89 Linux v5.5-rc5-134-ge69ec487b2c7 2020-01-09 14:17:52 -06:00
Justin M. Forbes
7b24f02e10 Linux v5.5-rc5-41-gb07f636fca1c 2020-01-08 16:33:55 -06:00
Hans de Goede
75fed581f6 Make the MFD Intel LPSS driver builtin, some devices require this to be
available early during boot (rhbz#1787997)
2020-01-06 17:51:19 +01:00
Justin M. Forbes
205a863d4d Linux v5.5-rc5 2020-01-06 08:48:36 -06:00
Justin M. Forbes
6cf9ce3b70 Disable debugging options. 2020-01-06 08:43:34 -06:00
Justin M. Forbes
5c941fa255 Linux v5.5-rc4-116-gbed723519a72 2020-01-03 14:15:13 -06:00
Justin M. Forbes
deae1d9508 Linux v5.5-rc4-66-g738d2902773e 2020-01-02 08:23:29 -06:00
Peter Robinson
4ebddebcae Linux v5.5-rc4 2019-12-30 06:13:07 +00:00
Peter Robinson
70e3b073f8 Disable debugging options. 2019-12-30 06:08:47 +00:00
Justin M. Forbes
869f809aaa Linux v5.5-rc3 2019-12-23 09:13:46 -06:00
Justin M. Forbes
6a4e911d7a Disable debugging options. 2019-12-23 09:07:02 -06:00
Justin M. Forbes
6707395cf9 Linux v5.5-rc2-195-g4a94c4332334 2019-12-19 09:39:38 -06:00
Justin M. Forbes
34e72e260d Linux v5.5-rc2-157-g2187f215ebaa 2019-12-18 10:32:46 -06:00
Peter Robinson
455a02792d add patch to enable v3d on aarch64 2019-12-18 09:36:10 +00:00
Justin M. Forbes
33fbdfc425 Linux v5.5-rc2-56-gea200dec5128 2019-12-17 11:00:23 -06:00
Justin M. Forbes
73c512963a Linux v5.5-rc2 2019-12-16 09:04:07 -06:00
Justin M. Forbes
ca24224de1 Disable debugging options. 2019-12-16 07:11:52 -06:00
Peter Robinson
79730560f8 arm: fix armv7 breakage due to BCM2711 support 2019-12-15 02:57:24 +00:00
Peter Robinson
8ddc9d3afe arm device enablement patches 2019-12-13 06:22:02 +00:00
Justin M. Forbes
17322a1f6a Linux v5.5-rc1-27-gae4b064e2a61 2019-12-12 12:33:53 -06:00
Peter Robinson
e479e45f10 arm: a few more updates 2019-12-11 08:28:14 +00:00
Peter Robinson
2352fc874d 5.5 Updates for ARMv7/aarch64, Enable newer TI ARMv7 platforms 2019-12-11 02:35:43 +00:00
Justin M. Forbes
ca5cc27a35 Linux v5.5-rc1-12-g6794862a16ef 2019-12-10 10:54:47 -06:00
Justin M. Forbes
a508a8e468 Linux v5.5-rc1 2019-12-09 10:56:58 -06:00
Justin M. Forbes
492eb2410f Disable debugging options. 2019-12-09 09:13:20 -06:00
Justin M. Forbes
4bdf8f6ab4 Linux v5.4-12941-gb0d4beaa5a4b 2019-12-06 12:36:54 -06:00
Justin M. Forbes
d8ba696ae9 Re-enable ppc64le 2019-12-05 12:18:41 -06:00
Justin M. Forbes
3c594e0587 Linux v5.4-11747-g2f13437b8917 2019-12-05 10:47:01 -06:00
Justin M. Forbes
7461345390 Linux v5.4-11681-g63de37476ebd 2019-12-04 09:18:53 -06:00
Laura Abbott
ff3219a986 Bring back perf/tools etc. but off 2019-12-03 13:55:19 -05:00
Laura Abbott
e7beb74a39 Stop redundant pae 2019-12-03 13:55:19 -05:00
Justin M. Forbes
7e8e0b495b Linux v5.4-11180-g76bb8b05960c 2019-12-03 12:41:35 -06:00
Justin M. Forbes
abd6b9505d Linux v5.4-10271-g596cf45cbf6e 2019-12-02 12:50:34 -06:00
Justin M. Forbes
fa3a43c8e6 Linux v5.4-5280-g89d57dddd7d3 2019-11-27 13:03:10 -06:00
Justin M. Forbes
17ffa26d54 Linux v5.4-3619-gbe2eca94d144 2019-11-26 12:44:01 -06:00
Laura Abbott
7009ddf5df Clean up stray *.h.s files
The various header testing options (e.g. CONFIG_KERNEL_HEADER_TEST)
leave a lot of stray *.s files around. Make sure these get cleaned
up so they don't end up packaged.
2019-11-25 17:23:43 -05:00
Laura Abbott
786bb94902 bump and build to pick up fixes 2019-11-25 15:01:47 -05:00
Laura Abbott
0b30cc5df5 Remove extra files from being packaged
This commit was missed
2019-11-25 14:57:11 -05:00
Laura Abbott
c89ab67609 Fixup missing keys
These were missing from the sync up. Also fix a duplicate file.
2019-11-25 13:53:03 -05:00
Justin M. Forbes
be6041e7ff Fix a number of CVEs 2019-11-25 10:19:55 -06:00
Jeremy Cline
facf80d5e3 Drop the secureboot key sources for s390 and ppc
This caused a duplicate definition of Source15 and the secureboot key
files are not currently in the tree.
2019-11-25 10:13:23 -05:00
Jeremy Cline
f6b57a59dc Linux v5.4 2019-11-25 09:31:25 -05:00
Jeremy Cline
55a801695a Renumber the second definition of Source15 2019-11-25 09:31:25 -05:00
Laura Abbott
97bb52b5db bump and build to test new configs 2019-11-22 11:01:28 -05:00
Jeremy Cline
ac3be8bad1 Linux v5.4-rc8-15-g81429eb8d9ca 2019-11-22 10:00:29 -05:00
Jeremy Cline
0cb0921c33 Reenable debugging options. 2019-11-22 10:00:11 -05:00
Justin M. Forbes
a1f67e60ef Fix a bunch of CVEs 2019-11-21 14:25:24 -06:00
Laura Abbott
222e96a09b bump and build to check the pesign 2019-11-20 12:55:02 -05:00
Laura Abbott
3d93b18d26 Drop the Fedora checks around pesign
Now that we are packaging the certificates, there's no reason
to have the extra check. pesign will take care of doing the
right thing behind the scenes
2019-11-20 12:46:22 -05:00
Jeremy Cline
eb5fbf2f84 Linux v5.4-rc8 2019-11-18 10:12:45 -05:00
Jeremy Cline
45da71ea64 Disable debugging options. 2019-11-18 10:08:20 -05:00
Jeremy Cline
382121b4a1 Linux v5.4-rc7-68-g96b95eff4a59 2019-11-15 12:08:26 -05:00
Laura Abbott
013d4e378f bump and build 2019-11-14 13:22:13 -05:00
Laura Abbott
e2cf7bd7e5 Make dwarves Fedora only
This isn't quite ready for other buildroots yet, just mark it as Fedora
only.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-11-14 12:49:29 -05:00
Laura Abbott
bd2450b71d Be smarter about getting rid of debuginfo
We've been doing a workaround of using a uuid for the build-id for
userspace binaries to let us get parallel debuginfo (the trick we
use for the kernel doesn't extend to userspace binaries). This
works but isn't ideal for reproducibility. Given we don't actually
care about this debuginfo, just remove it from the buildroot completely.
2019-11-13 10:01:45 -05:00
Laura Abbott
ac4c8ecc59 whitespace
Fix up some whitespace
2019-11-13 10:01:45 -05:00
Laura Abbott
b8cf3e7d64 Add kpatch flags
Now that we have the rest of the flags hooked up, go ahead
and build with the kpatch flags. This should have a minimal
effect at runtime.
2019-11-13 10:01:45 -05:00
Laura Abbott
d6b81a036f Don't build kernel meta package if we are only building a sub-package
Borrowed from downstream, if we're not doing an arch build and
only building a sub-package don't bother building the kernel
meta package.
2019-11-13 10:01:45 -05:00
Laura Abbott
897c1bc38d Increase the scope of the nobuildarches
We don't need to do some config work if we're not doing
an arch build.
2019-11-13 10:01:45 -05:00
Laura Abbott
dba7671694 Better xz compression
Borrowed from downstream, we can be a little bit smarter
on how we compress modules.
2019-11-13 10:01:45 -05:00
Laura Abbott
d0a82f1e0f Sync up on adding a bunch of files 2019-11-13 10:01:45 -05:00
Laura Abbott
c96dd52bfc Drop remove-binary-diff.pl
This was a workaround for some bad diffs that came in. Upstream
has mostly stopped doing that so we can drop this workaround.
2019-11-13 10:01:44 -05:00
Laura Abbott
4019404bbc Drop Fedora checks around pathfix
The el7 buildroot now has pathfix so we can drop these checks.
2019-11-13 10:01:44 -05:00
Jeremy Cline
6f0f15962e Linux v5.4-rc7-49-g0e3f1ad80fc8 2019-11-13 09:40:06 -05:00
Jeremy Cline
9eacdbe062 Reenable debugging options. 2019-11-13 09:30:03 -05:00
Laura Abbott
4df513d076 Merge #39 Fix existing CI test and resolve syntax warnings 2019-11-11 21:01:25 +00:00
David Ward
d753bc001a Resolve syntax warnings in SPEC file
The "regular" definition of the with_kabichk macro does not need to
be commented out while it is temporarily (re-)defined as 0 on the
next line. This avoids a "Macro expanded in comment" warning.

Remove comments on the same line as %endif directives. Instead, make
a couple of these conditionals easier to read (and consistent with
the surrounding ones) by deleting a few blank lines.
2019-11-11 14:06:01 -05:00
David Ward
a86513b40e Revert "Trim EXTRAVERSION in the Makefile on CI builds"
This reverts commit 89c7d2ae30, which
was causing kernel modules to be installed in a location other than
/lib/modules/$(uname -r), preventing modprobe from locating them.

CI builds no longer contain the Pagure UID in the package release:
https://github.com/CentOS-PaaS-SIG/upstream-fedora-pipeline/pull/199
2019-11-11 14:06:01 -05:00
Jeremy Cline
7d13cc32f6 Linux v5.4-rc7 2019-11-11 09:31:28 -05:00
Jeremy Cline
8d1139bb92 Disable debugging options. 2019-11-11 09:23:32 -05:00
Jeremy Cline
c80c8a3afd Linux v5.4-rc6-29-g847120f859cc 2019-11-08 10:40:41 -05:00
Jeremy Cline
6b0750a9a3 Linux v5.4-rc6-26-g4dd58158254c 2019-11-07 11:25:34 -05:00
Jeremy Cline
cf93fd5615 Linux v5.4-rc6-8-g26bc67213424 2019-11-05 17:02:20 -05:00
Jeremy Cline
dc01cc3a4c Reenable debugging options. 2019-11-05 16:42:37 -05:00
Jeremy Cline
5fe065b6c0 Linux v5.4-rc6 2019-11-04 11:18:33 -05:00
Jeremy Cline
32fe916e9b Disable debugging options. 2019-11-04 11:11:31 -05:00
Peter Robinson
721a1be308 fix usb on JetsonTX2 2019-11-02 17:43:30 +00:00
Laura Abbott
84e5b0ab61 bump and build again 2019-11-01 16:19:27 -04:00
Laura Abbott
15d025ac3c Align on kernel-devel
We don't actually need to be packaging most of these files so
switch to a smaller subset.
2019-11-01 16:18:24 -04:00
Laura Abbott
b8d58e2908 Bring back ApplyPatch and ApplyOptionalPatch macros
These are not used directly in Fedora but for easy of syncing
let's keep them around.
2019-11-01 16:18:24 -04:00
Laura Abbott
22f43b4c88 Few more build requires 2019-11-01 16:18:24 -04:00
Laura Abbott
581ddc4ac3 Whitespace and other minor cleanups 2019-11-01 16:18:24 -04:00
Laura Abbott
04b7b3c59b Add zfcpdump package
This is a package for dumping on s390x systems. We don't build
this for Fedora but bring it in for now.
2019-11-01 16:18:24 -04:00
Laura Abbott
77b485a83b Enable CONFIG_DEBUG_INFO_BTF 2019-11-01 09:16:20 -04:00
Laura Abbott
9b480548fc bump and build to fix broken weak-updates 2019-10-31 15:31:10 -04:00
Laura Abbott
8d6017d4ce Revert "Add some weak-updates"
This reverts commit 8044841427.

There's an issue with the weak-updates script that needs to
be fixed. Revert this for now.
2019-10-31 15:30:38 -04:00
Jeremy Cline
841574462c Linux v5.4-rc5-49-ge472c64aa4fa 2019-10-31 10:52:27 -04:00
Jeremy Cline
46fd293722 Reenable debugging options. 2019-10-31 10:37:27 -04:00
Laura Abbott
d40f98744c Merge #30 devel: Don't run hardlink if rpm-ostree is in use 2019-10-30 20:34:01 +00:00
Laura Abbott
5919dc6ef7 bump and build to make sure I haven't broken anything 2019-10-30 10:21:12 -04:00
Laura Abbott
39eefe69c9 Switch up compression to be faster 2019-10-29 15:45:08 -04:00
Laura Abbott
5a7f6d996d Update a comment 2019-10-29 15:28:51 -04:00
Laura Abbott
8be82a0f1b Don't put %{?_smp_mflags} in the common make definition
Some of the build targets may be racy and need to be fixed up
to build correctly. Until that happens, put %{?_smp_mflags} on
individual targets.
2019-10-29 15:28:51 -04:00
Laura Abbott
862edd6d96 ppc64le cflags uses -O3 2019-10-29 15:28:51 -04:00
Laura Abbott
da6f972e3c Remove redundant macros for ppc64le
We only have ppc64le
2019-10-29 15:28:51 -04:00
Laura Abbott
10b3a150cf Move the with_vanilla up with the rest of the macros 2019-10-29 15:28:51 -04:00
Laura Abbott
1cf4120f6f Fix debuginfo
From the original RHEL patch:

    This extra '+' causes problems with the regular expression used with
    /usr/lib/rpm/find-debuginfo.sh script from rpm-build, which is used to filter
    the debug files to the corresponding debuginfo packages. The '+' character
    in the release is interpreted as a regular expression operator and the
    debuginfo filter fails, with the build failing on an empty debuginfo file list.

    Which means we need to escape the extra '+' character if we want debuginfo
    filter to work. I tried to use '\' to escape, but rpm "eats" that, in testing
    '[+]' worked so is what I'm using to fix/workaround this problem. When RHEL 8
    drops the the extra +<number> in the future, we can remove this fix/workaround.

This problem is likely to come up so just add it in now.
2019-10-29 15:28:51 -04:00
Laura Abbott
c0312b2e60 Make turning off configchecks an official ---with option
Fedora does some validation on config options to catch
errors. There may be cases when we want to turn off that
checking because it doesn't actually matter. Make this a
full --with option to make it easier to turn off.
2019-10-29 15:28:51 -04:00
Laura Abbott
d9864a2973 Switch up some Fedora options
Downstream has different requirements than Fedora in some places.
Add some macros to support both cases.
2019-10-29 15:28:51 -04:00
Laura Abbott
5648544aab Add mod-internal package
Some of the downstream users want to package some modules for
internal use only. While Fedora isn't internal, it's still
useful to have packaging aligned. Add a few modules to this
package.
2019-10-29 15:28:51 -04:00
Laura Abbott
11fa12d6aa Bring in packaging support for kABI (no we are not getting an ABI)
Other products downstream of Fedora offer kernel ABI guarantees.
Fedora doesn't offer this and have no plans to do so but it's
useful to at least have the packaging in our tree. Add support.
2019-10-29 15:28:51 -04:00
Laura Abbott
dd53be813b Use the dist tag for the hard link instead of a wider fc* tag
More generic for other dist-tags
2019-10-29 15:28:51 -04:00
Laura Abbott
5a0c912794 Add some expanded UEFI support
Fedora currently only supports x86_64 secureboot signing.
There's ongoing work to enable other arches though. For now,
just bring in the packaging support with some of it commented
out.
2019-10-29 15:28:51 -04:00
Laura Abbott
8044841427 Add some weak-updates
Fedora doesn't use this at the moment but we might want it later.
Add support for weak module updates. This should have no affect.
2019-10-29 15:28:51 -04:00
Laura Abbott
c68fd73909 Add support for building ipaclones
While Fedora doesn't officially support kpatch, there's work
being done to enable kpatch elsewhere. Add the packaging work
but don't actually build anything.
2019-10-29 15:28:51 -04:00
Laura Abbott
1d23fdad0f Package selftests
It can be useful to have some of the selftests built for future
testing. Package them up but don't build quite yet.
2019-10-29 15:28:51 -04:00
Jeremy Cline
f16f4a5c11 Linux v5.4-rc5 2019-10-28 15:10:20 +00:00
Jeremy Cline
262dbe5b8d Disable debugging options. 2019-10-28 15:10:20 +00:00
Jeremy Cline
849afaa577 Linux v5.4-rc4-85-gf116b96685a0 2019-10-24 13:24:08 +00:00
Jeremy Cline
3d5297b163 Linux v5.4-rc4-37-g13b86bc4cd64 2019-10-23 13:40:57 +00:00
Jeremy Cline
82c9667fb9 Linux v5.4-rc4-18-g3b7c59a1950c 2019-10-22 14:03:39 +00:00
Jeremy Cline
3d03e88428 Reenable debugging options. 2019-10-22 13:50:07 +00:00
Laura Abbott
c08fbbf9f7 Update cross_headers commands
The kernel currently builds the headers in a separate repository but
rebuilds may want to build it from the same srpm. Make sure the
cross command actually works.
2019-10-22 08:43:38 -04:00
Laura Abbott
be43f9d094 Do a more complete she-bang mangling
mangle a few more files that other buildroots found
2019-10-22 08:43:38 -04:00
Laura Abbott
204759e479 Remove dead CheckConfigs 2019-10-22 08:43:38 -04:00
Laura Abbott
43d94d3476 Tweak some build requires
The gcc-plugin-devel was a noble experiment that doesn't seem to be
something we'll shipp anytime soon. Remove it.

Building the headers now requires rsync
2019-10-22 08:43:38 -04:00
Laura Abbott
ef71879e7a Bring back kernel-doc
Like a zombie, this is back from the grave. At least bring back the
macros for building.
2019-10-22 08:43:38 -04:00
Laura Abbott
48704bf821 Clean up some macros
- we sign modules on all arches now
- we zip modules on all arches
- tweak the comment
2019-10-22 08:43:37 -04:00
Laura Abbott
483dcef3b1 Consolodate cflags
The build flags for building are used inconsistently. Clean things up
to make it easier to understand.
2019-10-22 08:43:37 -04:00