we should target the assumed link target, not the link, since under recovery, system is not mounted as /
This commit is contained in:
parent
96dcf2efdc
commit
0e68c6d252
|
@ -116,12 +116,12 @@ SYSTEM="${SYSTEM_MNT}/system"
|
|||
PRODUCT="/product"
|
||||
if [ -L "${SYSTEM_MNT}/product" ]; then
|
||||
PRODUCT_BLOCK=""
|
||||
PRODUCT="${SYSTEM_MNT}/product"
|
||||
PRODUCT="${SYSTEM_MNT}/system/product"
|
||||
fi
|
||||
SYSTEM_EXT="/system_ext"
|
||||
if [ -L "${SYSTEM_MNT}/system_ext" ]; then
|
||||
SYSTEM_EXT_BLOCK=""
|
||||
SYSTEM_EXT="${SYSTEM_MNT}/system_ext"
|
||||
SYSTEM_EXT="${SYSTEM_MNT}/system/system_ext"
|
||||
fi
|
||||
|
||||
if [ -n "$PRODUCT_BLOCK" ]; then
|
||||
|
|
Loading…
Reference in a new issue