Fix the boot issue for nixos 2605+ (#3813)
Ventoy CI / build (push) Canceled after 0s
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Canceled after 0s

This commit is contained in:
longpanda
2026-12-02 18:04:44 +08:00
parent 26980f9d59
commit db894fd970
5 changed files with 71 additions and 32 deletions
@@ -0,0 +1,11 @@
[Unit]
Description=Ventoy Disk Setup
After=systemd-udevd.service
Before=initrd-root-device.target sysroot.mount
ConditionPathIsDirectory=/ventoy
WantedBy=initrd-root-device.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/ventoy/busybox/sh /ventoy/hook/nixos/ventoy-disk.sh