1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-09 13:57:42 +03:00
Zbigniew Jędrzejewski-Szmek 367165a406 kernel-install: add "$KERNEL_INSTALL_STAGING_AREA" directory
The general approach of kernel-install was that each plugin would drop in some
files into the entry directory. But this doesn't scale well, because if we have
multiple initrd generators, or multiple initrds, each generator would need to
recreate the logic to put the generated files in the right place.

Also, effective cleanup is impossible if anything goes wrong on the way, so we
could end up with unused files in $BOOT.

So let's invert the process: plugins drop files into $KERNEL_INSTALL_STAGING_AREA,
and at the end 90-loaderentry.install DTRT with those files.

This allow new plugins like 50-mkosi-initrd.install to be significantly simpler.
2022-01-28 16:17:47 +01:00
..
2022-01-17 16:54:56 +09:00
2022-01-07 17:37:37 +01:00
2021-10-07 22:13:12 +02:00
2021-08-11 09:34:45 +02:00
2021-10-20 22:20:18 +09:00
2021-08-18 13:36:14 +02:00
2020-12-16 17:21:48 +01:00
2021-01-04 11:01:17 +00:00
2021-06-30 23:33:00 +09:00
2021-01-04 11:01:17 +00:00
2022-01-06 22:20:11 +09:00
2021-11-30 13:54:27 +01:00
2021-08-20 11:09:47 +02:00
2021-12-13 09:25:31 +01:00
2021-04-19 23:16:02 +02:00
2021-12-08 11:46:33 +01:00
2021-10-20 22:20:18 +09:00
2021-11-08 10:15:23 +01:00
2020-11-09 13:23:58 +09:00
2020-12-16 17:21:48 +01:00