dustin
/
jenkinsagent
Archived
1
0
Fork 0
Buildroot configuration for network-booted Jenkins agent system.
This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
Go to file
Dustin 3d30cba255
dustin/jenkinsagent/pipeline/head This commit looks good Details
rootfs: Add patch for runc 1.1.0 bug issue #3387
There is apparently a bug in *runc* 1.1.0 that prevents privileged
containers from starting:

> docker: Error response from daemon: failed to create shim: OCI runtime
> create failed: runc create failed: unable to start container process:
> unable to apply cgroup configuration: chown
> /sys/fs/cgroup/system.slice/docker-….scope/memory.oom.group: no such
> file or directory: unknown.

A patch is available but has not been integrated into an official
release yet.
2022-03-18 14:31:56 -05:00
ci ci: Begin CI pipeline 2022-03-16 20:58:21 -05:00
configs rootfs: Add patch for runc 1.1.0 bug issue #3387 2022-03-18 14:31:56 -05:00
initramfs initramfs: sync time with NTP 2022-03-15 14:18:29 -05:00
patches/runc/1.1.0 rootfs: Add patch for runc 1.1.0 bug issue #3387 2022-03-18 14:31:56 -05:00
rootfs rootfs: ensure /var/lib/rsyslog exists 2022-03-17 10:59:26 -05:00
.gitignore Initial commit 2022-03-09 00:27:30 -06:00
Config.in Initial commit 2022-03-09 00:27:30 -06:00
Makefile ci: Begin CI pipeline 2022-03-16 20:58:21 -05:00
README.md Initial commit 2022-03-09 00:27:30 -06:00
cmdline.txt Use NBD server on pxe0 2022-03-15 14:18:29 -05:00
config.txt Initial commit 2022-03-09 00:27:30 -06:00
external.desc Initial commit 2022-03-09 00:27:30 -06:00
external.mk Initial commit 2022-03-09 00:27:30 -06:00

README.md

Network-Booted Jenkins Agent

Required Build Host Configuration

sudo dnf install -y \
	ncurses-devel \
	perl-ExtUtils-MakeMaker \
	perl-FindBin \
	perl-Thread-Queue \
	--
git clone git://git.buildroot.net/buildroot ~/src/buildroot

Build

Build the Initramfs

make -C ~/src/buildroot O=${PWD}/_build/initramfs BR2_EXTERNAL=${PWD} jenkinsagent_initramfs_defconfig
make -C _build/initramfs -j $(nproc)

Build the Rootfs

make -C ~/src/buildroot O=${PWD}/_build/rootfs BR2_EXTERNAL=${PWD} jenkinsagent_defconfig
make -C _build/rootfs -j $(nproc)