Add missing line breaks in archiso-v43-06-copytoram.patch

This commit is contained in:
fdupoux 2022-01-02 08:58:05 +00:00
parent 7a9669ab2a
commit fc16e66218

View file

@ -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