diff mbox

Add snapcraft rules to build a fwts snap

Message ID 20170421180717.24786-1-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King April 21, 2017, 6:07 p.m. UTC
From: Colin Ian King <colin.king@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@canonical.com>
---
 snapcraft.yaml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 snapcraft.yaml

Comments

Alex Hung April 22, 2017, 3:01 p.m. UTC | #1
On 2017-04-21 11:07 AM, Colin King wrote:
> From: Colin Ian King <colin.king@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@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
>

Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu April 27, 2017, 6:36 a.m. UTC | #2
On 04/22/2017 02:07 AM, Colin King wrote:
> From: Colin Ian King <colin.king@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@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
>

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

Patch

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