aboutsummaryrefslogtreecommitdiffstats
path: root/setupdisk.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-21 06:31:26 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-21 06:31:26 -0500
commitcafeed910729ecba257d2b4584a5b64e990b7b67 (patch)
treeb980c634f0f12f3a41cf538867a0724d7d79a21d /setupdisk.sh
parent1616aec313ef76bf527b337d447fc1e9d1f58afa (diff)
Hardcode path to mkfs as sudo may not always set PATH to include /sbin.
Diffstat (limited to 'setupdisk.sh')
-rwxr-xr-xsetupdisk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setupdisk.sh b/setupdisk.sh
index ce2ac65..8e2f957 100755
--- a/setupdisk.sh
+++ b/setupdisk.sh
@@ -22,4 +22,4 @@ w
q
EOF
-sudo mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_ROOT}" \ No newline at end of file
+sudo /sbin/mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_ROOT}"