Commit Graph

752 Commits

Author SHA1 Message Date
Rolf Neugebauer
a4c518f696 kernel: Remove support for s390x
WIP #3676

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-07-04 11:16:45 +01:00
Rolf Neugebauer
36d8026b17
Merge pull request #3700 from TiejunChina/master-dev
enable 5.11.x-rt
2021-07-03 10:13:15 +01:00
Rolf Neugebauer
aaa30dfc55
Merge pull request #3691 from kmjohansen/topics/kj/bcc-up
Upgrade bcc to 0.20.0 and re-enable it in the kernel build
2021-07-03 00:30:03 +01:00
Tiejun Chen
8183676233 enable 5.11.x-rt build
Signed-off-by: Tiejun Chen <tiejun.china@gmail.com>
2021-06-29 11:09:23 -07:00
Tiejun Chen
ab288c4526 port 5.11.4-rt
Signed-off-by: Tiejun Chen <tiejun.china@gmail.com>
2021-06-29 11:09:20 -07:00
Frederic Dalleau
194a055d1c Disable CONFIG_BPFILTER and CONFIG_BPFILTER_UMH
CONFIG_BPFILTER is aimed to provide a replacement for netfilter.

When CONFIG_BPFILTER is enabled, the kernel tries to contact a user mode helper
for each iptable rule update. However the implementation of this helper has not
been upstreamed yet. The communication thus fails and the kernel then falls back
to netfilter.
As a result, the rule update takes more than ten times the duration of the
netfilter implementation alone.

This has been reported by Docker Desktop users for whom it can take minutes to
start a container sharing a few hundred ports. https://github.com/for-mac/issues/5668

More details on the situation is described in https://lwn.net/Articles/822744/.

Signed-off-by: Frederic Dalleau <frederic.dalleau@docker.com>
2021-06-28 21:14:27 +02:00
Krister Johansen
13068d54d4 Enable bcc in the kernel build again.
The bcc portion of the build had been disabled because it wasn't
building.  Now that bcc is building again, add it back to the list of
default targets in the kernel build.

Signed-off-by: Krister Johansen <krister.johansen@oracle.com>
2021-06-08 21:00:05 -07:00
Krister Johansen
898232ceab Get BCC building again.
This moves up to bcc 0.20.0 and builds on the latest 3.13 Alpine base
image.  It uses libelf from Alpine, which allows us to drop a number of
the patches we were carrying and reduce the number of steps taken in the
bcc build.

This builds for me on a branch of tip against 5.11.x, 5.10.x,
5.10.x-dbg, and 5.4.x on x86_65.  I have not had a chance to attempt
this on other platforms due to lack of hardware.

Signed-off-by: Krister Johansen <krister.johansen@oracle.com>
2021-06-08 20:57:10 -07:00
Rolf Neugebauer
5f959a9bcd kernel: Move build label add to Makefile
where the other labels are defined

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-27 13:06:15 +01:00
Rolf Neugebauer
70ac373206 kernel: Fix ARG handling in Dockerfiles
At least for the perf image I got an error when
not having the ARG up front.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-27 00:16:26 +00:00
Rolf Neugebauer
c25cc37643 kernel: Remove remnants of DOCKER_CONTENT_TRUST
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-27 00:16:26 +00:00
Rolf Neugebauer
2c728f89d9 kernel: Update to 5.11.22/5.10.39/5.4.121
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-26 22:33:23 +01:00
Rolf Neugebauer
9c7f158bd1 kernel: Fix KERNEL_SOURCE
Declare KERNEL_SOURCE as an environment variable so it
get's picked up in kernel-source-info

