diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-03-25 22:21:14 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-04-02 00:29:55 +0200 |
commit | 4511c1a56381d72947e311171e8acf0daf2bd2e6 (patch) | |
tree | 4f9acbd7cb1cab63b38b017162e7d2db0e3f7003 | |
parent | 5a309568167623677c6310e7de99c62c273d3de7 (diff) | |
download | mkinitcpio-4511c1a56381d72947e311171e8acf0daf2bd2e6.tar.gz mkinitcpio-4511c1a56381d72947e311171e8acf0daf2bd2e6.tar.xz |
add minor tweaks to make testing a bit easier
Since INSTDIR and HOOKDIR are understood as arrays now, declare them as
such with the local 'hooks' and 'install' first to override the local
FS. This makes the missing udev error go away and allows easier testing
of other out of tree hooks.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | mkinitcpio | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -17,6 +17,7 @@ DIST_EXTRA = \ all: doc install: all + mkdir -p ${DESTDIR} $(foreach dir,${DIRS},install -dm755 ${DESTDIR}${dir};) sed -e 's|^CONFIG=.*|CONFIG=/etc/mkinitcpio.conf|' \ @@ -17,8 +17,8 @@ shopt -s extglob # Settings FUNCTIONS=functions CONFIG=mkinitcpio.conf -HOOKDIR=hooks -INSTDIR=install +HOOKDIR=(hooks /usr/lib/initcpio/hooks /lib/initcpio/hooks) +INSTDIR=(install /usr/lib/initcpio/install /lib/initcpio/install) PRESETDIR=mkinitcpio.d COMPRESSION=gzip |