summaryrefslogtreecommitdiff
path: root/archiso/initcpio/hooks
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2014-12-13 16:53:06 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2014-12-13 16:53:06 -0300
commitf5518de7325206a4ccdc74026cfbc35d8adeed37 (patch)
tree02f208796fbb13884121b8aad55ebf4ddf2813b6 /archiso/initcpio/hooks
parentabe198a73a1c334f7f68cfd478b25863739ca6f1 (diff)
downloadarchiso32-f5518de7325206a4ccdc74026cfbc35d8adeed37.tar.xz
[archiso] Merge cowspace_size= option in cowfile_size=
Since now cowspace_size == cowfile_size (only one file inside) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Diffstat (limited to 'archiso/initcpio/hooks')
-rw-r--r--archiso/initcpio/hooks/archiso5
1 files changed, 2 insertions, 3 deletions
diff --git a/archiso/initcpio/hooks/archiso b/archiso/initcpio/hooks/archiso
index 8b90185..addd08a 100644
--- a/archiso/initcpio/hooks/archiso
+++ b/archiso/initcpio/hooks/archiso
@@ -96,7 +96,6 @@ _verify_checksum() {
run_hook() {
[[ -z "${arch}" ]] && arch="$(uname -m)"
- [[ -z "${cowspace_size}" ]] && cowspace_size="75%"
[[ -z "${copytoram_size}" ]] && copytoram_size="75%"
[[ -z "${archisobasedir}" ]] && archisobasedir="arch"
[[ -z "${dm_snap_prefix}" ]] && dm_snap_prefix="arch"
@@ -160,9 +159,9 @@ archiso_mount_handler() {
echo $(readlink -f ${cow_device}) >> /run/archiso/used_block_devices
mount -o remount,rw "/run/archiso/cowspace"
else
- msg ":: Mounting /run/archiso/cowspace (tmpfs) filesystem, size=${cowspace_size}..."
+ msg ":: Mounting /run/archiso/cowspace (tmpfs) filesystem, size=${cowfile_size}..."
mkdir -p /run/archiso/cowspace
- mount -t tmpfs -o "size=${cowspace_size}",mode=0755 cowspace /run/archiso/cowspace
+ mount -t tmpfs -o "size=${cowfile_size}",mode=0755 cowspace /run/archiso/cowspace
fi
mkdir -p "/run/archiso/cowspace/${cow_directory}"