Fixed wrong script name in chroot call
This commit is contained in:
parent
45636bb82d
commit
ad7709d9dd
|
@ -369,7 +369,7 @@ function main_install() {
|
|||
|
||||
[[ $IS_EFI == "true" ]] \
|
||||
&& mount_efivars
|
||||
gentoo_chroot "$ROOT_MOUNTPOINT" "$GENTOO_INSTALL_REPO_BIND/scripts/main.sh" __install_gentoo_in_chroot
|
||||
gentoo_chroot "$ROOT_MOUNTPOINT" "$GENTOO_INSTALL_REPO_BIND/install" __install_gentoo_in_chroot
|
||||
gentoo_umount
|
||||
}
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ function cache_lsblk_output() {
|
|||
function get_device_by_ptuuid() {
|
||||
local ptuuid="${1,,}"
|
||||
local dev
|
||||
if [[ -v CACHED_LSBLK_OUTPUT ]]; then
|
||||
if [[ -v CACHED_LSBLK_OUTPUT && -n "$CACHED_LSBLK_OUTPUT" ]]; then
|
||||
dev="$CACHED_LSBLK_OUTPUT"
|
||||
else
|
||||
dev="$(lsblk --all --path --pairs --output NAME,PTUUID,PARTUUID)" \
|
||||
|
|
Loading…
Reference in New Issue