Adding helper Makefile target for mkdumprd2 files

This commit is contained in:
Neil Horman 2009-05-20 17:56:45 +00:00
parent c0d5d5c171
commit db9f40c2e0
2 changed files with 15 additions and 0 deletions

View File

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

View File

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