installer: Increase size of mount for iso due to size increase
Commit Message
- download.sh defines a mount of 512M for downloading the iso for use with PXE.
Unfortunately since CU192 the iso sizes have been greater than 512M
- This was identified by a user on the forum as their PXE install failed to work.
- They had suggested increasing it to around 800M. As CU200 is already at 658M I
thought it made more sense to give a bit more room and so specified 1024M. If this
is considered too excessive then it can always be modified.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
src/installer/downloadsource.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -2,7 +2,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2022 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2026 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -35,7 +35,7 @@ URL="${2}"
OUTPUT_DIR="${OUTPUT%/*}"
mkdir -p "${OUTPUT_DIR}"
-if ! mount -t tmpfs none "${OUTPUT_DIR}" -o size=512M; then
+if ! mount -t tmpfs none "${OUTPUT_DIR}" -o size=1024M; then
echo "Could not mount tmpfs to ${OUTPUT_DIR}" >&2
exit 1
fi