Files
packages/utils
Daniel Golle 3a96d5e93a uvol: complete .meta and register an active volume only once
uvol creates /tmp/run/uvol/.meta/apk as the database directory of apk's
uvol layer, but leaves it empty. apk only activates a layer other than
the root one when its world file can be read, so every package built
for that layer is refused as "masked in: layer" until something writes
the file. The container runtime keeps its global state in
/tmp/run/uvol/.meta/uxc, which only container packages ship, so on a
device without any of them that state cannot be stored.

Create an empty world file and the uxc directory when they are missing,
whenever .meta is created or adopted at boot.

uvol up on an LVM volume that is already active and registered with
blockd registers it again. blockd answers each registration with a
mount.add notification, so a consumer that brings volumes up from a
mount.add trigger, such as the container runtime, triggers itself again
without end. Return success for such a volume without registering it,
as the UBI backend already does for an active volume.

Fixes: 6772c0fe44 ("uvol: clean up paths and fix delayed startup")
Fixes: cb60600aec ("uvol: bump version to 1.1")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-10-16 14:12:30 +01:00
..
2024-05-28 12:39:35 -07:00
2026-03-15 09:15:43 +02:00
2021-11-01 00:14:22 -07:00
2026-06-24 13:39:16 +08:00
2023-04-21 22:46:58 +02:00
2026-07-29 20:33:35 +03:00
2024-06-02 20:10:52 -07:00
2025-07-15 15:05:45 +02:00
2026-05-08 22:28:27 +02:00
2026-09-16 18:53:00 +03:00
2026-04-03 22:24:03 +03:00
2022-02-01 16:16:24 -08:00
2026-02-15 10:33:55 +02:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2025-11-12 19:10:09 +02:00
2026-06-23 22:50:16 +08:00
2026-08-22 15:59:59 +01:00
2026-05-08 22:28:27 +02:00
2026-08-04 07:33:19 +02:00
2026-07-06 20:25:02 -06:00
2026-05-15 13:45:40 +01:00
2026-05-15 13:45:40 +01:00
2026-10-09 17:21:01 +03:00
2026-07-18 11:46:26 +03:00
2023-07-18 18:03:11 +02:00
2023-04-21 22:46:58 +02:00
2026-06-23 22:48:58 +08:00
2026-09-11 01:46:29 +01:00
2024-10-01 18:18:11 +08:00
2026-05-08 22:28:27 +02:00
2026-06-11 11:37:29 +02:00
2026-07-18 11:46:26 +03:00
2026-07-18 11:46:26 +03:00
2026-05-08 22:28:27 +02:00
2026-07-29 22:48:02 +03:00
2025-07-18 22:20:50 +08:00
2026-10-05 17:47:02 +03:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-08-23 19:51:30 +03:00
2025-12-17 01:26:26 +02:00
2023-06-13 15:55:02 +02:00
2026-05-10 11:32:19 +03:00
2026-07-06 10:01:00 +02:00
2026-06-11 08:23:55 +02:00
2026-06-01 08:10:43 +03:00
2026-08-27 14:50:51 +03:00
2026-05-10 11:32:19 +03:00
2026-10-12 14:23:27 +01:00
2026-07-09 16:52:14 +03:00
2026-08-23 19:53:55 +03:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-08-23 19:56:11 +03:00
2025-09-20 23:13:03 +08:00
2026-09-28 08:01:08 +02:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-10-11 09:52:13 +03:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-07-14 15:48:20 +02:00
2022-11-02 15:22:12 +02:00
2026-08-11 13:50:26 +03:00
2026-03-18 07:37:50 +01:00
…
2024-01-31 16:00:10 -08:00
2026-07-31 12:52:31 +03:00
2020-11-29 01:32:32 +01:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-07-31 12:52:31 +03:00
2024-07-08 16:49:22 -07:00
2025-10-12 20:04:29 +03:00
2025-02-10 18:37:55 -08:00
2026-07-07 20:29:49 +02:00
2026-08-31 17:30:15 +01:00
2026-06-21 17:25:02 +02:00
2023-04-21 22:46:58 +02:00
2026-05-17 08:55:58 +02:00
2024-05-28 12:39:06 -07:00
2025-10-21 20:21:06 +02:00
2024-01-31 16:00:10 -08:00
2026-03-15 09:12:26 +02:00
2026-05-08 22:28:27 +02:00
2024-06-23 11:04:42 -07:00
2026-05-06 21:05:02 +03:00
2026-09-18 19:08:53 +03:00
2024-07-12 13:15:33 -07:00
2024-10-10 18:57:52 +03:00
2026-08-03 18:10:36 +03:00
2025-06-02 13:08:58 +02:00
2024-09-13 12:53:16 +08:00
2024-10-30 05:16:05 -07:00
2026-05-08 22:28:27 +02:00
2025-07-29 19:54:08 +03:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-05-12 16:18:56 +01:00
2026-08-31 11:54:17 +02:00
2025-08-22 16:17:20 +03:00
2026-05-08 22:28:27 +02:00
2026-08-22 15:59:59 +01:00
2024-02-07 13:56:28 -08:00
2024-06-16 16:42:26 -07:00
2026-07-20 08:17:44 +02:00
2020-07-15 12:04:08 -07:00
2024-03-25 13:57:48 +01:00
2026-07-30 14:21:19 +03:00
2026-09-04 17:04:13 +03:00
2026-01-09 10:53:29 +01:00
2023-04-21 22:46:58 +02:00
2026-09-18 19:16:28 +03:00
2026-05-19 08:50:55 +03:00
2026-05-08 22:28:27 +02:00
2026-06-10 00:07:48 +02:00
2026-06-26 16:39:50 +08:00
2026-07-18 11:46:26 +03:00
2025-08-02 16:59:40 +08:00
2026-05-03 08:14:01 +02:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-05-08 22:28:27 +02:00
2026-08-24 20:05:46 +03:00
2026-05-10 11:32:19 +03:00
2025-10-18 14:31:36 +03:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2026-09-08 10:52:20 +03:00
2025-09-08 15:36:13 +03:00
2024-07-31 15:00:56 +08:00
2026-10-14 01:03:56 +03:00
2026-10-14 21:03:54 +02:00
2023-04-21 22:46:58 +02:00
2026-10-06 10:40:22 +03:00
2026-08-23 12:35:52 +02:00
2026-02-03 12:12:44 +02:00
2025-05-20 08:57:12 +02:00
2026-09-07 12:03:33 +02:00
2024-09-01 17:25:35 +03:00
2024-06-01 17:28:35 -07:00
2026-05-08 22:28:27 +02:00
2026-03-18 07:33:03 +01:00
2022-06-09 21:45:34 -07:00
2026-08-28 09:01:42 +03:00
2026-05-22 16:28:17 +03:00
2025-07-18 22:21:14 +08:00
2026-05-06 21:05:02 +03:00
2026-10-10 10:46:41 +03:00
2026-05-08 22:28:27 +02:00
2026-09-01 09:45:10 +08:00
2026-05-08 22:28:27 +02:00
2026-07-15 08:30:36 +02:00