diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-06-06 07:22:35 +0200 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-06-06 07:22:35 +0200 |
commit | b31ed489b977662292aa39978ee737b94b60af14 (patch) | |
tree | 483a6bf418d8899a703ebb4dc3d199a08c8b659c /mkinitcpio | |
parent | 60d742305a5cc070f56e97bc8954a342c3180aec (diff) | |
download | mkinitcpio-b31ed489b977662292aa39978ee737b94b60af14.tar.gz mkinitcpio-b31ed489b977662292aa39978ee737b94b60af14.tar.xz |
New error conditions: fail on missing hook or missing module
Filesystem hook changes (parseblock handling)
Init changes to allow /arch.cmd command line parsing
Misc install script cleanups
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@123 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'mkinitcpio')
-rw-r--r-- | mkinitcpio | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |