Files
Ventoy/IMG/cpio/ventoy/hook/debian
longpanda 2248d1f807
Ventoy CI / build (push) Canceled after 0s
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Canceled after 0s
Add a cleanup service for Ventoy udev rules files
When we boot an ISO file to the live system through Ventoy.
The ISO partition (e.g. /dev/sda1) is hold by the device-mapper which will block it to be mounted.
So Ventoy will create a mirror device-mapper /dev/mapper/VentoyPart for /dev/sda1.
Most live systems with GUI environment will auto mount Ventoy ISO partition by udisk.
So in 1.1.18 Venoty will inject an udev rule in the Live system in order to:
1. Block the original ISO partition (e.g. /dev/sda1) to be auto-mounted.
2. Force /dev/mapper/VentoyPart to be auto-mounted.

But the udev rule file was injected to /etc directory of the Live system, this will make the rule mistakenly inherited into the final installed system.
Originally, the /run directory would have been the most suitable location, but in some Live systems /run is not a static directory but an overlayfs which is created dynamically during boot which make it a little bit complex.
So we add a cleanup systemd/sysvinit service.
2026-11-23 20:26:11 +08:00
..
2021-01-06 16:00:03 +08:00
2021-01-29 09:46:15 +08:00
2021-01-29 09:46:15 +08:00
2022-06-19 13:56:49 +08:00
2021-03-28 17:18:23 +08:00
2021-03-28 17:18:23 +08:00
2020-04-24 21:58:07 +08:00
2020-12-12 07:56:52 +08:00
2020-12-12 07:56:52 +08:00
2020-07-22 23:30:13 +08:00
2020-10-17 15:56:54 +08:00
2020-08-29 13:12:46 +08:00
2020-08-29 13:12:46 +08:00
2026-04-05 23:11:45 +08:00
2021-10-09 19:22:42 +08:00
2023-08-23 09:26:53 +08:00
2021-09-13 16:41:51 +08:00
2020-04-24 21:58:07 +08:00
2021-10-22 18:16:50 +08:00
2021-10-16 23:32:39 +08:00
2021-10-19 20:12:50 +08:00
2023-07-31 23:33:25 +08:00
2021-03-08 16:18:22 +08:00
2020-09-12 02:46:44 +08:00
2022-06-19 13:56:49 +08:00
2020-08-13 20:20:23 +08:00
2020-08-13 20:20:23 +08:00