Commit 6c2a0ec3 authored by Pete Tucker's avatar Pete Tucker
Browse files

Merge branch 'persistent_storage' into 'master'

Vesta 100, 200 and 300 all use same emmc partition for downloading of big update files

See merge request !3
parents 8af48502 ef3764ec
#!/bin/sh
#This scripts creates a /tmp/swupdate folder for updating.
#If using emmc for rootfs updates then mmcblk1p4 is used as
#If using emmc for rootfs updates then mmcblk1p7 is used as
#a temporary place to download the update packages
#as they can exceed the amount of free memory for /tmp
#If vesta-100 or vesta-200 use p7
grep vesta-[12] /proc/cmdline >> NULL
if [ $? -eq 0 ]; then
mmcpart=/dev/mmcblk1p7
else
mmcpart=/dev/mmcblk1p4
fi
mmcpart=/dev/mmcblk1p7
tmpfolder=/tmp/swu_packages
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment