summaryrefslogtreecommitdiffstats
path: root/install/dmesg
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-05 18:06:31 +0200
committerDave Reisner <d@falconindy.com>2011-06-16 20:19:12 +0200
commitee9412dbcc1deb117af39990c3e777bc0994bb70 (patch)
tree793925a0904271f10f2572f5a260b0c248ea688f /install/dmesg
parentde8365f4b60a8058ad6b649d34156f231a921b1b (diff)
downloadmkinitcpio-ee9412dbcc1deb117af39990c3e777bc0994bb70.tar.gz
mkinitcpio-ee9412dbcc1deb117af39990c3e777bc0994bb70.tar.xz
mkinitcpio: deprecate install() in install hooks
This is an unfortunate name clash with a common utility and should be avoided. Rename the install function to 'build' and warn the user when we discover a hook using an 'install' function. Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'install/dmesg')
-rw-r--r--install/dmesg5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/dmesg b/install/dmesg
index d25deba..9482874 100644
--- a/install/dmesg
+++ b/install/dmesg
@@ -1,5 +1,6 @@
# vim: set ft=sh:
-install ()
+
+build()
{
MODULES=""
BINARIES=""
@@ -15,4 +16,4 @@ cat<<HELPEOF
with the boot process during early userspace
(like when entering a passphrase).
HELPEOF
-} \ No newline at end of file
+}