Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/install
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-02-17 18:45:02 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-02-17 19:07:14 -0300
commit7d7dad06e2e9aa16fd27608027b1de06f930242b (patch)
tree8b17cba453371271db077bf78dd28477f481388c /archiso/install
parent59d7a39994ea975a36aec0f7ead300aa8403a0b5 (diff)
Take advantage of module autoloading when mounting images as loop
* Make first /dev/loop0 device at archiso install hook. * Remove unneeded losetup, all is done directly via mount. * Images are now mounted on /tmpfs/mnt/image-name instead of /tmpfs/mnt/loopN, removing unneeded counter. * Add some variables to make code more readable. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/install')
-rw-r--r--archiso/install/archiso1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiso/install/archiso b/archiso/install/archiso
index 5978f33..4d36412 100644
--- a/archiso/install/archiso
+++ b/archiso/install/archiso
@@ -11,6 +11,7 @@ install ()
FILES=""
add_dir /tmpfs
add_dir /bootmnt
+ add_device /dev/loop0 b 7 0
SCRIPT="archiso"
}