06a8c66eae
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 <vmlinuz386@yahoo.com.ar>
19 lines
230 B
Bash
19 lines
230 B
Bash
# vim: set ft=sh:
|
|
|
|
install ()
|
|
{
|
|
MODULES=""
|
|
|
|
BINARIES=""
|
|
FILES=""
|
|
add_dir /img_dev
|
|
SCRIPT="archiso_loop_mnt"
|
|
}
|
|
|
|
help ()
|
|
{
|
|
cat<<HELPEOF
|
|
This hook loads the necessary modules for boot via loop device.
|
|
HELPEOF
|
|
}
|