summaryrefslogtreecommitdiff
path: root/archiso/hooks
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
commitc186a206a13f9fdc2391fe4e22682ec8641ffea6 (patch)
treed5cede620ea78da33e6dfd854b0fc845db8e1616 /archiso/hooks
parentf13952761bf69dc4a6910854872b43e22d8ac109 (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>
Diffstat (limited to 'archiso/hooks')
-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