Jonathan Lebon
e921ebb57e
units: unconditionally pull in remote-cryptsetup.target in the initramfs
...
[zjs: Replaces #17149 .
I took half of the patch in
https://github.com/systemd/systemd/pull/17149#issuecomment-698399194 ,
hence I'm keeping Jonathan's authorship.
The original reasoning for 6c5496c492 was that we
enable remote-cryptsetup.target via presets, and since presets are not used for
the initrd, we need a different target. But since parts of the unit and target
tree are shared between the initramfs and the main system, we can't just create
a separate target for the initramfs. All the targets that depend on this one
would need to be split also. That condition is true for initrd-fs.target, but
not for sysinit.target.
So let's instead just uncoditionally pull in remote-cryptsetup.target in the
initramfs. It should normally be empty, so there should be no impact on boots
that don't have units in the target.
Jonathan's patch used initrd-root-fs.target, this version instead uses
initrd-root-device.target. initrd-root-device.target is ordered before
sysroot.mount, which means that the decrypted devices will be available earlier
too.]
2020-10-27 13:49:01 +01:00
..
2020-05-27 09:02:10 +02:00
2018-10-13 12:59:29 +02:00
2017-11-19 19:08:15 +01:00
2020-01-21 20:23:13 +01:00
2017-11-19 19:08:15 +01:00
2018-10-19 22:34:50 +02:00
2020-05-26 23:52:09 +02:00
2020-05-26 23:52:09 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2019-04-29 17:06:52 +02:00
2017-11-19 19:08:15 +01:00
2019-03-25 19:39:00 +01:00
2020-04-16 16:33:01 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2020-10-19 16:28:22 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2020-05-26 23:52:09 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2020-07-29 16:32:03 +02:00
2020-07-29 16:32:03 +02:00
2020-07-29 16:32:03 +02:00
2020-07-29 16:32:03 +02:00
2020-07-29 16:32:03 +02:00
2020-07-29 16:32:03 +02:00
2020-07-29 16:32:45 +02:00
2020-07-29 16:32:03 +02:00
2020-07-29 16:32:03 +02:00
2017-11-19 19:08:15 +01:00
2019-08-19 11:05:58 +02:00
2017-11-19 19:08:15 +01:00
2019-12-19 10:42:14 +01:00
2020-07-22 17:58:12 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2019-04-12 08:30:31 +02:00
2020-10-27 13:49:01 +01:00
2020-03-05 18:43:50 +00:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2019-09-25 23:44:01 +09:00
2017-11-19 19:08:15 +01:00
2020-09-15 17:44:26 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2019-12-19 10:42:14 +01:00
2017-11-19 19:08:15 +01:00
2020-04-16 16:33:01 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2020-10-13 21:00:11 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2018-03-28 15:26:18 -05:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2019-03-25 19:39:00 +01:00
2019-03-25 19:39:00 +01:00
2019-03-25 19:39:00 +01:00
2020-03-23 08:34:48 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2019-12-05 11:43:02 +01:00
2019-05-24 10:48:28 +02:00
2018-06-20 12:46:18 +02:00
2018-06-20 18:14:43 +02:00
2018-09-26 18:13:32 +02:00
2020-01-20 16:50:16 +01:00
2018-09-26 18:13:32 +02:00
2020-01-20 16:50:16 +01:00
2020-04-08 16:29:41 +02:00
2020-04-23 17:14:45 +02:00
2018-10-19 22:34:50 +02:00
2018-10-19 22:34:50 +02:00
2020-01-20 16:50:16 +01:00
2017-11-19 19:08:15 +01:00
2020-04-08 16:29:41 +02:00
2018-11-16 12:25:35 +01:00
2020-10-19 16:28:22 +02:00
2018-11-26 22:18:16 +01:00
2018-11-26 22:18:16 +01:00
2020-01-20 16:50:16 +01:00
2020-07-29 16:32:03 +02:00
2017-11-19 19:08:15 +01:00
2020-09-30 14:37:52 +02:00
2020-09-30 14:37:52 +02:00
2020-09-30 10:30:03 +02:00
2020-01-20 16:50:16 +01:00
2017-11-19 19:08:15 +01:00
2020-09-30 10:30:03 +02:00
2018-11-12 19:02:55 +01:00
2018-03-30 16:52:14 -04:00
2020-01-20 16:50:16 +01:00
2020-01-20 16:50:16 +01:00
2020-08-24 20:11:14 +02:00
2017-11-19 19:08:15 +01:00
2020-08-24 20:11:14 +02:00
2017-11-19 19:08:15 +01:00
2020-08-24 20:11:14 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2020-01-31 15:03:55 +01:00
2020-04-07 15:37:14 +02:00
2017-11-19 19:08:15 +01:00
2020-01-31 15:03:55 +01:00
2020-01-31 15:01:30 +01:00
2020-01-20 16:50:16 +01:00
2020-09-30 10:30:03 +02:00
2020-10-19 15:23:37 +02:00
2020-10-19 16:28:22 +02:00
2020-09-30 10:30:03 +02:00
2017-11-19 19:08:15 +01:00
2020-03-27 18:30:57 +01:00
2017-11-19 19:08:15 +01:00
2020-09-11 16:01:22 +02:00
2020-05-27 22:40:56 +02:00
2020-03-02 19:37:51 +09:00
2020-10-19 02:46:07 -07:00
2019-11-15 00:59:54 -08:00
2018-10-17 19:31:50 +02:00
2020-04-08 16:29:58 +02:00
2017-11-19 19:08:15 +01:00
2020-10-19 16:28:22 +02:00
2018-10-17 19:31:50 +02:00
2019-01-03 15:30:28 +01:00
2020-04-02 17:07:48 +02:00
2020-09-30 10:30:03 +02:00
2020-04-08 16:29:41 +02:00
2018-11-24 23:59:37 +09:00
2018-03-28 15:26:18 -05:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2020-01-20 16:50:16 +01:00
2018-03-22 23:41:54 +03:00
2020-09-30 10:30:03 +02:00
2020-09-11 16:01:22 +02:00
2020-01-20 16:50:16 +01:00
2017-11-19 19:08:15 +01:00
2020-01-20 16:50:16 +01:00
2020-01-20 16:50:16 +01:00
2020-06-08 16:53:37 +02:00
2020-06-08 16:53:37 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2020-06-02 14:14:20 +02:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2020-08-07 10:02:05 +02:00
2020-08-24 20:11:14 +02:00
2020-03-31 14:55:16 +02:00
2020-03-05 08:13:49 +01:00
2020-08-11 09:12:56 +02:00
2019-04-08 14:34:05 +02:00
2019-04-08 14:34:05 +02:00
2017-11-19 19:08:15 +01:00
2020-07-29 11:07:04 +02:00
2017-11-19 19:08:15 +01:00
2019-02-15 18:16:27 +01:00
2018-10-13 12:59:29 +02:00
2017-11-19 19:08:15 +01:00
2020-03-05 04:49:37 +09:00
2018-11-26 18:09:01 +01:00