From 63be2febead200d33e4a0f734df243551cc9800a Mon Sep 17 00:00:00 2001 From: Steven Shiau Date: Mon, 24 Jun 2013 14:20:43 +0200 Subject: [PATCH] Calculating size for the whole media "/live/image/", not only the dir "/live/image/live/" when using toram. --- scripts/boot/9990-toram-todisk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- 2.1.4