mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
util-linux: use blocksize=1MB for creating the swapfile
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8a041971f2
commit
be68e55cf6
@ -37,7 +37,7 @@ fi
|
||||
progress "creating swapfile"
|
||||
echo "creating Swapfile ..."
|
||||
mkdir -p `dirname $SWAPFILE`
|
||||
dd if=/dev/zero of=$SWAPFILE bs=1024 count=$SWAPFILESIZE 2>&1 > /dev/null
|
||||
dd if=/dev/zero of=$SWAPFILE bs=1M count=$SWAPFILESIZE 2>&1 > /dev/null
|
||||
mkswap $SWAPFILE 2>&1 > /dev/null
|
||||
fi
|
||||
|
||||
|
@ -314,8 +314,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="262144"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
|
@ -315,8 +315,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="yes"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="262144"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="no"
|
||||
|
@ -314,8 +314,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="262144"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
|
@ -314,8 +314,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="262144"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
|
@ -314,8 +314,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="262144"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
|
@ -314,8 +314,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="262144"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
|
@ -314,8 +314,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="262144"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
|
@ -314,8 +314,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="131072"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="128"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="no"
|
||||
|
@ -314,8 +314,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="262144"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
|
@ -309,8 +309,8 @@
|
||||
# build with swap support (yes / no)
|
||||
SWAP_SUPPORT="no"
|
||||
|
||||
# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
|
||||
SWAPFILESIZE="262144"
|
||||
# swapfile size if SWAP_SUPPORT=yes in MB
|
||||
SWAPFILESIZE="256"
|
||||
|
||||
# build with installer (yes / no)
|
||||
INSTALLER_SUPPORT="yes"
|
||||
|
Loading…
x
Reference in New Issue
Block a user