index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-07-09 15:36:51 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2010-07-09 15:36:51 -0300 |
commit | 041bdbc081a8be54e8f092f8b4494b3e23fc0a7a (patch) | |
tree | 3231dcc8e1c6c70eaeb4cadf92d791aacdca46e4 | |
parent | ba638480ce06a6fbc4c81a79349c832afe0e3780 (diff) |
-rw-r--r-- | archiso/hooks/archiso | 20 |
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index c7a6829..23ae4e2 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -75,16 +75,6 @@ run_hook () { archiso_mount_handler() { newroot="${1}" - msg -n ":: Mounting tmpfs, size=${tmpfs_size}..." - mount -t tmpfs -o "size=${tmpfs_size}",mode=0755 tmpfs /tmpfs - msg "done." - - if [ "${copytoram}" = "y" ]; then - msg -n ":: Mounting tmpfs (for squashfs), size=${tmpfs_sqfs_size}..." - mount -t tmpfs -o "size=${tmpfs_sqfs_size}",mode=0755 tmpfs /tmpfs.sqfs - msg "done." - fi - msg ":: Waiting for boot device..." while ! poll_device ${archisodevice} 30; do echo "ERROR: boot device didn't show up after 30 seconds..." @@ -118,6 +108,16 @@ archiso_mount_handler() { launch_interactive_shell fi + if [ "${copytoram}" = "y" ]; then + msg -n ":: Mounting tmpfs (for squashfs), size=${tmpfs_sqfs_size}..." + mount -t tmpfs -o "size=${tmpfs_sqfs_size}",mode=0755 tmpfs /tmpfs.sqfs + msg "done." + fi + + msg -n ":: Mounting tmpfs, size=${tmpfs_size}..." + mount -t tmpfs -o "size=${tmpfs_size}",mode=0755 tmpfs /tmpfs + msg "done." + msg ":: Mounting root (aufs) filesystem" /bin/mount -t aufs -o dirs=/tmpfs=rw none "${newroot}" if [ $? -ne 0 ]; then |