From 2832d6c57ddc4fa7a1fa31a262624fdd903e1a5e Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Wed, 23 Jan 2019 17:02:07 +0100 Subject: [PATCH] Do md5sum after udflabel phase This somehow slipped. --- scripts/generic_post_iso_script.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/generic_post_iso_script.sh b/scripts/generic_post_iso_script.sh index 7aaf652..d193a6c 100755 --- a/scripts/generic_post_iso_script.sh +++ b/scripts/generic_post_iso_script.sh @@ -27,15 +27,15 @@ if [ "${ISO_ARCH}" = "amd64" ]; then fi isohybrid ${ih_args} "${ISO_PATH}" || exit 1 -cd "$(dirname "${ISO_PATH}")" || exit 1 -iso_name=$(basename "${ISO_PATH}") -md5sum "${iso_name}" > "${ISO_CHECKSUM_PATH}" - # FIXME: With certain versions of udev/blkid on specific hosts, resolving # the rootfs livecd by label fails to the wrong partition (e.g. efi), preventing to boot. # Meanwhile workaround it by writing an hardcoded udf UUID, but this could be # also automatically generated to have also predictable builds. # Requires sys-fs/udftools -udflabel --force -u 5c403dad00049b51 "${ISO_PATH}" SABAYON +udflabel --force -u 5c403dad00049b51 "${ISO_PATH}" SABAYON || exit 1 + +cd "$(dirname "${ISO_PATH}")" || exit 1 +iso_name=$(basename "${ISO_PATH}") +md5sum "${iso_name}" > "${ISO_CHECKSUM_PATH}" exit ${?}