diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 14:06:11 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 14:06:11 -0500 |
commit | b84fb27a91e88b015231e852337d69a52efc1fc4 (patch) | |
tree | 312404f38d23b3337948d26e5d9ba2e6ccff03d9 /setupdisk.sh | |
parent | 3ad30904c979c4cd09a1e403f736405eb6d3a194 (diff) |
LFS_ROOT and LFS_DISK not needed as these are exported environment variables from env.sh.
Diffstat (limited to 'setupdisk.sh')
-rw-r--r-- | setupdisk.sh | 5 |
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 |