summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HOWTO5
-rw-r--r--src/patch-install-cd.sh6
2 files changed, 7 insertions, 4 deletions
diff --git a/HOWTO b/HOWTO
index 038f811..daa1b47 100644
--- a/HOWTO
+++ b/HOWTO
@@ -7,9 +7,6 @@ You can copy-paste the code below when logged in to the install cd
# when network works, quit installer
pacman -Sy git
git clone git://github.com/Dieterbe/fifa.git /home/arch/tmp
-cp -ax /home/arch/tmp/src/fifa.sh /arch/fifa.sh
-cp -ax /home/arch/tmp/src/lib-archboot /arch/lib-archboot
-mkdir /home/arch/fifa/
-cp -ax /home/arch/tmp/src/profiles/* /home/arch/fifa/
+/home/arch/tmp/src/patch-install-cd.sh
/arch/fifa.sh #you can skip networking
diff --git a/src/patch-install-cd.sh b/src/patch-install-cd.sh
new file mode 100644
index 0000000..65359a9
--- /dev/null
+++ b/src/patch-install-cd.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+SRC_DIR=`dirname $0` # the src directory in the git clone
+cp -ax $SRC_DIR/fifa.sh /arch/fifa.sh
+cp -ax $SRC_DIR/lib-archboot /arch/lib-archboot
+mkdir /home/arch/fifa/
+cp -ax $SRC_DIR/profiles/* /home/arch/fifa/