diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 14:18:19 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 14:18:19 -0500 |
commit | a1d58b89f285b39a36fbc4dbbf25316161d2db27 (patch) | |
tree | 6447e7de572510ca6d858c2d3778095e2d30ddbc /lfs.sh | |
parent | ac8cda7c0dd16426e6fe593fd6f267d788678b82 (diff) |
Add informative messages for setup disk stages.
Diffstat (limited to 'lfs.sh')
-rwxr-xr-x | lfs.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -49,12 +49,14 @@ printf "%b" "${GRN}Creating LFS directory at ${YLW}${LFS}${GRN} if it does not e # Setup partition, filesystem, format and mount if # LFS filesystem is not previously mounted if ! grep -q "${LFS}" /proc/mounts; then - printf "%b" "${GRN}Setting up partition on ${YLW}${LFS_DISK} ${GRN}\ -with ${YLW}ext4${GRN} filesystem at ${YLW}${LFS_DISK}${LFS_ROOT} ${GRN}\ -and mounting at ${YLW}${LFS}${RST}...\n" + printf "%b" "${GRN}Preparing LFS partition and filesystem${RST}...\n" source setupdisk.sh "${LFS_DISK}" "${LFS_PART}" + printf "%b" " ${IGRN}Mounting ${IWHT}${LFS_DISK}${LFS_PART} ${IGRN}at \ +${IWHT}${LFS}${RST}\n" sudo mount "${LFS_DISK}${LFS_PART}" "${LFS}" + printf "%b" " ${IGRN}Changing ownership of ${IWHT}${LFS} ${IGRN} \ +to user ${IWHT}${USER}${RST}\n" sudo chown -v "${USER}" "${LFS}" fi |