sd-boot: ignore missing /etc/machine-id
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 15 Jul 2015 09:58:03 +0000 (11:58 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 15 Jul 2015 10:04:31 +0000 (12:04 +0200)
commitab822b624bc48410c8d7bd3be1c88c399a44adae
tree7439b77cbe185b66d815b195a2b2fa2c46181feb
parent8a2abb30b8a4ef97eb69ecdabd31da996abc3df0
sd-boot: ignore missing /etc/machine-id

If /etc/machine-id is missing (eg., gold images), we should not fail
installing sd-boot. This is a perfectly fine use-case and we should simply
skip installing the default loader config in that case.
src/boot/bootctl.c