00-livecd.sh: de-hardcode /dev/mapper/root, use ${REAL_ROOT}

master
Fabio Erculiani 11 years ago
parent 718996ddc4
commit cda54cd13b

@ -378,7 +378,7 @@ livecd_mount() {
MOUNTTYPE="${LOOPTYPE}" MOUNTTYPE="${LOOPTYPE}"
;; ;;
esac esac
mount -t "${MOUNTTYPE}" -o ro /dev/mapper/root \ mount -t "${MOUNTTYPE}" -o ro "${REAL_ROOT}" \
"${NEW_ROOT}/mnt/livecd" "${NEW_ROOT}/mnt/livecd"
test_success "Mount filesystem" test_success "Mount filesystem"
FS_LOCATION="mnt/livecd" FS_LOCATION="mnt/livecd"

Loading…
Cancel
Save