summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2018-07-18 22:46:26 +0100
committerBen Hutchings <ben@decadent.org.uk>2018-07-18 23:38:23 +0100
commit4e19a6fcc5f75331c0a191b281e04e7dd3e51efa (patch)
tree78f7a3b6c883a5e1e505404734e7f83783c0de1b
parent97cc7e7f292a674c75027d4246bd67d9caa8bc63 (diff)
docs: Remove outdated "HACKING" documentation file
The initramfs-tools(7) manual page is far more useful. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--HACKING18
1 files changed, 0 insertions, 18 deletions
diff --git a/HACKING b/HACKING
deleted file mode 100644
index d171c56..0000000
--- a/HACKING
+++ /dev/null
@@ -1,18 +0,0 @@
-> I am not sure how to modify mkinitramfs to do this automatically, maybe you know?
-
-I need to document this more clearly, but the initramfs-tools have a collection of hooks that will solve your problem. While there's no way that Breezy could do this in the install, we could certainly include the scripts in the package (Especially if you're willing to test them to make sure they work! *g*)
-
-There are two phases that need to be accounted for. The first is the install phase for generating the initramfs, the second is run-time phase for actually doing the needed magic.
-
-To install the components you need, look at the scripts in /usr/share/initramfs-tools/hooks. evms and acpid are good choices. You can see a bunch of header stuff at the top that basically guarantees that things are run in the right order if they need to be. Two functions that will interest you:
-
-copy_exec copies a binary and any libraries it depends on
-manual_add_modules takes bareword module names (like fan, thermal, etc) and installs those modules and any of their dependancies into the initramfs.
-
-The runtime phase is handled by scripts in /usr/share/initramfs-tools/scripts/ you probably want to start up at about the same point as lvm, md, and evms do, so local-top is a good directory to look in.
-You can see the same sort of magic at the top of the script, although lvm and evms each require that md run first.
-
-I hope this helps. I'll paste this text into a HACKING file on the hopes that someone will see fit to improve it. That person will probably be me, mind you... =)
-
-Tks,
-Jeff Bailey