From ffc915ca539d52fe3329993df09b5977b7c89739 Mon Sep 17 00:00:00 2001 From: longpanda Date: Sun, 4 Apr 2021 22:25:26 +0800 Subject: [PATCH] persistence support for ArchLinux series (Arch/ArchMan/ArchBang/ArchLabs/BlackArch...) --- IMG/cpio/ventoy/hook/arch/ventoy-hook.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh b/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh index f78af547..1dde3053 100644 --- a/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh @@ -61,3 +61,7 @@ else ventoy_add_udev_rule "$VTOY_PATH/hook/default/udev_disk_hook.sh %k" fi + +if [ -f $VTOY_PATH/ventoy_persistent_map ]; then + $SED "1 aexport cow_label=vtoycow" -i /init +fi