1
0
Commit Graph

123 Commits

Author SHA1 Message Date
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
61d3e02630 Remove useless commentary 2018-11-28 22:43:53 +00:00
8eff63f2b9 Basic kernel autogeneration (based on current config) implementation 2018-11-28 22:41:17 +00:00
cc3f536c62 Move kernel command to another file 2018-11-17 20:24:09 +00:00