Adding helper Makefile target for mkdumprd2 files
This commit is contained in:
parent
c0d5d5c171
commit
db9f40c2e0
9
Makefile
9
Makefile
@ -20,4 +20,13 @@ endef
|
|||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
endif
|
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)
|
include $(MAKEFILE_COMMON)
|
||||||
|
@ -19,6 +19,12 @@ Source11: firstboot_kdump.py
|
|||||||
Source12: mkdumprd.8
|
Source12: mkdumprd.8
|
||||||
Source13: kexec-tools-po.tar.gz
|
Source13: kexec-tools-po.tar.gz
|
||||||
Source14: 98-kexec.rules
|
Source14: 98-kexec.rules
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# These are sources for mkdumprd2
|
||||||
|
# Which is currently in development
|
||||||
|
#######################################
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires(pre): coreutils chkconfig sed zlib
|
Requires(pre): coreutils chkconfig sed zlib
|
||||||
Requires: busybox >= 1.2.0
|
Requires: busybox >= 1.2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user