Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 551708 | Differences between
and this patch

Collapse All | Expand All

(-)a/usr/share/genkernel/defaults/initrd.d/00-fsdev.sh (-2 / +2 lines)
Lines 38-44 find_real_device() { Link Here
38
    local device="${1}"
38
    local device="${1}"
39
    local out=
39
    local out=
40
    case "${device}" in
40
    case "${device}" in
41
        UUID=*|LABEL=*)
41
        UUID=*|LABEL=*|PARTUUID=*)
42
            local real_device=""
42
            local real_device=""
43
            local retval=1
43
            local retval=1
44
44
Lines 69-75 find_real_device() { Link Here
69
}
69
}
70
70
71
get_device_fstype() {
71
get_device_fstype() {
72
    # This function expects a real or UUID=,LABEL= based reference
72
    # This function expects a real or UUID=,LABEL=,PARTUUID= based reference
73
    # that can be resolved to a real device node. Using this
73
    # that can be resolved to a real device node. Using this
74
    # function in combination with ZFS may lead to unexpected behaviour.
74
    # function in combination with ZFS may lead to unexpected behaviour.
75
    local device=$(find_real_device "${1}")
75
    local device=$(find_real_device "${1}")
(-)a/usr/share/genkernel/defaults/initrd.d/00-rootdev.sh (-1 / +1 lines)
Lines 19-25 _rootdev_detect() { Link Here
19
    while [ "${got_good_root}" != "1" ]; do
19
    while [ "${got_good_root}" != "1" ]; do
20
20
21
        case "${REAL_ROOT}" in
21
        case "${REAL_ROOT}" in
22
            LABEL=*|UUID=*)
22
            LABEL=*|UUID=*|PARTUUID=*)
23
                local root_dev=$(find_real_device "${REAL_ROOT}")
23
                local root_dev=$(find_real_device "${REAL_ROOT}")
24
                if [ -n "${root_dev}" ]; then
24
                if [ -n "${root_dev}" ]; then
25
                    REAL_ROOT="${root_dev}"
25
                    REAL_ROOT="${root_dev}"

Return to bug 551708