From 8921c59169b337c19502cc4cf64013ca40b9505c Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sun, 17 Oct 2010 23:26:22 -0300 Subject: [archiso] Add -D option to mkarchiso -D 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 --- archiso/hooks/archiso | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archiso/hooks') 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 -- cgit v1.2.3-70-g09d2