Boot with prefixed UUID
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.
This commit is contained in:
@@ -30,5 +30,12 @@ isohybrid ${ih_args} "${ISO_PATH}" || exit 1
|
||||
cd "$(dirname "${ISO_PATH}")" || exit 1
|
||||
iso_name=$(basename "${ISO_PATH}")
|
||||
md5sum "${iso_name}" > "${ISO_CHECKSUM_PATH}"
|
||||
exit ${?}
|
||||
|
||||
# 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
|
||||
|
||||
exit ${?}
|
||||
|
||||
Reference in New Issue
Block a user