From 4e51f72deb2c157a115f4097a34b370d4c782079 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Tue, 10 Oct 2023 09:45:22 +0200 Subject: [PATCH] Fix: Kernel did not support BTRFS and was outdated This updates the Linux kernel used in VMs from 5.10.124 to 5.10.197. The kernel is now downloaded from IPFS. --- packaging/Makefile | 2 +- vm_supervisor/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/Makefile b/packaging/Makefile index a5a6c5811..48a156a74 100644 --- a/packaging/Makefile +++ b/packaging/Makefile @@ -40,7 +40,7 @@ firecracker-bins: target-dir build-dir vmlinux: #curl -fsSL -o ./target/vmlinux.bin https://s3.amazonaws.com/spec.ccfc.min/img/quickstart_guide/x86_64/kernels/vmlinux.bin - curl -fsSL -o ./target/vmlinux.bin https://github.com/aleph-im/aleph-vm/releases/download/0.2.2/vmlinux.bin + curl -fsSL -o ./target/vmlinux.bin https://ipfs.aleph.cloud/ipfs/bafybeiaj2lf6g573jiulzacvkyw4zzav7dwbo5qbeiohoduopwxs2c6vvy #cp ../kernels/vmlinux.bin ./target/vmlinux.bin download-ipfs-kubo: target-dir build-dir diff --git a/vm_supervisor/README.md b/vm_supervisor/README.md index 16a4a1414..ab6fc699d 100644 --- a/vm_supervisor/README.md +++ b/vm_supervisor/README.md @@ -104,7 +104,7 @@ A more optimized kernel may be made available in the future. See section _Compile your kernel_ below to build your own. ```shell -curl -fsSL -o /opt/firecracker/vmlinux.bin https://github.com/aleph-im/aleph-vm/releases/download/0.2.2/vmlinux.bin +curl -fsSL -o ./target/vmlinux.bin https://ipfs.aleph.cloud/ipfs/bafybeiaj2lf6g573jiulzacvkyw4zzav7dwbo5qbeiohoduopwxs2c6vvy ``` ## 3. Running