Skip to content

Commit d4a4ac6

Browse files
Hook25Meulengracht
authored andcommitted
Install fwts globally in the snap instead of in /usr (bugfix) (canonical#1891)
Install fwts globally in the snap instead of in /usr This is to avoid having to do weird hacks with the PATH and LD_LIBRARY_PATH to make both the lib and the bin accessible
1 parent e8f7a2e commit d4a4ac6

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

checkbox-core-snap/series16/snap/snapcraft.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ parts:
7777
source-depth: 1
7878
plugin: autotools
7979
source: https://github.com/fwts/fwts.git
80+
# needed because default is /usr/local
81+
# if you change this update LD_LIBRARY_PATH
82+
configflags:
83+
- --prefix=/
8084
stage-packages:
8185
- libfdt1
8286
- libbsd0

checkbox-core-snap/series18/snap/snapcraft.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ parts:
8181
source-depth: 1
8282
plugin: autotools
8383
source: https://github.com/fwts/fwts.git
84+
# needed because default is /usr/local
85+
# if you change this update LD_LIBRARY_PATH
86+
configflags:
87+
- --prefix=/
8488
stage-packages:
8589
- libfdt1
8690
- libbsd0

checkbox-core-snap/series20/snap/snapcraft.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ parts:
8181
source-depth: 1
8282
plugin: autotools
8383
source: https://github.com/fwts/fwts.git
84+
# needed because default is /usr/local
85+
# if you change this update LD_LIBRARY_PATH
86+
autotools-configure-parameters:
87+
- --prefix=/
8488
stage-packages:
8589
- libfdt1
8690
- libbsd0

checkbox-core-snap/series22/snap/snapcraft.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ parts:
8585
source-depth: 1
8686
plugin: autotools
8787
source: https://github.com/fwts/fwts.git
88+
# needed because default is /usr/local
89+
# if you change this update LD_LIBRARY_PATH
90+
autotools-configure-parameters:
91+
- --prefix=/
8892
stage-packages:
8993
- libfdt1
9094
- libbsd0

checkbox-core-snap/series24/snap/snapcraft.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ parts:
8282
source-depth: 1
8383
plugin: autotools
8484
source: https://github.com/fwts/fwts.git
85+
# needed because default is /usr/local
86+
# if you change this update LD_LIBRARY_PATH
87+
autotools-configure-parameters:
88+
- --prefix=/
8589
stage-packages:
8690
- libfdt1
8791
- libbsd0

0 commit comments

Comments
 (0)