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', 'sed',
'--in-place', '--in-place',
'--regexp-extended', '--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, *configs,
] ]
run_program(cmd) run_program(cmd)