Commit Graph

1 Commits

Author SHA1 Message Date
Dmitriy Terekhin
0f8e976fdc uuid-iso: create UUID for ISO image
By default, when building an image, xorriso generates
an image UUID of the form YYYY-MM-DD-hh-mm-ss-cc
from the current time.
If the xorriso command line has a parameter
-volume_date uuid YYYYMMDDhhmmsscc
then the UUID of the image is generated from it.
This feature reads the current time and creates variables:
UUID_ISO containing YYYY-MM-DD-hh-mm-ss-cc
UUID_ISO_SHRT containing YYYYMMDDhhmmsscc
Also add 60-cdrom_id.rules to initrd
This allows to identify CD/DVD by UUID
and use to boot the installer
method:disk,uuid:YYYY-MM-DD-hh-mm-ss-cc
2021-04-03 21:50:03 +07:00