diff --git a/build.sh b/build.sh index 47c200b..5258a8c 100644 --- a/build.sh +++ b/build.sh @@ -16,8 +16,11 @@ function get_path_uuid { get_mount_uuid "${tmp}" } ESP="$(get_path_uuid "${ROOT}")" - -DATA='b0626dca-c6c2-45fc-9a02-31549680bbe5' +if [ "${1}" ] ; then + DATA="$(get_path_uuid "${1}")" +else + DATA="${ESP}" +fi PGP_PUB='BADA5579' @@ -224,8 +227,9 @@ du --human-readable --summarize \ "${UEFI_ROOT}" \ "${BIOS_DIRECTORY}" \ "${ROOT}" - +echo echo "ESP: ${ESP}" +echo "DATA: ${DATA}" # clean ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅ diff --git a/readme.md b/readme.md index 36ee96d..ab168d9 100644 --- a/readme.md +++ b/readme.md @@ -62,6 +62,6 @@ Build an ESP File System including: * layouts * grub.env * variablize - * data + * pgp ![Graph](todo.svg)