Rolf Neugebauer
25c796e854
kernel: Fix Dockerfile.kconfig
...
KERNEL_VERSIONS apparently needs to be specified as
argument after the FROM
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io >
2021-07-04 11:16:45 +01:00
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
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
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
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
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
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
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
Rolf Neugebauer
0b352bae73
kernel: Update kernel build to latest alpine base
...
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io >
2019-09-17 21:36:54 +01:00
Loïc Pottier
52aa902800
Added --create-dirs to Dockerfile.kconfig to fix a crash when
...
the sources/ directory does not exist
Signed-off-by: Loïc Pottier <lpottier@isi.edu >
2019-06-25 11:37:45 -07:00
Rolf Neugebauer
03e0d67051
kernel: Update alpine to latest
...
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io >
2019-04-17 07:43:18 +01:00
Rolf Neugebauer
d79e8d9d6c
kernel: Support v5.x kernels in kconfig build
...
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io >
2019-03-10 23:28:49 +00:00
Rolf Neugebauer
9a9d9670e8
kernel: Update build to use the latest linuxkit/alpine
...
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io >
2019-03-03 11:18:21 +00:00
Rolf Neugebauer
f5cf0bd054
kernel: Update build to latest linuxkit/alpine
...
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io >
2018-09-27 19:38:33 +01:00
Rolf Neugebauer
a3bca0ea59
kernel: Add more packages to Dockerfile.kconfig
...
These packages are needed to enable the GCC_PLUGINS
during 'make oldconfig' for 4.18.x kernels.
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io >
2018-08-17 16:57:36 +01:00
Rolf Neugebauer
d7d995cab5
kernel: Update build to use updated alpine base
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@gmail.com >
2018-07-07 17:51:08 +01:00
Rolf Neugebauer
52874a18f7
kernel: Update alpine base to latest
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2018-05-03 17:18:49 +01:00
Rolf Neugebauer
e09023d723
kernel: Update build to latest linuxkit/alpine
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2018-04-19 13:52:26 +01:00
Rolf Neugebauer
a5c039f7ad
kernel: Add bison/flex to kconfig Dockerfile
...
These are required for the 4.16.x kernel configuration.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2018-04-09 11:21:13 +01:00
Rolf Neugebauer
9a5727f5e4
kernel: Update to latest alpine base image
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2018-03-15 11:22:11 +00:00
Alice Frosi
db0045b0c9
Add s390 support for linuxkit kernel
...
Update building process to add s390 support.
The patch serial-forbid-8250-on-s390.patch has been added to disable
8250 serial for s390.
The patch is available upstream https://patchwork.kernel.org/patch/10106437/
but it is not backported.
Signed-off-by: Alice Frosi <alice@linux.vnet.ibm.com >
2018-03-01 12:18:16 +00:00
Rolf Neugebauer
c08a2f19a8
kernel: Update alpine base to latest
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2018-02-28 16:35:23 +00:00
Rolf Neugebauer
cfc9c49269
kernel: Handle non-existing config file for 'make kconfig'
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2018-02-21 13:24:29 +00:00
Rolf Neugebauer
d0d7738efa
kernel: Tighten patching of the kernel
...
- Disable any fuzzing. Patches should apply cleanly
- Assume unified diffs
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2018-02-08 11:50:17 +00:00
Rolf Neugebauer
4254c91c9f
kernel: Update build to use the alpine:3.7 base image
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-12-08 16:25:13 +00:00
Rolf Neugebauer
2c1fdc7b47
kernel: Use latest linuxkit/alpine and install mpc1-dev/mpfr-dev
...
The GCC_PLUGINS config options enabled in the next commits
require mpc1-dev/mpfr-dev
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-11-21 14:02:33 +00:00
Rolf Neugebauer
5995d9a10d
kernel: Fix Dockerfile.kbuild
...
Patches were not applied and this fixes it as well as tidying
up the error handling.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-11-21 14:02:33 +00:00
Rolf Neugebauer
f103145050
kernel: Switch Dockerfile.kconfig to bsdtar
...
I got error when un-tarring the linux-4.14 kernel:
tar: linux-4.14/arch/arm64/boot/dts/arm: Directory renamed before its status could be extracted
tar: linux-4.14/arch/arm64/boot/dts: Directory renamed before its status could be extracted
tar: linux-4.14/arch/arm64/boot: Directory renamed before its status could be extracted
tar: linux-4.14/arch/arm64: Directory renamed before its status could be extracted
tar: linux-4.14/arch: Directory renamed before its status could be extracted
Using bsdtar, this error goes away.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-11-14 14:09:03 +00:00
Ian Campbell
6c7b1c0251
Bump all packages to newest alpine.
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-24 10:11:24 +01:00
Rolf Neugebauer
4005564228
kernel: Drop 'kernel_' prefix from kernel config files
...
It's kinda obvious that these are kernel configuration files
and, looking at various other distros it seems more common
to call the files 'config-<foo>'.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-10-22 19:49:14 +01:00
Rolf Neugebauer
5afc16f275
kernel: Enable building kernels without patches
...
Copying the entire local directory into the container allows
us to check for the existence of the patch directory and
only apply the patches if the directory exists.
An alternative would have been to re-arrange the patch directory
into a sub-directory, but in terms of copying wouldn't have
made that much if a difference.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-10-22 19:49:14 +01:00
Ian Campbell
a237b51511
Bump alpine base across the board.
...
By running:
./scripts/update-component-sha.sh --image linuxkit/alpine ad35b6ddbc70faa07e59a9d7dee7707c08122e8d
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-10 09:55:45 +01:00
Rolf Neugebauer
6e540241c8
kernel: Update alpine base image for kernel builds
...
Since we are rebuilding the kernels might as well update the base
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-10-02 16:20:02 +01:00
Rolf Neugebauer
bd4723d1aa
kernel: Update kernels to 4.12.14/4.9.51
...
While at it might as well update the alpine base...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-09-20 12:13:26 +01:00
Rolf Neugebauer
6da35660a9
kernel: Update kernel build to latest alpine base
...
Since we have to recompile kernels, might as well.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-09-04 17:58:16 +01:00
Rolf Neugebauer
0f5825fc32
kernel: Improve kconfig Docker file
...
Be a bit more verbose and error on error.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-08-23 14:33:25 +01:00
Rolf Neugebauer
ba2e6a5bb8
kernel: Add a Dockerfile to make it easier to configure kernels
...
The new Dockerfile.kconfig can be used, via the 'kconfig' make target
to build a 'linuxkit/kconfig' images. This images contains the patched
source and default kernel configs for all supported kernels.
It's useful to updating the kernel config files.
While at it, also update the alpine base.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-08-21 20:43:30 +01:00