We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e27c877 commit 6d4643aCopy full SHA for 6d4643a
3 files changed
.gitignore
@@ -1,3 +1,4 @@
1
-overlay/**
2
-./overlay
+rootfs/**
+./rootfs
3
initrd
4
+vmlinux
build-initrd.sh
@@ -0,0 +1,15 @@
+set -xe
+
+IMAGE='onkernel/chromium-headful:74625c3'
5
+docker pull $IMAGE
6
7
+cid=$(docker create $IMAGE)
8
+rm -rf rootfs || true
9
+mkdir -p rootfs
10
+docker export "$cid" | tar -C rootfs -xf -
11
+docker rm "$cid"
12
13
+# Uncompressed initrd, faster to boot up
14
+# Unikraft also does uncompressed
15
+find rootfs | cpio -H newc -o > initrd
get-kernel.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+VERSION='ch-release-v6.12.8-20250613'
+# https://github.com/cloud-hypervisor/linux/releases
+wget https://github.com/cloud-hypervisor/linux/releases/download/$VERSION/vmlinux-x86_64 -O vmlinux
0 commit comments