From b4724623f74dc32c818a10a0383287ae9f9d9ab3 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 1 Oct 2023 21:14:31 +0200 Subject: [PATCH] data --- build.sh | 10 +++++++--- readme.md | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) 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)