summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-06-23 01:13:26 +0200
committerThomas Bächler <thomas@archlinux.org>2010-06-23 01:13:26 +0200
commitb5295bc2009a913056630033b758fe3be35f7bed (patch)
treec926180a665dc6b272286149524cd0ee773008e6
parentdb6f62039b1864935b9189745712d611ab5b9360 (diff)
downloadmkinitcpio-b5295bc2009a913056630033b758fe3be35f7bed.tar.gz
mkinitcpio-b5295bc2009a913056630033b758fe3be35f7bed.tar.xz
memdisk: add 01-memdisk.rules to Makefile, use the correct path in install/memdisk
-rw-r--r--Makefile1
-rw-r--r--install/memdisk2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 22ab866..2056160 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ install: all
install -D -m755 init_functions ${DESTDIR}/lib/initcpio/init_functions
install -D -m644 functions ${DESTDIR}/lib/initcpio/functions
install -D -m755 load-modules.sh ${DESTDIR}/lib/initcpio/udev/load-modules.sh
+ install -D -m644 01-memdisk.rules ${DESTDIR}/lib/initcpio/udev/01-memdisk.rules
install -d ${DESTDIR}/lib/initcpio/hooks
install -d ${DESTDIR}/lib/initcpio/install
diff --git a/install/memdisk b/install/memdisk
index 7afb068..d2a844d 100644
--- a/install/memdisk
+++ b/install/memdisk
@@ -6,7 +6,7 @@ install ()
BINARIES="/usr/bin/memdiskfind"
FILES=""
SCRIPT="memdisk"
- add_file /lib/initcpio/01-memdisk.rules /lib/udev/rules.d/01-memdisk.rules
+ add_file /lib/initcpio/udev/01-memdisk.rules /lib/udev/rules.d/01-memdisk.rules
}
help ()