Mate Kukri
3f9eace2d3
util/grub-install: Delay copying files to {grubdir,platdir} after install_device was validated
...
Previously grub-install copied modules to grubdir before doing any
validation on the install_device.
When grub-install was called with an invalid install_device, modules
were already copied to /boot before it found out and was forced to rely
on atexit() rollback.
This patch delays copying the modules after at least some install_device
validation was done, and thus reduces reliance on successful rollback.
Signed-off-by: Mate Kukri <mate.kukri@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-12-05 15:32:30 +01:00
..
2022-12-07 23:38:27 +01:00
2023-09-22 18:38:36 +02:00
2010-09-15 14:46:53 +02:00
2017-12-06 12:55:55 +01:00
2013-08-14 10:56:55 +02:00
2013-12-14 21:50:36 +01:00
2020-02-18 15:16:02 +01:00
2013-11-23 12:42:30 +01:00
2022-03-14 16:01:07 +01:00
2022-03-14 16:01:07 +01:00
2021-03-02 15:54:17 +01:00
2020-07-29 16:55:47 +02:00
2022-03-14 16:01:07 +01:00
2022-03-14 16:01:07 +01:00
2022-03-14 16:01:07 +01:00
2013-12-21 18:08:25 +01:00
2023-10-03 15:37:13 +02:00
2023-12-05 15:32:30 +01:00
2016-02-12 15:46:05 +01:00
2015-03-04 01:00:19 +01:00
2013-11-11 22:48:43 +01:00
2022-03-14 16:01:07 +01:00
2022-11-14 16:54:12 +01:00
2022-11-14 16:54:12 +01:00
2022-10-27 15:47:34 +02:00
2018-12-12 12:03:27 +01:00
2018-12-12 12:03:27 +01:00
2021-03-02 15:54:19 +01:00
2023-06-13 16:00:39 +02:00
2022-03-14 16:01:07 +01:00
2023-05-17 13:23:44 +02:00
2022-03-14 16:01:07 +01:00
2013-12-21 18:08:25 +01:00
2023-05-17 13:23:44 +02:00
2022-03-14 16:01:07 +01:00
2022-10-11 14:15:55 +02:00
2022-10-11 14:15:55 +02:00
2023-05-17 13:18:36 +02:00
2023-03-14 16:07:54 +01:00
2023-10-30 18:33:06 +01:00
2020-07-29 16:55:47 +02:00
2023-06-01 11:45:00 +02:00
2018-09-13 11:01:10 +02:00
2013-12-21 18:08:25 +01:00
2022-03-14 16:01:07 +01:00
2016-02-12 15:46:05 +01:00
2020-12-12 01:19:03 +01:00
2022-03-14 16:01:07 +01:00
2014-01-25 21:49:41 +04:00
2013-11-07 06:35:50 +01:00
2023-06-13 14:16:08 +02:00
2016-01-05 21:10:27 +01:00
2023-05-17 13:23:44 +02:00
2022-06-07 12:54:51 +02:00
2022-03-14 16:01:07 +01:00
2022-02-08 16:04:57 +01:00
2013-10-15 16:16:04 +02:00
2013-10-15 16:16:04 +02:00
2022-03-14 16:01:07 +01:00
2013-01-21 14:55:30 +01:00