Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-10-17 23:26:22 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-11-30 21:55:13 -0300
commit8921c59169b337c19502cc4cf64013ca40b9505c (patch)
tree85770a9e68dfc0d51fef39e20aa7c767807f43bb
parent9793b60eb35dfdabc53f490e6e422d0755dceb15 (diff)
[archiso] Add -D <install_dir> option to mkarchiso
-D <install_dir> allow to select install directory on target media defaults to "arch". There is a new %INSTALL_DIR% macro for syslinux.cfg. This is how ISO will look now: /syslinux only syslinux related files (syslinux.cfg, *.c32, etc) /arch/ isomounts + *.sqfs images /arch/boot/ Linux + initramfs + Memtest86+ + other files for early boot stage Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rw-r--r--archiso/hooks/archiso4
1 files changed, 4 insertions, 0 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index 92a5430..4a4239e 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -62,6 +62,10 @@ run_hook() {
copytoram_size="75%"
fi
+ if [ "x${archisobasedir}" = "x" ]; then
+ archisobasedir="arch"
+ fi
+
if [ "x${isomounts}" != "x" ]; then
isomounts="/bootmnt/${isomounts}"
else