ab822b624bc48410c8d7bd3be1c88c399a44adae |
|
15-Jul-2015 |
David Herrmann <dh.herrmann@gmail.com> |
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. |
d3226d7796b44cb758b1a59db608a73bd0d9b802 |
|
20-May-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
bootctl: modernization
Use strjoina to avoid error handling, and openat to simplify things.
Some fixes on the way:
- ferror does not set errno, so the return value was wrong in some cases
- errors are propagated in more cases
- EFI/systemd was created, but EFI/systemd-boot was deleted
- something is always printed on error
- when checking the version, comparison was done against "systemd-bo" for some reason
- return value was converted from negative to EXIT_SUCCESS/EXIT_FAILURE twice,
resulting in EXIT_SUCCESS all the time |