Makefile:$(RAW_IMAGE) add stage4 tarball as a dependency.
If not then re-making the image won't happen if the image already exists but older than the stage4.
This commit is contained in:
parent
0799c48705
commit
8240a836e1
3
Makefile
3
Makefile
|
@ -85,7 +85,8 @@ unexport PKGDIR ARCH
|
||||||
|
|
||||||
all: image
|
all: image
|
||||||
|
|
||||||
$(RAW_IMAGE):
|
$(RAW_IMAGE): $(STAGE4_TARBALL)
|
||||||
|
rm -f $(RAW_IMAGE)
|
||||||
qemu-img create -f raw $(RAW_IMAGE).tmp $(DISK_SIZE)
|
qemu-img create -f raw $(RAW_IMAGE).tmp $(DISK_SIZE)
|
||||||
mv $(RAW_IMAGE).tmp $(RAW_IMAGE)
|
mv $(RAW_IMAGE).tmp $(RAW_IMAGE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue