diff mbox series

snapcraft: fix path to fwts

Message ID 20210927100529.21451-1-colin.king@canonical.com
State Accepted
Headers show
Series snapcraft: fix path to fwts | expand

Commit Message

Colin Ian King Sept. 27, 2021, 10:05 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Path needs fixing up for core20. Not sure why this now fails, but it
used to work. Use the new path.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 snapcraft.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

ivanhu Sept. 28, 2021, 1:51 a.m. UTC | #1
On 9/27/21 6:05 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Path needs fixing up for core20. Not sure why this now fails, but it
> used to work. Use the new path.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  snapcraft.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/snapcraft.yaml b/snapcraft.yaml
> index ce4113fd..da165633 100644
> --- a/snapcraft.yaml
> +++ b/snapcraft.yaml
> @@ -39,6 +39,6 @@ parts:
>  apps:
>      fwts:
>          plugs: [home, hardware-observe, io-ports-control, kernel-module-control, log-observe, system-observe ]
> -        command: bin/fwts
> +        command: usr/local/bin/fwts
>          environment:
>              LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/fwts
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox series

Patch

diff --git a/snapcraft.yaml b/snapcraft.yaml
index ce4113fd..da165633 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -39,6 +39,6 @@  parts:
 apps:
     fwts:
         plugs: [home, hardware-observe, io-ports-control, kernel-module-control, log-observe, system-observe ]
-        command: bin/fwts
+        command: usr/local/bin/fwts
         environment:
             LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/fwts