[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[fedora-virt] [PATCH] libguestfs: missing dependency for-initramfs.sh



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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]