path: root/archiso/Makefile
diff options
authorGerardo Exequiel Pozzi <>2010-11-30 22:16:19 -0300
committerGerardo Exequiel Pozzi <>2010-12-07 23:48:24 -0300
commit06a8c66eaec5d1bace2ddefc2220c172d81eb2ff (patch)
tree99b5d3cf83a9c5ed6dd441d9078652e14336009e /archiso/Makefile
parentcd73f7dfb1f741d7be90a14c11b69de4965263b2 (diff)
[archiso] Add support to mount iso in loopback mode.
Add two parameters: img_dev=/dev/sdNM where /dev/sdNM is the device where .iso is located. img_loop=/path/to/arch.iso where /path/to/arch.iso is the full path of the .iso in the device img_dev. Original idea from Baurzhan Muftakhidinov. Signed-off-by: Gerardo Exequiel Pozzi <>
Diffstat (limited to 'archiso/Makefile')
1 files changed, 2 insertions, 0 deletions
diff --git a/archiso/Makefile b/archiso/Makefile
index 688eb1b..93d68af 100644
--- a/archiso/Makefile
+++ b/archiso/Makefile
@@ -10,6 +10,8 @@ install: all
install -D -m 644 install/archiso $(DESTDIR)/lib/initcpio/install/archiso
install -D -m 644 hooks/archiso_pxe_nbd $(DESTDIR)/lib/initcpio/hooks/archiso_pxe_nbd
install -D -m 644 install/archiso_pxe_nbd $(DESTDIR)/lib/initcpio/install/archiso_pxe_nbd
+ install -D -m 644 hooks/archiso_loop_mnt $(DESTDIR)/lib/initcpio/hooks/archiso_loop_mnt
+ install -D -m 644 install/archiso_loop_mnt $(DESTDIR)/lib/initcpio/install/archiso_loop_mnt
# install docs and examples
install -d -m 755 $(DESTDIR)/usr/share/archiso/
cp -r ../configs $(DESTDIR)/usr/share/archiso/configs