diff mbox

[1/2] Revert "live-image/fwts-frontend-text: use mv versus ln as symbolic links are not supported on fat file systems"

Message ID 1402613529-17660-2-git-send-email-alex.hung@canonical.com
State Rejected
Headers show

Commit Message

Alex Hung June 12, 2014, 10:52 p.m. UTC
This reverts commit 3484c44f0abf91ba395b5aa492978833c1249bbb.
---
 live-image/fwts-frontend-text | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Colin Ian King June 13, 2014, 1:31 a.m. UTC | #1
On 12/06/14 23:52, Alex Hung wrote:
> This reverts commit 3484c44f0abf91ba395b5aa492978833c1249bbb.
> ---
>  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 f4f466b..98da7f3 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
> -        mv ./results.html ../../results.html
> +        ln -sf ./results.html ../../results.html
>      else
>          ln -sf $WORK_DIR/results.html /fwts/results.html
>      fi
> 
Acked-by: Colin Ian King <colin.king@canonical.com>
Keng-Yu Lin June 13, 2014, 9:01 a.m. UTC | #2
Hi Alex,
  just want to know if you tested this patch in a live image? making a
symbolic link on FAT does not work.

On Fri, Jun 13, 2014 at 6:52 AM, Alex Hung <alex.hung@canonical.com> wrote:
> This reverts commit 3484c44f0abf91ba395b5aa492978833c1249bbb.
> ---
>  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 f4f466b..98da7f3 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
> -        mv ./results.html ../../results.html
> +        ln -sf ./results.html ../../results.html
>      else
>          ln -sf $WORK_DIR/results.html /fwts/results.html
>      fi
> --
> 1.9.1
>
>
> --
> fwts-devel mailing list
> fwts-devel@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel
diff mbox

Patch

diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
index f4f466b..98da7f3 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
-        mv ./results.html ../../results.html
+        ln -sf ./results.html ../../results.html
     else
         ln -sf $WORK_DIR/results.html /fwts/results.html
     fi