File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,26 @@ jobs:
3838 # but the GNU cross-linker works fine for static musl builds.
3939 sudo ln -s /usr/bin/aarch64-linux-gnu-gcc /usr/local/bin/aarch64-linux-musl-gcc
4040
41+ - name : Download static busybox
42+ run : |
43+ case "${{ matrix.arch }}" in
44+ x86_64)
45+ DEB_URL="https://launchpad.net/ubuntu/+archive/primary/+files/busybox-static_1.36.1-6ubuntu3.1_amd64.deb"
46+ ;;
47+ aarch64)
48+ DEB_URL="https://launchpad.net/ubuntu/+archive/primary/+files/busybox-static_1.36.1-6ubuntu3.1_arm64.deb"
49+ ;;
50+ esac
51+ curl -fsSL "$DEB_URL" -o /tmp/busybox-static.deb
52+ cd /tmp && ar x busybox-static.deb && tar xf data.tar* ./usr/bin/busybox
53+ chmod +x /tmp/usr/bin/busybox
54+
4155 - name : Build initramfs
4256 run : |
4357 # Must match the kernel version in scripts/download_kernel.sh
4458 # so that the packaged modules are compatible with the VM kernel.
4559 ARCH=${{ matrix.arch }} \
60+ BUSYBOX=/tmp/usr/bin/busybox \
4661 VOID_BOX_KMOD_VERSION=6.8.0-51 \
4762 VOID_BOX_KMOD_UPLOAD=52 \
4863 OUT_CPIO=/tmp/rootfs.cpio.gz \
You can’t perform that action at this time.
0 commit comments