From b84fb27a91e88b015231e852337d69a52efc1fc4 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Thu, 1 Apr 2021 14:06:11 -0500 Subject: LFS_ROOT and LFS_DISK not needed as these are exported environment variables from env.sh. --- setupdisk.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'setupdisk.sh') 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 -- cgit v1.2.3-54-g00ecf