diff --git a/.gitignore b/.gitignore index 3122479..2c0c1ed 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ busybox* bzImage linux-* fs.tar -mdos.img +image diff --git a/Makefile b/Makefile index 97ba7d1..08351ef 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ busybox: busybox-$(BUSYBOX_VERSION) bb-config fs.tar: bzImage busybox $(MAKE) -C filesystem -mdos.img: fs.tar gen_image.sh +image: fs.tar gen_image.sh sudo ./gen_image.sh html: doc/doc.html diff --git a/gen_image.sh b/gen_image.sh index 5e21cbd..412fe90 100755 --- a/gen_image.sh +++ b/gen_image.sh @@ -5,7 +5,7 @@ if [[ $(id -u) -ne 0 ]]; then exit 1 fi -image=mdos.img +image=image rm -f $image fallocate -l 100M $image