summaryrefslogtreecommitdiff
path: root/packages/watchdog
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-06-29 19:28:26 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-29 19:28:26 +0000
commit09f317a13d8e1ed60dd1a2d2f06db392189723e2 (patch)
tree459b59401ee564eb73af8cad9b42260403033d82 /packages/watchdog
parentcb11932e449e33336708e77b615817a21325e812 (diff)
watchdog: Added patch to use mkinstalldirs variable.
Diffstat (limited to 'packages/watchdog')
-rw-r--r--packages/watchdog/files/.mtn2git_empty0
-rw-r--r--packages/watchdog/files/mkinstalldirs.patch17
-rw-r--r--packages/watchdog/watchdog_5.2.bb5
3 files changed, 21 insertions, 1 deletions
diff --git a/packages/watchdog/files/.mtn2git_empty b/packages/watchdog/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/watchdog/files/.mtn2git_empty
diff --git a/packages/watchdog/files/mkinstalldirs.patch b/packages/watchdog/files/mkinstalldirs.patch
new file mode 100644
index 0000000000..468f269965
--- /dev/null
+++ b/packages/watchdog/files/mkinstalldirs.patch
@@ -0,0 +1,17 @@
+---
+ watchdog-5.2/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: watchdog-5.2/Makefile.am
+===================================================================
+--- watchdog-5.2.orig/Makefile.am
++++ watchdog-5.2/Makefile.am
+@@ -15,7 +15,7 @@
+ echo "NOT installing $(CONFIG_FILENAME) - exists already"; \
+ else \
+ echo "installing $(CONFIG_FILENAME)"; \
+- mkinstalldirs `dirname $(DESTDIR)$(CONFIG_FILENAME)`; \
++ $(mkinstalldirs) `dirname $(DESTDIR)$(CONFIG_FILENAME)`; \
+ $(INSTALL_DATA) watchdog.conf $(DESTDIR)$(CONFIG_FILENAME); \
+ fi
+
diff --git a/packages/watchdog/watchdog_5.2.bb b/packages/watchdog/watchdog_5.2.bb
index fc3509466a..12f41b6ee7 100644
--- a/packages/watchdog/watchdog_5.2.bb
+++ b/packages/watchdog/watchdog_5.2.bb
@@ -1,9 +1,12 @@
DESCRIPTION = "Software watchdog"
MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
-PR = "r2"
+PR = "r3"
LICENSE = "GPL"
SRC_URI = "http://www.ibiblio.org/pub/Linux/system/daemons/watchdog/${PN}-${PV}.tar.gz"
+
+SRC_URI += "file://mkinstalldirs.patch;patch=1"
+
FILES = "${sysconfdir}/watchdog.conf ${sbindir}/watchdog"
#CONFFILES = "${sysconfdir}/watchdog.conf"