summaryrefslogtreecommitdiffstats
path: root/mkinitcpio
diff options
context:
space:
mode:
Diffstat (limited to 'mkinitcpio')
-rw-r--r--mkinitcpio5
1 files changed, 4 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 291c41e..4df8c2c 100644
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -10,13 +10,14 @@
# use "x${var}" = "x" to test for nulls/empty strings
# incase of embedded spaces, quote all path names and string comarpisons
#
+#TODO trap and remove FILELIST
# Settings
BASEDIR=""
FILELIST="$(mktemp /tmp/.tmpfilelist.XXXX)"
KERNELVERSION="$(uname -r)"
-FUNCTIONS="functions" #/lib/initramfs/functions
+FUNCTIONS="functions"
CONFIG="mkinitcpio.conf"
HOOKDIR="hooks"
INSTDIR="install"
@@ -133,6 +134,8 @@ for hook in $HOOKS; do
echo ":: Parsing hook [${hook}]"
install
parse_hook
+ else
+ die "Hook '${hook}' can not be found."
fi
done