firecracker-netns/rootf-kernel/Makefile
RouxAntoine 20ad9f7aa3
I already said I was sorry
Signed-off-by: RouxAntoine <antoinroux@hotmail.fr>
2024-01-05 19:08:48 +01:00

34 lines
851 B
Makefile

.PHONY: use-alpine use-arch use-ubuntu
# aarch64
# x86_64
ARCH=x86_64
use-arch: ../out/arch-rootfs.ext4
ln -s $< ../out/rootfs.ext4
use-alpine: ../out/alpine-rootfs.ext4
ln -s $< ../out/rootfs.ext4
use-ubuntu: ../out/ubuntu-22.04.ext4 ../out/ubuntu-22.04.id_rsa
ln -s $< ../out/rootfs.ext4
kernel: ../out/vmlinux-5.10.204
@echo "linux kernel retrieve"
../out/vmlinux-5.10.204:
wget -O $@ https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.7/$(ARCH)/vmlinux-5.10.204
../out/arch-rootfs.ext4:
bash ./arch-rootfs.sh
../out/alpine-rootfs.ext4:
bash ./alpine-rootfs.sh
../out/ubuntu-22.04.ext4:
wget -O $@ https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.7/$(ARCH)/ubuntu-22.04.ext4
../out/ubuntu-22.04.id_rsa:
wget -O $@ https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.7/$(ARCH)/ubuntu-22.04.id_rsa
chmod 400 $@