summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-02-08 14:42:27 +0100
committerDave Reisner <dreisner@archlinux.org>2012-02-08 14:42:33 +0100
commit0c40ea638acce527e98a1345ef35bb6273f974e6 (patch)
tree6481b194c742c4dbdfa08cdd3dfbef604cea782d
parent45297ad86bf289535c63433f52408672d7cc9828 (diff)
downloadmkinitcpio-0c40ea638acce527e98a1345ef35bb6273f974e6.tar.gz
mkinitcpio-0c40ea638acce527e98a1345ef35bb6273f974e6.tar.xz
memdisk: use blkid builtin
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--01-memdisk.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/01-memdisk.rules b/01-memdisk.rules
index 5015d7e..0a8fd7b 100644
--- a/01-memdisk.rules
+++ b/01-memdisk.rules
@@ -4,7 +4,7 @@ GOTO="memdisk_end"
LABEL="memdisk_start"
SYMLINK+="memdisk"
-IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
+IMPORT{builtin}="blkid"
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"