Yu Watanabe
37d1f1573b
bootctl: do not fail on removing unfied kernel image
...
A boot loader entry for a unified kernel image has
BootEntry.kernel : path to the image relative to ESP or XBOOTLDR,
BootEntry.path : path to the image.
Hence, these two effectively point to the same file.
Hence, by unlink command, the image is removed by
```
deref_unlink_file(&known_files, e->kernel, e->root);
```
then later tried again by
```
r = chase_and_unlink(e->path, root, ...);
```
and of course it fails with -ENOENT.
Let's ignore the failure there. We already ignore ENOENT on removal
at various places, especially in deref_unlink_file().
Fixes #38706 .
Follow-ups for 8702496bfb .
2025-08-26 15:45:44 +02:00
..
2025-05-07 22:04:46 +09:00
2025-07-22 03:05:54 +09:00
2025-05-14 22:34:02 +02:00
2025-05-14 22:34:02 +02:00
2025-08-20 02:32:02 +09:00
2025-05-21 10:49:42 +02:00
2025-07-10 14:02:00 +09:00
2025-07-22 03:05:54 +09:00
2025-08-25 23:45:12 +09:00
2025-08-26 15:45:44 +02:00
2025-06-17 02:10:37 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-08-26 04:54:19 +09:00
2025-07-17 15:09:58 +01:00
2025-07-12 21:19:01 +09:00
2025-07-11 13:05:46 +09:00
2025-07-22 03:05:54 +09:00
2025-08-18 13:03:18 +01:00
2025-05-14 22:34:02 +02:00
2025-07-26 05:00:02 +09:00
2025-05-14 22:34:02 +02:00
2025-07-22 03:05:33 +09:00
2025-05-14 22:34:02 +02:00
2025-05-20 10:29:59 +02:00
2025-05-14 22:34:02 +02:00
2025-07-22 03:05:54 +09:00
2025-07-16 05:47:38 +09:00
2025-06-17 16:14:47 +09:00
2025-08-19 11:50:27 +02:00
2025-07-25 12:33:13 +02:00
2025-07-25 14:04:17 +02:00
2025-06-04 13:32:24 +02:00
2025-05-27 09:26:02 +02:00
2025-05-20 10:29:58 +02:00
2025-08-21 18:15:44 +09:00
2025-07-22 03:05:33 +09:00
2025-05-14 22:34:02 +02:00
2025-05-14 22:34:02 +02:00
2025-08-26 15:23:41 +02:00
2025-08-20 13:19:51 +01:00
2025-05-21 10:49:42 +02:00
2025-08-01 05:42:51 +09:00
2025-07-31 12:32:10 +01:00
2025-07-25 14:04:17 +02:00
2025-06-10 08:45:31 -04:00
2025-07-11 13:05:46 +09:00
2025-08-20 02:15:36 +09:00
2025-07-31 05:41:53 +09:00
2025-06-30 09:19:15 +02:00
2025-07-27 00:58:02 +01:00
2025-08-06 12:54:26 +09:00
2025-08-13 23:43:51 +09:00
2025-05-14 22:34:02 +02:00
2025-06-03 16:12:45 +02:00
2025-05-14 22:34:02 +02:00
2025-08-20 02:32:02 +09:00
2025-08-20 02:32:02 +09:00
2025-08-08 19:39:31 +09:00
2025-06-17 13:16:43 +02:00
2025-08-25 19:08:01 +01:00
2025-08-26 15:30:39 +02:00
2025-08-17 00:14:42 +09:00
2025-08-17 00:14:42 +09:00
2025-08-17 00:14:42 +09:00
2025-08-17 00:14:42 +09:00
2025-08-06 14:09:33 +01:00
2025-07-03 17:43:01 +02:00
2025-05-14 22:34:02 +02:00
2025-08-12 06:11:34 +09:00
2025-07-22 03:05:33 +09:00
2025-05-21 10:49:42 +02:00
2025-05-15 15:39:20 +02:00
2025-07-16 05:47:38 +09:00
2025-07-01 12:24:32 +09:00
2025-05-14 22:34:02 +02:00
2025-05-21 10:49:42 +02:00
2025-07-22 03:05:33 +09:00
2025-05-21 10:49:42 +02:00
2025-08-20 14:04:27 +02:00
2025-06-02 11:10:38 +02:00
2025-07-14 13:07:29 +01:00
2025-07-30 01:15:29 +09:00
2025-05-14 22:34:02 +02:00
2025-06-10 08:44:51 -04:00
2025-08-20 13:19:51 +01:00
2025-07-11 13:05:46 +09:00
2025-06-02 11:10:38 +02:00
2025-07-10 16:19:46 +02:00
2025-05-21 10:49:42 +02:00
2025-07-10 14:02:00 +09:00
2025-06-17 02:10:37 +02:00
2025-06-02 11:10:38 +02:00
2025-06-30 09:19:15 +02:00
2025-07-10 14:02:00 +09:00
2025-07-22 03:05:54 +09:00
2025-05-14 22:34:02 +02:00
2025-07-16 21:03:10 +09:00
2025-07-31 05:41:53 +09:00
2025-08-20 02:32:02 +09:00
2025-07-11 13:05:46 +09:00
2025-05-14 22:34:02 +02:00
2025-08-20 14:02:45 +02:00
2025-06-24 23:23:40 +09:00
2025-07-22 03:05:33 +09:00
2025-08-26 04:07:24 +09:00
2025-07-24 17:10:17 +01:00
2025-05-21 10:49:42 +02:00
2025-08-26 06:00:03 +09:00
2025-08-19 17:49:07 +01:00
2025-05-21 10:49:42 +02:00
2025-07-13 05:49:00 +09:00
2025-05-21 10:49:42 +02:00
2025-07-29 18:05:20 +02:00
2025-05-24 17:13:39 +02:00
2025-06-30 09:19:15 +02:00
2025-05-21 10:49:42 +02:00
2025-05-21 10:49:42 +02:00
2025-07-12 21:19:01 +09:00
2025-08-18 15:37:43 +09:00
2025-06-30 09:19:15 +02:00
2025-05-14 22:34:02 +02:00
2025-05-21 10:49:42 +02:00