fixes #3653

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-26 22:33:23 +01:00
Rolf Neugebauer
fb283d2baf kernel: Remove out of kernel WireGuard build
5.4.x is the only kernel left which does not have
WireGuard in tree and it people should be using more
recent kernels. Remove the now special case for
compiling out of tree WireGuard.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-26 22:33:23 +01:00
Rolf Neugebauer
1337e07d3e kernel: Remove 4.19 patches
Must have missed those when removing 4.19 support in
f9f85bd4b3 ("kernel: Remove older LTS kernels")

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-26 22:33:23 +01:00
Avi Deitcher
d053a0f279 tag kernel with builder version; simplify Makefile
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-05-25 15:51:01 +03:00
Rolf Neugebauer
c0f50012d2 kernel: Disable bcc
The build fails, see https://github.com/linuxkit/linuxkit/issues/3652

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 17:05:39 +00:00
Rolf Neugebauer
198f6222dd kernel: Update kernel config to new alpine tools
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 15:59:01 +00:00
Rolf Neugebauer
5167746df9 kernel: Add patches for 5.10.x/5.11.x
This fixes some compile issues with bcc.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 15:58:48 +00:00
Rolf Neugebauer
a87a666408 kernel: Pick python3 for bcc builds
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 14:20:24 +00:00
Rolf Neugebauer
2d92dc189c kernel: Add libelf-static to perf build
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 13:54:20 +00:00
Rolf Neugebauer
310811a6cb kernel: Update kernel build to latest linuxkit/alpine
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 13:53:10 +00:00
Rolf Neugebauer
c2de64a23a kernel: Build debug kernel for 5.10.x on x86
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 11:23:35 +01:00
Rolf Neugebauer
faa0450b14 kernel: Adjust perf and bcc builds
Build both only recent LTS and latest stable kernel

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 11:23:35 +01:00
Rolf Neugebauer
f3f9c56d60 kernel: Bump to 5.11.18/5.10.34/5.4.116
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 11:23:35 +01:00
Rolf Neugebauer
f9f85bd4b3 kernel: Remove older LTS kernels
- 5.4.x for amr64/s390x
- 4.19.x for x86

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 11:20:26 +01:00
Frédéric Dalleau
38869459ab Add support for building the arm64 kernel on MacBook M1
On these machines, the output of `uname -m` is arm64.

Signed-off-by: Frédéric Dalleau <frederic.dalleau@docker.com>
2021-04-18 18:03:12 +01:00
Rolf Neugebauer
602a6c3ff5 kernel: Bump wirebuard to v1.0.20210219
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-04-18 18:03:12 +01:00
Rolf Neugebauer
86252f10ca kernel: Add 5.11.x kernel
The config file is derived from the 5.10.x kernel.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-04-17 20:13:41 +00:00
Rolf Neugebauer
2197d6670b kernel: Add 5.10.x
The kernel config is derived from 5.6.x by running it through
make oldconfig.

For x86_64 changed manually:
- CONFIG_VIRTIO_MEM=m -> y
- CONFIG_PLDMFW=y -> not set

For aarch64 changed manually:
- CONFIG_SMSC_PHY=m -> not set
- CONFIG_PLDMFW=y -> not set

