From: longpanda Date: Sun, 4 Apr 2021 14:25:26 +0000 (+0800) Subject: persistence support for ArchLinux series (Arch/ArchMan/ArchBang/ArchLabs/BlackArch...) X-Git-Tag: v1.0.40~5 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/ffc915ca539d52fe3329993df09b5977b7c89739 persistence support for ArchLinux series (Arch/ArchMan/ArchBang/ArchLabs/BlackArch...) --- diff --git a/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh b/IMG/cpio/ventoy/hook/arch/ventoy-hook.sh index f78af54..1dde305 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