[28451] in Source-Commits
installer commit: Add kexec and install it in stage1
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Mon Sep 29 11:14:20 2014
Date: Mon, 29 Sep 2014 11:14:13 -0400
From: Jonathan D Reed <jdreed@mit.edu>
Message-Id: <201409291514.s8TFEDa8010475@drugstore.mit.edu>
To: source-commits@mit.edu
https://github.com/mit-athena/installer/commit/25b6e8f313e82639d515794bdfe2420f45d6c24e
commit 25b6e8f313e82639d515794bdfe2420f45d6c24e
Author: Jonathan Reed <jdreed@mit.edu>
Date: Fri Sep 12 09:52:33 2014 -0400
Add kexec and install it in stage1
Rather than downloading an arbitrary kexec binary via wget, put it in
the installer here, and keep it under version control.
Add necessary phony Makefile targets to install this.
pxe/stage1/Makefile | 8 ++++++--
pxe/stage1/kexec/kexec | Bin 0 -> 141208 bytes
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pxe/stage1/Makefile b/pxe/stage1/Makefile
index 2d1cef7..22b8690 100644
--- a/pxe/stage1/Makefile
+++ b/pxe/stage1/Makefile
@@ -6,7 +6,11 @@ INSTALLER=stage1
default:
: Use "make install" to move this from where the installer will fetch it.
-install: host ${d}/debathena.tar.gz
+install: host kexec ${d}/debathena.tar.gz
+
+kexec: kexec/kexec
+ mkdir -p debathena/lib
+ install -m 755 kexec/kexec debathena/lib
host: host.amd64 host.i386
mkdir -p debathena/lib
@@ -32,4 +36,4 @@ clean:
rm -rf debathena/lib
rm debathena.preseed
-.PHONY: clean install host debathena.preseed
+.PHONY: clean install host kexec debathena.preseed
diff --git a/pxe/stage1/kexec/kexec b/pxe/stage1/kexec/kexec
new file mode 100644
index 0000000..791eb11
Binary files /dev/null and b/pxe/stage1/kexec/kexec differ