[SRU] [Xenial] [snapdragon] [ PATCH 0/2 ] Fixes for LP:1776723

Ondrej Kubik ondrej.kubik at canonical.com
Tue Jun 26 17:17:51 UTC 2018


SRU Justification


Impact:

    snap cross building is broken and snap package can only build natively

    additionally snapcraft.yaml is using deprecated scriptlet syntax for
install overrides

    this syntax has been deprecated by snapcraft and should be replaced
with new one to future proof builds


Step to reproduce:

 - cross build with snapcraft on x86_64 host by calling: snapcraft
--targer-arch=arm64


Expected result:

 snap package builds without warnings


Actual result:

 build fails


TEST CASE:

 - cross build with snapcraft on x86_64 host by calling: snapcraft
--targer-arch=arm64

 - build should complete without errors and snapcraft warningsSRU
Justification


Impact:

    snap cross building is broken and snap package can only build natively

    additionally snapcraft.yaml is using deprecated scriptlet syntax for
install overrides

    this syntax has been deprecated by snapcraft and should be replaced
with new one to future proof builds


Step to reproduce:

 - cross build with snapcraft on x86_64 host by calling: snapcraft
--targer-arch=arm64


Expected result:

 snap package builds without warnings


Actual result:

 build fails

Ondrej Kubik (2):

  UBUNTU: SAUCE: snapcraft: Fixing cross build for firmware part

  UBUNTU: SAUCE: snapcraft: updating scriptlets syntax


 snapcraft.yaml | 13 +++++++++----

 1 file changed, 9 insertions(+), 4 deletions(-)


-- 

2.7.4



TEST CASE:
 - cross build with snapcraft on x86_64 host by calling: snapcraft
--targer-arch=arm64
 - build should complete without errors and snapcraft warnings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20180626/8704613d/attachment.html>


More information about the kernel-team mailing list