firecracker-netns/rootf-kernel/Makefile

26 lines
641 B
Makefile
Raw Normal View History

.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
../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 $@