[fedora-virt] [PATCH] libguestfs: missing dependency for-initramfs.sh
Jim Meyering
jim at meyering.net
Tue Apr 28 20:57:14 UTC 2009
Hi Rich,
As you know, today I was burned by this missing dependency.
Here's the fix:
>From 4f4b02acd1b30282f9f938483bacf2833c6e047c Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Tue, 28 Apr 2009 22:43:12 +0200
Subject: [PATCH] add dependency to ensure make-initramfs.sh is rebuilt when needed
* Makefile.am (make-initramfs.sh): New rule.
---
Makefile.am | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index a65c9d7..47ef6d0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -80,6 +80,9 @@ $(INITRAMFSIMG): initramfs/fakeroot.log daemon/guestfsd
bash $(top_builddir)/update-initramfs.sh
touch $@
+make-initramfs.sh: make-initramfs.sh.in
+ ./config.status $@
+
# Tests. These are auto-generated from the test descriptions.
check_PROGRAMS = tests
--
1.6.3.rc3.199.g24398
More information about the virt
mailing list