Update ESET live SysRescue boot entry to use UUID

This commit is contained in:
2Shirt 2020-01-13 18:15:51 -07:00
parent 749580d041
commit 12121c7078
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -425,7 +425,10 @@ def update_boot_entries():
'sed',
'--in-place',
'--regexp-extended',
f's#archisolabel={ISO_LABEL}#archisodevice=/dev/disk/by-uuid/{uuid}#',
(
f's#archisolabel={ISO_LABEL}#archisodevice=/dev/disk/by-uuid/{uuid}#; '
f's#by-label/(eSysRescueLiveCD|{ISO_LABEL}|{UFD_LABEL})#by-uuid/{uuid}#'
),
*configs,
]
run_program(cmd)