feature/build-my-own-kernel-rootfs #1

Merged
antoine merged 34 commits from feature/build-my-own-kernel-rootfs into main 2024-01-06 13:25:49 +00:00
Showing only changes of commit 507d7025c7 - Show all commits

View File

@ -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