Systemd/src/kernel-install
Yu Watanabe 9d8813b3b4 kernel-install: support the case /etc/machine-id is missing or empty (#5975)
Some .install plugins does not require that machine ID is set such as
20-grubby.install for Fedora and 50-depmod.install.
To support such plugins to run without valid machine-id, this commit
makes the following change:
* if /etc/machine-id is missing or empty, create temporary directory
  and set its path to BOOT_DIR_ABS,
* run the .install helpers with KERNEL_INSTALL_MACHINE_ID environment
  variable that'd be empty if /etc/machine-id is missing or empty.
This may be useful for installing kernel for e.g. stateless systems
which initialize machine-id while booting the systems.
2017-05-30 09:45:10 -04:00
..
50-depmod.install kernel-install: remove unneeded modules.* files created by depmod (#5766) 2017-04-21 14:03:17 -04:00
90-loaderentry.install kernel-install: support the case /etc/machine-id is missing or empty (#5975) 2017-05-30 09:45:10 -04:00
Makefile build-sys: add missing Makefile link 2014-06-16 12:33:23 +02:00
kernel-install kernel-install: support the case /etc/machine-id is missing or empty (#5975) 2017-05-30 09:45:10 -04:00
meson.build meson: reindent all files with 8 spaces 2017-04-23 21:47:29 -04:00