1
0
Commit Graph

153 Commits

Author SHA1 Message Date
32b692f752
Cleanup after cache kernel package dependencies 2023-04-07 16:27:56 +00:00
caba73cd7e
Skip the kernel after the end of retries 2023-04-07 13:30:30 +00:00
4570e9adbe
Handling discrepancies between /lib/modules and /boot 2023-04-07 10:27:59 +00:00
fd973c367f
Add --noautoremove for CentOS 8 2023-04-06 22:37:15 +00:00
4bc4ca738b
Typo 2023-04-06 21:57:47 +00:00
cd7cf0f2b6
Cache kernel package dependencies 2023-04-06 21:56:22 +00:00
87a5c389df
Fix log level 2023-04-06 21:09:12 +00:00
be3f519573
Fix package cache 2023-04-06 21:08:51 +00:00
a5bfe334cb
Install both headers and image 2023-04-06 20:53:59 +00:00
5b444a3193
Use headers package 2023-04-06 20:10:07 +00:00
8aed31e41b
Install a single kernel to ensure all dependencies are cached 2023-04-06 20:03:07 +00:00
483e56163e
Revert "Add linux-image-generic to base container (for dependencies)"
This reverts commit 5931c08de1.
2023-04-06 19:40:44 +00:00
ac5f83349c
Check that files exist before copy 2023-04-06 19:28:03 +00:00
5931c08de1
Add linux-image-generic to base container (for dependencies) 2023-04-06 19:07:58 +00:00
0d3a075d76
Add commands to manage containers 2023-04-06 19:05:41 +00:00
bf455d9788
Copy from inside the container to avoid permission problems 2023-04-06 14:48:12 +00:00
a0ed1eb1f5
Improve logging 2023-04-06 14:32:05 +00:00
17a4b746cc
Proper CentOS 8 support 2023-04-06 13:38:33 +00:00
c353618c17
Fix log output 2023-04-06 13:12:57 +00:00
301eb2a60b
Refactor 2023-04-05 19:32:31 +00:00
fcfbf4f36d
Match also centos mask as string 2023-04-05 18:04:22 +00:00
b98abe4a83
Match also as string 2023-04-05 18:01:04 +00:00
72d51c0e1c
Add timeout between retries 2023-04-05 16:40:20 +00:00
2d345c584b
Do not retry on success 2023-04-05 16:36:09 +00:00
97fb543fef
Typo 2023-04-05 16:26:26 +00:00
3fd2fd5966
Implements retry for failed kernel installations 2023-04-05 16:24:45 +00:00
29af467bee
Install kernels to tmp directory first 2023-04-05 16:14:30 +00:00
604d21e4a2
Refactor deb package matcher 2023-04-05 12:31:46 +00:00
fc0c76f114
Do not randomize kernels installation/test order by default 2023-04-05 11:29:31 +00:00
f399390c2c
Ignore linux-image-generic 2023-04-05 10:52:40 +00:00
8d3986ce8e
Refactor 2023-03-29 17:25:32 +00:00
3aba883b81
Add --no-headers flag 2023-03-29 17:15:27 +00:00
3329dc4c24
Add kernel config-regen command 2023-03-24 04:20:28 +00:00
34f3692d01
Fix timeout 2023-03-24 04:15:08 +00:00
1e66c156fa
Run permission fix only once per container 2023-03-23 20:28:42 +00:00
2b54d13b9e
Fix only kernels permissions 2023-03-23 20:26:30 +00:00
44494b65a6
Improve logging 2023-03-23 20:20:46 +00:00
a36d5ddb12
Increase timeout 2023-03-23 20:16:13 +00:00
488d2380e1
Do not reset old permissions 2023-03-23 20:05:29 +00:00
292e3dc211
Set permissions on the internals of all container volumes 2023-03-23 19:18:14 +00:00
ec1732c8ec
Set kernels permissions inside container 2023-03-23 17:45:24 +00:00
d70150b496
Set kernel/initrd permissions 2023-03-22 21:16:00 +00:00
7b16a439d8
Harmonise logging 2023-03-22 18:24:09 +00:00
7e050d9e99
Add command to install specific kernel 2023-03-22 18:21:21 +00:00
2c7341f0d8
Add force reinstall flag 2023-03-22 18:20:45 +00:00
b98dc87d54
Reduce verbosity 2023-03-22 18:08:48 +00:00
0f1bdc795d
Fix check for installed kernels 2023-03-22 18:05:28 +00:00
3e9410bf09
Install kernels in mounted volume instead of dockerfile layers 2023-03-22 17:45:56 +00:00
08beba2bab
Add debug logs for exec.Command 2023-03-19 13:14:14 +00:00
8bffea0aea
Switch to zerolog 2023-03-18 21:30:07 +00:00
71f5530fed
kernel genall: limit generated kernels to 100 2023-02-27 18:53:06 +00:00
c9618be454
Store kernels in separate directories 2023-02-15 16:09:11 +00:00
f6b6b823a9
Use already defined path 2023-02-15 11:57:33 +00:00
9910921e30
Cleanup symbolic links from modules dir 2023-02-15 11:38:02 +00:00
668bc1e391
Store the default kernel modules 2023-02-15 11:00:00 +00:00
063df192b4
mirror:// is slower and less reliable in the end 2023-02-14 05:30:28 +00:00
1a952e0212
Set the default maximum number of kernels to be downloaded to 100
The overlayfs driver natively supports up to 128 layers
2023-02-13 22:10:23 +00:00
8b5ce9923b
Revert podman layer squashing, does not work well with caching 2023-02-11 15:02:21 +00:00
b1493b79a3
podman --squash-all requires --layers to cache intermediate layers 2023-02-11 14:47:43 +00:00
fb5b2a2bbb
Case insensitive 2023-02-11 14:30:37 +00:00
a9db750ea5
Fix case where both docker and podman are installed, but docker is not podman alias 2023-02-11 08:52:49 +00:00
55032f07af
Squash podman layers, not docker layers 2023-02-11 08:33:20 +00:00
bb7c2f94d5
podman: squash all layers into a single layer 2023-02-11 08:28:26 +00:00
422f05d25b
Use squash only if podman is used 2023-02-11 08:22:37 +00:00
3c8e80cace
docker/podman: squash newly built layers into a single new layer 2023-02-11 08:08:26 +00:00
ce7794ce84
Add missing flags, refactor 2023-01-31 09:05:43 +00:00
2f52f6db6d
Refactor command line interface 2023-01-31 07:13:33 +00:00
0e185ab36b
Check for local docker image 2023-01-30 11:15:12 +00:00
6e1216201e
podman compatibility 2023-01-29 20:42:16 +00:00
27d8291bb2
Workaround for CentOS 8 Vault repos 2020-05-30 14:13:03 +00:00
d27fbf6671
No kernels in boot if there is no grub 2020-05-30 13:42:04 +00:00
cf79a9f94f
Yum in CentOS 8 does not support --show{-}duplicates with a dash 2020-05-30 12:48:24 +00:00
bfc6f11a7e
Fix deltarpm support for CentOS 8 2020-05-30 12:40:12 +00:00
e03dff8409
Should return if error occured 2019-12-26 13:16:38 +00:00
d58226c22c
Do not check for (host) vsyscall support on the non-Linux systems
Fixes #19
2019-12-25 14:38:05 +00:00
7b6e3a9ad6
Avoid slow mirrors 2019-09-05 18:27:23 +00:00
3e7c564a5a
Exclude host kernel generation for macOS 2019-08-31 08:05:43 +00:00
5bad772125
Support custom docker commands
Resolves #17
2019-08-30 00:05:50 +00:00
f3b0c07af2
Implements parameter for setting up docker registry server 2019-08-29 22:49:59 +00:00
19535fc75c
Do not produce error if existing 2019-08-23 10:46:37 +00:00
72bb8df46b
Support CentOS kernels
Resolves #8
2019-08-20 18:58:08 +00:00
1ffd68601c
Remove bootstrap, download images on-demand 2019-08-20 09:09:38 +00:00
86ad71f230
Install libseccomp-dev only for 14.04 and later 2019-08-20 07:06:08 +00:00
e106eaa3e0
Add libseccomp-dev to ubuntu base layer 2019-08-19 17:07:03 +00:00
73b39b5c0d
Refactor 2019-08-17 09:35:36 +00:00
e0c0d3a072
Refactor 2019-08-17 08:51:42 +00:00
3064dc3a27 Auto detect debug symbols for host kernels 2019-08-16 15:34:10 +00:00
d035e4f8ad Implements build on host and support for custom kernels
Resolves #6
2019-08-16 14:05:26 +00:00
5dbbb33297
Implements parameter "--max=X" for autogen 2019-08-12 22:58:47 +00:00
75f5636d31
Avoid errors in case when no kernels in container 2019-06-15 06:48:53 +00:00
144a8547bc
Move upstream to code.dumpstack.io 2019-02-02 21:25:09 +00:00
18a92703ba Move to fmt.Errorf 2018-12-10 02:45:17 +00:00
1dace23475 Drop useless else block 2018-12-10 02:39:55 +00:00
880af47cc5 Use go timers for kill docker by timeout, fixes #12 2018-12-08 02:53:29 +00:00
825d69b770 Implements command for generate all kernels for distro/version 2018-12-02 19:54:09 +00:00
7707f75a02 Allow to force bump docker container 2018-12-01 15:11:43 +00:00
b350e9c45b Implements kernels config autogeneration 2018-12-01 14:23:01 +00:00
4956fdc4a2 Install libelf-dev in build containers for Ubuntu 2018-11-30 22:46:39 +00:00
f81a4e38a1 Auto-generate rootfs image name 2018-11-29 00:01:14 +00:00
fdb08ecf62 Print kernel config skeleton to stdout 2018-11-28 23:53:47 +00:00