aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-01 14:06:20 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-01 14:06:20 -0500
commitde751ff2dc6fc660773c12c970fd5fdd8a2bd8e7 (patch)
treeb29f86aea9d7aaf942b81450eed88dad1747921c
parent5b6db0dde8b8fbbd638c76088ecd35c83492f95b (diff)
parentb84fb27a91e88b015231e852337d69a52efc1fc4 (diff)
Merge branch 'cleanup' into chapter7
-rw-r--r--setupdisk.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/setupdisk.sh b/setupdisk.sh
index 216388f..e9cd692 100644
--- a/setupdisk.sh
+++ b/setupdisk.sh
@@ -1,8 +1,5 @@
#!/bin/bash
-LFS_DISK="$1"
-LFS_ROOT="$2"
-
sudo fdisk "${LFS_DISK}" >/dev/null 2>&1 << EOF
o
n
@@ -22,4 +19,4 @@ w
q
EOF
-sudo /sbin/mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_ROOT}" >/dev/null 2>&1
+sudo /sbin/mkfs -t ext4 -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1