firecracker-netns/rootf-kernel/Makefile
RouxAntoine f8d1c1042c
TODO: Replace placeholder code
Signed-off-by: RouxAntoine <antoinroux@hotmail.fr>
2024-01-05 18:52:03 +01:00

31 lines
796 B
Makefile

.PHONY: use-alpine use-arch use-ubuntu
use-arch: ../out/arch-rootfs.ext4
ln -s $< ../out/rootfs.ext4
use-alpine: ../out/alpine-rootf.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
../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-rootf.sh
../out/alpine-rootf.ext4:
bash ./alpine-rootf.sh
../out/ubuntu-22.04.ext4:
wget -O $@ https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.7/$$(uname -m)/ubuntu-22.04.ext4
../out/ubuntu-22.04.id_rsa:
wget -O $@ https://s3.amazonaws.com/spec.ccfc.min/firecracker-ci/v1.7/$$(uname -m)/ubuntu-22.04.id_rsa
chmod 400 $@