No adjustment to s390x config

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-04-17 15:24:40 +01:00
Rolf Neugebauer
ad4aec4965 kernel: Bump 5.4.113/4.19.188
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-04-17 12:16:15 +01:00
Rolf Neugebauer
24bd2f64d7 kernel: Remove support for 5.6.x kernels
5.6.x was EOLed

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-04-17 11:23:11 +01:00
Rolf Neugebauer
7b012919b3 kernel: Remove support for 4.14.x kernels
With 4.19.x and 5.4.x we already carry several
LTS kernels.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-04-17 11:17:51 +01:00
Rolf Neugebauer
4542998629
Merge pull request #3606 from qarnot/up-intel-microcode-20210216
Bump Intel microcode version to 20210216
2021-04-02 18:08:19 +01:00
Dave Tucker
561ce6f4be Remove Notary and Content Trust
This commit removes Notary and Content Trust.
Notary v1 is due to be replaced with Notary v2 soon.
There is no clean migration path from one to the other.
For now, this removes all signing from LinuxKit.
We will look to add this back once a new Notary alternative
becomes available.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2021-03-30 14:51:11 +01:00
Yoann Ricordel
4e31b87da0 Bump Intel microcode version to 20210216
Signed-off-by: Yoann Ricordel <yoann.ricordel@qarnot-computing.com>
2021-03-08 15:07:22 +01:00
Rolf Neugebauer
a9516a346c kernel: Vump wireguard to 1.0.20200506
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-05-09 11:57:07 +01:00
Rolf Neugebauer
2959fc52c5 kernel: Re-enable perf build
resolves #3498

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-05-09 11:57:07 +01:00
Rolf Neugebauer
f3a0d1c4d8 kernel: Fix perf build
- add static zlib
- add python

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-05-09 11:57:07 +01:00
Rolf Neugebauer
6a92e2292b kernel: Adjust config files
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-05-09 11:57:07 +01:00
Rolf Neugebauer
c1f4c392cc kernel: Disable -rt kernel temporarily
The patch we carry for 5.4 and 5.6 does not apply to
5.4.28. Disable the -rt kernel until the version has
been bumped.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-05-09 11:57:07 +01:00
Rolf Neugebauer
019b4274ea kernel: Update to 5.6.11/5.4.39/4.19.121/4.14.179
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-05-09 11:57:07 +01:00
Rolf Neugebauer
1c5e799782 kernel: Update kernel build to latest alpine base
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-05-09 11:57:07 +01:00
Rolf Neugebauer
8f480cc578 kernel/bcc: Disbale -Werror for elfutils buils
with the new C tool chain elfutils fails with with warnings:

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
169f031ce9 kernel: Disable perf build for now.
See: https://github.com/linuxkit/linuxkit/issues/3498

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
ea750c8b7b kernel: Only build bcc/perf on x86 and latest stable and LTS
This was previously build for 5.4 and 4.19. Latest LTS is 5.4 and
latest stable is 5.6. Also skip s390x build for perf

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
0dd1283dec kernel: add findutils to perf build and make it more verbose
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
72fe47557f kernel: Switch -dbg kernel to default 5.4.x kernel
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
db36750deb kernel: Adjust configs to new compiler
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
dbb76cf4d4 kernel: Update kernel builds to latest linuxkit/alpine
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
Rolf Neugebauer
57d5ab8fdf kernel: Tweak s390x config
For some reason, the 'make ARCH=s390 oldconfig' yields
a different config when executing on a real s390c system...

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-10 15:56:20 +01:00
Rolf Neugebauer
0bfaa3becc kernel: Don't install libunwind-dev on s390x
This is a part revert of f49042545e ("libunwind-dev
workaround on x86 is no longer required")

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-10 15:12:15 +01:00
Rolf Neugebauer
42c51fab2b kernel: Use in kernel WireGuard if present
5.6.x has WireGuard upstream. Skip pulling it for kernel
where WireGuard is present.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-10 12:15:25 +01:00
Rolf Neugebauer
e208e3050c kernel: Add v5.6.x kernels
The config is based on 5.4.x and has WireGaurd enabled
manually as a module afterwards.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-10 12:15:25 +01:00
Rolf Neugebauer
51f833aa51 kernel: Update to 5.4.30/4.19.114/4.14.175
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-10 10:28:13 +01:00
Rolf Neugebauer
46f96c5572 kernel: Remove 4.19.x-rt patches and configs
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-10 10:19:15 +01:00
Tiejun Chen
6f40ada81c enable rt for 5.4.x
Signed-off-by: Tiejun Chen <tiejunc@vmware.com>
2020-04-08 20:18:14 -07:00
Rolf Neugebauer
447e5fa27c
Merge pull request #3487 from TiejunChina/master-dev
update -rt to 4.19.106-rt46
2020-04-09 09:09:35 +01:00
Roman Shaposhnik
f49042545e libunwind-dev workaround on x86 is no longer required
Signed-off-by: Roman Shaposhnik <rvs@zededa.com>
2020-04-04 14:20:04 -07:00
Jason A. Donenfeld
3993486b6f wireguard: bump to 1.0.20200401
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-04-03 23:48:22 -06:00
Tiejun Chen
a3afa91d9a update -rt to 4.19.106-rt46
Signed-off-by: Tiejun Chen <tiejunc@vmware.com>
2020-04-03 12:05:02 -07:00
Rolf Neugebauer
f58d487072 kernel: Adjust kernel config files
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-03-27 17:52:08 +00:00
Rolf Neugebauer
920a2e98cb kernel: Update to 5.4.28/4.19.113/4.14.174
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-03-27 17:41:58 +00:00
Rolf Neugebauer
5c336a9ae7 kernel: Remove 4.19.x for arm64 and s390x
A subsequent commit will make the 5.4 kernel the default.

This is primarily to reduce the number of kernels we need
to compile for every upgrade.

Note, we keep the 4.19 config file for arm64 around since the
-rt kernel config needs it.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-03-27 17:41:58 +00:00
Rolf Neugebauer
66ccad84a6 kernel: Update config files
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-02-14 23:16:02 +00:00
Rolf Neugebauer
25b09592b9 kernel: Update to 5.4.19/4.19.104/5.4.19
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-02-14 22:54:16 +00:00
Rolf Neugebauer
96cfc0919e kernel: Adjust 5.4.x kernel config file
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-01-30 09:11:32 +00:00
Rolf Neugebauer
7438dcaf08 kernel: Update to 4.14.168/4.19.99/5.4.9
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-01-30 09:11:32 +00:00
Rolf Neugebauer
c6164a4ca5 kernel: Remove support for v5.3.x kernels
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-01-30 09:11:32 +00:00
Rolf Neugebauer
4a06b88d1e kernel: Remove support for 4.9.x kernels
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-01-30 09:11:32 +00:00
Jason A. Donenfeld
08bd5ddbaa wireguard: update to 0.0.20191226
This new snapshot comes from the brand new linux-compat repo, which
follows the recent upstreaming into net-next. When Linux 5.6 lands in
LinuxKit, we'll be able to remove the module entirely.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-12-30 12:31:53 +01:00
Rolf Neugebauer
54a2654501 Update YAMLs to latest kernels
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-12-18 23:41:09 +00:00
Rolf Neugebauer
02ed4c261f kernel: Adjust kernel configs
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-12-18 18:54:25 +00:00
Rolf Neugebauer
4e2b69bc2f kernel: Remove 5.3.x kernels for arm64 and s390x
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-12-18 15:26:46 +00:00
Rolf Neugebauer
a28ebce2f4 kernel: Build perf/bcc for 5.4.x kernels not 5.3.x
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-12-18 15:25:49 +00:00
Rolf Neugebauer
f9fee518a7 kernel: Add support for 5.4.x kernels
The kernel config files are derived from the 5.3.x
config files run through 'make oldconfig'.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-12-18 15:24:11 +00:00
Rolf Neugebauer
7ae9b7b141 kernel: Remove support for 5.2.x
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-12-18 14:48:30 +00:00
Rolf Neugebauer
a638c2814c kernel: Update Intel uCode to microcode-20191115
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-12-18 14:44:42 +00:00
Rolf Neugebauer
81c148a3c4 kernel: Update to 5.3.17/4.19.90/4.14.159/4.9.206
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-12-18 14:42:32 +00:00
Krister Johansen
4dbdfb65d2 Move up to the 0.11.0 bcc release.
Allows us to drop some patches we were carrying, since the bugs were
fixed upstream.  Gives numerous tooling improvements too.

Signed-off-by: Krister Johansen <krister.johansen@oracle.com>
2019-12-16 14:02:34 -08:00
Krister Johansen
a0d797916d Re-enable perf build. Update bcc build.
Re-enable perf builds for 5.3.x and 4.19.x since they're the latest
stable and LTS, respectively.

Update the bcc build rules to map to these same kernel releases, too.

Signed-off-by: Krister Johansen <krister.johansen@oracle.com>
2019-12-16 14:02:34 -08:00
Krister Johansen
dad20f2e91 Add a patch that ensures that bcc can run on the 5.3.x kernel.
Signed-off-by: Krister Johansen <krister.johansen@oracle.com>
2019-12-16 14:00:42 -08:00
Krister Johansen
59481bd5d3 Add patches to unbreak perf and bcc.
The first patch re-adds symbol definitions that were temporarily omitted
from the 4.19 stable branch.

The latter patch corrects the uapi swab.h to that errors about "unknown
type name '__always_inline'" are no longer present in builds.  Without
this patch, bcc would build but attempts to compile the internal
programs at runtime would fail.

Signed-off-by: Krister Johansen <krister.johansen@oracle.com>
2019-12-16 14:00:42 -08:00
David Scott
e2e941dad3 wireguard: update to 0.0.20191212
Signed-off-by: David Scott <dave.scott@docker.com>
2019-12-16 11:32:02 +00:00
Rolf Neugebauer
4092a10063
Merge pull request #3436 from Ptitpote/kconfig-tag-patch
Add the possibility to tag linuxkit/kconfig with a custom tag
2019-11-06 19:50:02 +00:00
Gabriel Chabot
db10873122 Add the possibility to tag linuxkit/kconfig with a custom tag instead of latest
KCONFIG_TAG variable can be used to set a custom kconfig tag.
If KCONFIG_TAG is not set, the the image is tagged as linuxkit/kconfig:latest
This is useful for projects requiring to build multiple kernels that have
different patches.
When trying to edit an unpatched kernel config after working on a patched
kernel config (same kernel version), one had to rerun make kconfig first
in order to edit the config of an unpatched kernel.
Now it is possible to generate a tegged kconfig image and then, get the wanted
config by selecting the corresponding linuxkit/kexec:tag.

Signed-off-by: Gabriel Chabot <gabriel.chabot@qarnot-computing.com>
2019-10-29 09:26:59 +01:00
Rolf Neugebauer
c2566e8dd0 kernel: Drop 5.2.x kernel from arm64 and s390x
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 20:05:44 +01:00
Rolf Neugebauer
b457648c40 kernel: Update to 5.3.2/5.2.18/4.19.76
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 20:05:05 +01:00
Rolf Neugebauer
eeafff3d27 kernel: Add rsync (required by 5.3.x kernel compile)
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 19:45:33 +01:00
Rolf Neugebauer
d1d731105b kernel: Enable GVE for 5.3.x kernel for x86
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 19:45:33 +01:00
Rolf Neugebauer
615303a1e3 kernel: Add support for 5.3.x kernels
The kernel config is copied from the 5.2.x config and
run through make oldconfig

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 19:45:33 +01:00
Rolf Neugebauer
4f0cd57748 kernel: Update to 5.2.17/4.19.75/4.14.146/4.9.194
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 19:45:33 +01:00
Rolf Neugebauer
c7cf340fd2 kernel: Update Intel ucode to 20190918
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 19:45:33 +01:00
Rolf Neugebauer
805271f12c kernel: Adjust kernel config
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 19:45:33 +01:00
Rolf Neugebauer
acab34371a kernel: Update to 5.2.16/4.19.74/4.14.145/4.9.193
This skips 5.2.10-15, 4.19.72-73, and 4.14.143-144

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 19:45:33 +01:00
Rolf Neugebauer
177de7512f kernel: Re-enable 5.2.x kernel for s390x
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 19:45:33 +01:00
Rolf Neugebauer
84375a65b9 kernel: Add -fPIC to kernel compile on s390x
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-10-02 19:45:33 +01:00
Yoann Ricordel
1ee293bcc2 Move microcode download earlier in Dockerfile
Intel microrode download is moved earlier in the Dockerfile, before the
kernel is actually built, so that it's available in the context of a
build and can be referenced in CONFIG_EXTRA_FIRMWARE for people who want
the microcode to be built-in the kernel.
It is still copied in the out/ directory and so that it is still
available for addition in a 'ucode:' section in linuxkit.yml.

Signed-off-by: Yoann Ricordel <yoann.ricordel@qarnot-computing.com>
2019-09-23 12:30:35 +02:00
Rolf Neugebauer
a89c556125 kernel: Disable 5.2.x kernel for s390x for now
see: https://github.com/linuxkit/linuxkit/issues/3412

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-09-17 21:36:54 +01:00
Rolf Neugebauer
3b00838d6d kernel: Adjust s390x defconfig location
With 5.2.x the location moved to the configs subdirectory
to be more in line with other architectures.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-09-17 21:36:54 +01:00