[PATCH] live-image/fwts-frontend-text: use cp versus ln as symbolic links are not supported on fat file systems

Colin Ian King colin.king at canonical.com
Sun Jul 8 11:32:21 UTC 2012


Signed-off-by: Chris Van Hoof <vanhoof at canonical.com>
---
  live-image/fwts-frontend-text |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
index 932c068..8315d47 100755
--- a/live-image/fwts-frontend-text
+++ b/live-image/fwts-frontend-text
@@ -197,7 +197,7 @@ done_tests_finish()
  {
      if [ -n "${CASPER_DETECTED:+x}" ]; then
          cd $WORK_DIR
-        ln -sf ./results.html ../../results.html
+        cp ./results.html ../../results.html
      else
          ln -sf $WORK_DIR/results.html /fwts/results.html
      fi
-- 
1.7.9.5


Is it better to mv the file rather than cp it?  If it makes no real 
difference, then I'm OK with this fix.

Colin

-- 
fwts-devel mailing list
fwts-devel at lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/fwts-devel




More information about the fwts-devel mailing list