From db9f40c2e0c69fcfb55a0a12fa2fa4ad042bdda1 Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Wed, 20 May 2009 17:56:45 +0000 Subject: [PATCH] Adding helper Makefile target for mkdumprd2 files --- Makefile | 9 +++++++++ kexec-tools.spec | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/Makefile b/Makefile index e6eeb3e..dd052e6 100644 --- a/Makefile +++ b/Makefile @@ -20,4 +20,13 @@ endef MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) endif +mkdumprd2_tarball: + mkdir stage + ln -s ../kdump_build_helpers stage/kdump_build_helpers + ln -s ../kdump_runtime_helpers stage/kdump_runtime_helpers + ln -s ../kdump_initscripts stage/kdump_initscripts + cp mkdumprd2 stage + tar -C stage -j -c --exclude=CVS -f ./mkdumprd2-files.tbz2 . + rm -rf stage + include $(MAKEFILE_COMMON) diff --git a/kexec-tools.spec b/kexec-tools.spec index 390b5f2..1bd25c0 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -19,6 +19,12 @@ Source11: firstboot_kdump.py Source12: mkdumprd.8 Source13: kexec-tools-po.tar.gz Source14: 98-kexec.rules + +####################################### +# These are sources for mkdumprd2 +# Which is currently in development +####################################### + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(pre): coreutils chkconfig sed zlib Requires: busybox >= 1.2.0