index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archiso/hooks/archiso | 8 |
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index aeaded2..cf13e3d 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -46,8 +46,8 @@ run_hook () arch="$(uname -m)" fi - if [ "x${ramdisk_size}" = "x" ]; then - ramdisk_size="75%" + if [ "x${tmpfs_size}" = "x" ]; then + tmpfs_size="75%" fi if [ "x${isomounts}" != "x" ]; then @@ -56,8 +56,8 @@ run_hook () isomounts="/bootmnt/isomounts" fi - msg -n ":: Mounting tmpfs, size=${ramdisk_size}..." - mount -t tmpfs -o "size=${ramdisk_size}" tmpfs /tmpfs + msg -n ":: Mounting tmpfs, size=${tmpfs_size}..." + mount -t tmpfs -o "size=${tmpfs_size}" tmpfs /tmpfs msg "done." msg ":: Waiting for boot device..." |