• Dmitriy Terekhin's avatar
    uuid-iso: create UUID for ISO image · 0f8e976f
    Dmitriy Terekhin authored
    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
    0f8e976f
20-initrd-cdrom 289 Bytes