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

login
register
mail settings
Submitter Chris Van Hoof
Date July 7, 2012, 7:28 p.m.
Message ID <1341689318-19396-2-git-send-email-vanhoof@canonical.com>
Download mbox | patch
Permalink /patch/169608/
State Rejected
Headers show

Comments

Chris Van Hoof - July 7, 2012, 7:28 p.m.
Signed-off-by: Chris Van Hoof <vanhoof@canonical.com>
---
 live-image/fwts-frontend-text |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Chris Van Hoof - July 10, 2012, 2:55 p.m.
On 07/07/2012 03:28 PM, Chris Van Hoof wrote:
> Signed-off-by: Chris Van Hoof <vanhoof@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
>

Patch

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