[SRU] [Xenial] [snapdragon] [ PATCH 1/2 ] UBUNTU: SAUCE: snapcraft: Fixing cross build for firmware

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[SRU] [Xenial] [snapdragon] [ PATCH 1/2 ] UBUNTU: SAUCE: snapcraft: Fixing cross build for firmware

Ondrej Kubik

BugLink: https://bugs.launchpad.net/bugs/1776723


With new stage package syntax in snapcraft.yaml cross build needs to be handled

separatelly from native build.

Changing snapcraft.yaml to address broken build when cross building


Signed-off-by: Ondrej Kubik <[hidden email]>

---

 snapcraft.yaml | 8 ++++++--

 1 file changed, 6 insertions(+), 2 deletions(-)


diff --git a/snapcraft.yaml b/snapcraft.yaml

index e824727..ad929ea 100644

--- a/snapcraft.yaml

+++ b/snapcraft.yaml

@@ -24,8 +24,12 @@ parts:

   firmware:

     plugin: nil

     stage-packages:

-      - linux-firmware

-      - linux-firmware-snapdragon

+      - on arm64:

+        - linux-firmware

+        - linux-firmware-snapdragon

+      - else:

+        - linux-firmware

+        - linux-firmware-snapdragon:arm64

     organize:

       lib/firmware: firmware

     prime:

-- 

2.7.4



--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team