diff --git a/patches/archiso-v43-06-copytoram.patch b/patches/archiso-v43-06-copytoram.patch index d48d055..a380198 100644 --- a/patches/archiso-v43-06-copytoram.patch +++ b/patches/archiso-v43-06-copytoram.patch @@ -7,14 +7,14 @@ diff -urN archiso-43-a/archiso/initcpio/hooks/archiso archiso-43-b/archiso/initc + if [[ "${copytoram}" == "y" ]]; then + if ls -lh /run/archiso/bootmnt/autorun* >/dev/null 2>/dev/null; then -+ msg -n ":: Copying autorun scripts to RAM ..." ++ msg ":: Copying autorun scripts to RAM ..." + if ! cp /run/archiso/bootmnt/autorun* /run/archiso/copytoram/ ; then + echo "ERROR: failed to copy '/run/archiso/bootmnt/autorun*' to '/run/archiso/copytoram/'" + launch_interactive_shell + fi + fi + if ls -lh /run/archiso/bootmnt/config.d >/dev/null 2>/dev/null; then -+ msg -n ":: Copying configuration files to RAM ..." ++ msg ":: Copying configuration files to RAM ..." + if ! cp -r /run/archiso/bootmnt/config.d /run/archiso/copytoram/ ; then + echo "ERROR: failed to copy '/run/archiso/bootmnt/config.d' to '/run/archiso/copytoram/'" + launch_interactive_shell