diff --git a/rootfs-kernel/Makefile b/rootfs-kernel/Makefile index 60cb8e8..71cce6e 100644 --- a/rootfs-kernel/Makefile +++ b/rootfs-kernel/Makefile @@ -1,4 +1,4 @@ -.PHONY: use-alpine use-arch use-ubuntu +.PHONY: use-arch use-ubuntu # aarch64 # x86_64 @@ -7,9 +7,6 @@ ARCH=x86_64 use-arch: ../out/arch-rootfs.ext4 ln -fs $< ../out/rootfs.ext4 -use-alpine: ../out/alpine-rootfs.ext4 - ln -fs $< ../out/rootfs.ext4 - use-ubuntu: ../out/ubuntu-22.04.ext4 ../out/ubuntu-22.04.id_rsa ln -fs $< ../out/rootfs.ext4 @@ -22,9 +19,6 @@ kernel: ../out/vmlinux-5.10.204 ../out/arch-rootfs.ext4: ./arch-rootfs.sh bash ./arch-rootfs.sh -../out/alpine-rootfs.ext4: ./alpine-rootfs.sh - 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 diff --git a/rootfs-kernel/alpine-rootfs.sh b/rootfs-kernel/alpine-rootfs.sh deleted file mode 100755 index 824ead5..0000000 --- a/rootfs-kernel/alpine-rootfs.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -set -ex - -DISK_SIZE=10G -DISK_FILE=../out/alpine-rootfs.ext4 -DISK_ROOT=../out/mount - -# Allocate rootfs disk -fallocate -l "$DISK_SIZE" "$DISK_FILE" -mkfs.ext4 -F $DISK_FILE - -# Mount rootfs to mount -mkdir -p $DISK_ROOT - -sudo mount $DISK_FILE $DISK_ROOT - -wget -O ../out/alpine-minirootfs-3.19.0-x86_64.tar.gz https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/x86_64/alpine-minirootfs-3.19.0-x86_64.tar.gz - -sudo tar xvf ../out/alpine-minirootfs-3.19.0-x86_64.tar.gz --directory="$DISK_ROOT" -rm ../out/alpine-minirootfs-3.19.0-x86_64.tar.gz - -sudo umount $DISK_ROOT -rmdir $DISK_ROOT