progress
This commit is contained in:
parent
f153d0a41f
commit
45a4319bf8
|
@ -30,7 +30,7 @@ config() {
|
|||
if [ "${EFI}" == "1" ]; then
|
||||
set -x
|
||||
VGUUID=$(vgdisplay |grep UUID|awk '{print $3}')
|
||||
LVUUID=$(lvdisplay "/dev/mapper/${TARGETNAME_UNDERSCORE}-root" |grep UUID|awk '{print $3}')
|
||||
LVUUID=$(lvdisplay "/dev/mapper/vg_${TARGETNAME_UNDERSCORE}-root" |grep UUID|awk '{print $3}')
|
||||
rl=$(basename $(readlink "${TARGET_PHY_ID}-part${TARGET_PART}"))
|
||||
TMP=$(lsblk -o NAME,UUID -l|grep "${rl}" | awk '{print $2}')
|
||||
CRYPTUUID=${TMP//-/}
|
||||
|
|
Loading…
Reference in New Issue
Block a user