diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-03-21 15:21:26 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-03-24 20:43:38 +0100 |
commit | 2c7c8f295a0871f57bb9324d1bd9cd385a45d540 (patch) | |
tree | 0decfb183c4ff3176c7dded6dfe187c38c985bd2 /functions | |
parent | 51382625f9d2928cbcc688b0d93926492b03ad2a (diff) | |
download | mkinitcpio-2c7c8f295a0871f57bb9324d1bd9cd385a45d540.tar.gz mkinitcpio-2c7c8f295a0871f57bb9324d1bd9cd385a45d540.tar.xz |
init_functions: fix tag resolution w/o udev rules
The combination of the udev+mdadm hooks plus a tag based root= would
cause resolve_device to fail because it immediately looked for a udev
symlink which would never be created. The proper fix is to get rid of
the mdadm hook and to always use mdadm_udev (which should be merged into
mdadm), but this might come back and bite us again.
The new solution doesn't assume that udev rules exist and tries blkid
first. If the device doesn't (yet) exist fall back on a udev symlink if
udevd is running.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'functions')
0 files changed, 0 insertions, 0 deletions