summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-08-30 14:49:33 +0200
committerDave Reisner <dreisner@archlinux.org>2012-08-30 14:49:33 +0200
commit8291fd0f3965fa7ea2790d17d2e53c8b9c252863 (patch)
treea4633a7415a5ae4c8a8bbfabc8fb0dbbfc7d7035 /init_functions
parent6d29e9d191a78819ad349205e23921a242a64285 (diff)
downloadmkinitcpio-8291fd0f3965fa7ea2790d17d2e53c8b9c252863.tar.gz
mkinitcpio-8291fd0f3965fa7ea2790d17d2e53c8b9c252863.tar.xz
init: add support for root=PARTLABEL=foo
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions2
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) }')