diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-08-30 14:49:33 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-30 14:49:33 +0200 |
commit | 8291fd0f3965fa7ea2790d17d2e53c8b9c252863 (patch) | |
tree | a4633a7415a5ae4c8a8bbfabc8fb0dbbfc7d7035 | |
parent | 6d29e9d191a78819ad349205e23921a242a64285 (diff) | |
download | mkinitcpio-8291fd0f3965fa7ea2790d17d2e53c8b9c252863.tar.gz mkinitcpio-8291fd0f3965fa7ea2790d17d2e53c8b9c252863.tar.xz |
init: add support for root=PARTLABEL=foo
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | init_functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init_functions b/init_functions index c2223ff..3ac0588 100644 --- a/init_functions +++ b/init_functions @@ -183,7 +183,7 @@ resolve_device() { # usage of tags without udev and "slow" devices like root on # USB, which might not immediately show up. case $device in - UUID=*|LABEL=*|PARTUUID=*) + UUID=*|LABEL=*|PARTUUID=*|PARTLABEL=*) dev=$(blkid -lt "$device" -o device) if [ -z "$dev" -a "$udevd_running" -eq 1 ]; then tag=$(awk -v t="${device%%=*}" 'BEGIN { print tolower(t) }') |