From d487b7b67e79f9e7cf7e87ef25a1c715252b8184 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 2 Jul 2023 14:39:15 +0200 Subject: Fix(bootstrap/install): Add required path to serial id lookup --- bootstrap/01_install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap') diff --git a/bootstrap/01_install b/bootstrap/01_install index da0a2f9a..cf6ac1cb 100755 --- a/bootstrap/01_install +++ b/bootstrap/01_install @@ -48,7 +48,7 @@ while [ "$info_applied" = false ]; do done msg "Checking for incompatibilities..." -ssd_or_hdd="$(cat /sys/block/"$(basename "$(readlink -f "$NIX_DISK")" | tr -d '\n')"/queue/rotational)" +ssd_or_hdd="$(cat /sys/block/"$(basename "$(readlink -f "/dev/disk/by-id/$NIX_DISK")" | tr -d '\n')"/queue/rotational)" case "$ssd_or_hdd" in 0) msg2 "You seem to use a ssd." -- cgit 1.4.1