kernel-install/90-loaderentry: do not add multiple systemd.machine_id options
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 4 Nov 2022 08:57:24 +0000 (09:57 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 4 Nov 2022 15:53:40 +0000 (16:53 +0100)
commit981502c5cc9ce32c3f77ff74aad87cd6f0da3b16
tree5021342b7e8cd7c91b9d3aa3ab74c714cb88263c
parente0fc9be37e4d15e2c322eb8281692c2639dac023
kernel-install/90-loaderentry: do not add multiple systemd.machine_id options

Do not unconditionally add a new systemd.machine_id command line option, first
check if it already exists with the expected value.

Fixes #25203
src/kernel-install/90-loaderentry.install