[PATCH] Add snapcraft rules to build a fwts snap

Colin King colin.king at canonical.com
Fri Apr 21 18:07:17 UTC 2017


From: Colin Ian King <colin.king at canonical.com>

Currently this only is a devmode snap we get all the interfaces sorted
out. This will do for now as a starting place.

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 snapcraft.yaml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 snapcraft.yaml

diff --git a/snapcraft.yaml b/snapcraft.yaml
new file mode 100644
index 00000000..c35a78df
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,27 @@
+name: fwts
+version: V17.03.00
+summary: The Firmware Test Suite (FWTS)
+description: This is a firmware test suite that performs sanity checks on system firmware. It is intended to identify BIOS and ACPI errors and if appropriate it will try to explain the errors and give advice to help workaround or fix firmware bugs.  It is primarily intended to be a Linux-centric firmware troubleshooting tool.
+confinement: devmode
+
+parts:
+    fwts:
+        plugin: autotools
+        source: git://kernel.ubuntu.com/hwe/fwts
+        build-packages:
+            - gcc
+            - make
+            - autoconf
+            - automake
+            - libtool
+            - libjson-c-dev
+            - flex
+            - bison
+            - dh-autoreconf
+            - libglib2.0-dev
+            - libfdt-dev
+apps:
+    fwts:
+        command: bin/fwts
+        environment:
+            LD_LIBRARY_PATH: $LD_LIBRART_PATH:$SNAP/lib/fwts
-- 
2.11.0




More information about the fwts-devel mailing list