diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-10-17 23:26:22 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-11-30 21:55:13 -0300 |
commit | c186a206a13f9fdc2391fe4e22682ec8641ffea6 (patch) | |
tree | d5cede620ea78da33e6dfd854b0fc845db8e1616 /archiso/hooks | |
parent | f13952761bf69dc4a6910854872b43e22d8ac109 (diff) | |
download | archiso32-c186a206a13f9fdc2391fe4e22682ec8641ffea6.tar.xz |
[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/archiso | 4 |
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 |