diff --git a/rootf-kernel/rootfs.sh b/rootf-kernel/rootfs.sh index 5c491c7..31c90b4 100755 --- a/rootf-kernel/rootfs.sh +++ b/rootf-kernel/rootfs.sh @@ -2,12 +2,12 @@ # inspired by https://github.com/oraoto/archlinux-firecracker/blob/master/scripts/build-arch-rootfs.sh +set -x + DISK_SIZE=10G DISK_FILE=../out/arch-rootfs.ext4 DISK_ROOT=../out/mount -cd $(dirname "${BASH_SOURCE[0]}") - # Allocate rootfs disk dd if=/dev/zero of="$DISK_FILE" bs=1M count="$DISK_SIZE" mkfs.ext4 $DISK_FILE