summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--images/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/images/Makefile.am b/images/Makefile.am
index 97fccce9..4b253a31 100644
--- a/images/Makefile.am
+++ b/images/Makefile.am
@@ -176,10 +176,14 @@ fedora.img: guest-aux/make-fedora-img.sh \
bash $<
guest-aux/fedora-name.db: guest-aux/fedora-name.db.txt
- $(DB_LOAD) $@ < $<
+ rm -f $@ $@-t
+ $(DB_LOAD) $@-t < $<
+ mv $@-t $@
guest-aux/fedora-packages.db: guest-aux/fedora-packages.db.txt
- $(DB_LOAD) $@ < $<
+ rm -f $@ $@-t
+ $(DB_LOAD) $@-t < $<
+ mv $@-t $@
# Make a (dummy) Debian image.
debian.img: guest-aux/make-debian-img.sh