diff options
| author | Steven Shiau <steven@nchc.org.tw> | 2013-06-24 14:20:43 +0200 |
|---|---|---|
| committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-06-24 14:21:37 +0200 |
| commit | 63be2febead200d33e4a0f734df243551cc9800a (patch) | |
| tree | 78cae0835016ac3f96d549aa2a2a5b76a6903d5b | |
| parent | f4fba2fde03b72227a305573e431e89b1cd81a93 (diff) | |
| download | live-boot-63be2febead200d33e4a0f734df243551cc9800a.tar.gz live-boot-63be2febead200d33e4a0f734df243551cc9800a.zip | |
Calculating size for the whole media "/live/image/", not only the dir "/live/image/live/" when using toram.
| -rwxr-xr-x | scripts/boot/9990-toram-todisk.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot/9990-toram-todisk.sh b/scripts/boot/9990-toram-todisk.sh index 2643eb8..e7938e0 100755 --- a/scripts/boot/9990-toram-todisk.sh +++ b/scripts/boot/9990-toram-todisk.sh @@ -10,7 +10,7 @@ copy_live_to () if [ -z "${MODULETORAM}" ] then - size=$(fs_size "" ${copyfrom}/${LIVE_MEDIA_PATH} "used") + size=$(fs_size "" ${copyfrom}/ "used") else MODULETORAMFILE="${copyfrom}/${LIVE_MEDIA_PATH}/${MODULETORAM}" |
