From c53122516a8bcafc8287b4fbd7736ec80182585d Mon Sep 17 00:00:00 2001 From: mintsuki Date: Tue, 8 Sep 2020 14:02:28 +0200 Subject: [PATCH] Make the test image smaller and align the partition properly --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5e102cde..52cbfe3e 100644 --- a/Makefile +++ b/Makefile @@ -30,10 +30,10 @@ limine-install: src/limine.bin limine-install.c test.img: rm -f test.img - dd if=/dev/zero bs=1M count=0 seek=4096 of=test.img + dd if=/dev/zero bs=1M count=0 seek=64 of=test.img ifeq ($(OS), Linux) parted -s test.img mklabel msdos - parted -s test.img mkpart primary 0% 100% + parted -s test.img mkpart primary 2048s 100% else ifeq ($(OS), FreeBSD) sudo mdconfig -a -t vnode -f test.img -u md9 sudo gpart create -s mbr md9 @@ -43,7 +43,7 @@ endif echfs-test: limine-install test.img $(MAKE) -C test - echfs-utils -m -p0 test.img quick-format 32768 + echfs-utils -m -p0 test.img quick-format 512 echfs-utils -m -p0 test.img import test/test.elf boot/test.elf echfs-utils -m -p0 test.img import test/limine.cfg limine.cfg ./limine-install test.img