snapcraft.yaml: correct image format and dtb installation path

Bug #1706938 reported by Paolo Pisati on 2017-07-27
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-snapdragon (Ubuntu)
Undecided
Unassigned
Nominated for Xenial by Kleber Sacilotto de Souza

Bug Description

Impact:

The snapcraft.yaml that we are shipping in Xenial has two errors:

1) it defaults to the snapcraft's arm64 kernel target (Image.gz) while the correct one should be Image

2) it doesn't copy the dtbs from the SOC specific location to the dtbs root

The first one was my mistake while merging the new snapcraft.yaml from -generic with the one in the -snapdragon branch, the second is a consequence of the gadget snap dropping the dtb (and as such ubuntu-image looking for it in the kernel snap).

Fix:

Apply the attached patches to snapcraft.yaml and generate a new kernel snap

How to test it:

Generate a new snapdragon image[1] and boot it up.

1: https://tutorials.ubuntu.com/tutorial/create-your-own-core-image#0

--

tags: added: patch
Changed in linux-snapdragon (Ubuntu):
status: New → Fix Committed

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-xenial' to 'verification-done-xenial'. If the problem still exists, change the tag 'verification-needed-xenial' to 'verification-failed-xenial'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-xenial
Paolo Pisati (p-pisati) on 2017-08-23
tags: added: verification-done-xenial
removed: verification-needed-xenial
Launchpad Janitor (janitor) wrote :
Download full text (16.5 KiB)

This bug was fixed in the package linux-snapdragon - 4.4.0-1073.78

---------------
linux-snapdragon (4.4.0-1073.78) xenial; urgency=low

  * linux-snapdragon: 4.4.0-1073.78 -proposed tracker (LP: #1709299)

  * snapcraft.yaml: correct image format and dtb installation path
    (LP: #1706938)
    - snapcraft.yaml: force image format to Image
    - snapcraft.yaml: install the apq8016-sbc and msm8916-mtp dtb files

  [ Ubuntu: 4.4.0-93.116 ]

  * linux: 4.4.0-93.116 -proposed tracker (LP: #1709296)
  * Creating conntrack entry failure with kernel 4.4.0-89 (LP: #1709032)
    - Revert "Revert "netfilter: synproxy: fix conntrackd interaction""
    - netfilter: nf_ct_ext: fix possible panic after nf_ct_extend_unregister
  * CVE-2017-1000112
    - Revert "udp: consistently apply ufo or fragmentation"
    - udp: consistently apply ufo or fragmentation
  * CVE-2017-1000111
    - Revert "net-packet: fix race in packet_set_ring on PACKET_RESERVE"
    - packet: fix tp_reserve race in packet_set_ring
  * kernel BUG at [tty_ldisc_reinit] mm/slub.c! (LP: #1709126)
    - tty: Simplify tty_set_ldisc() exit handling
    - tty: Reset c_line from driver's init_termios
    - tty: Handle NULL tty->ldisc
    - tty: Move tty_ldisc_kill()
    - tty: Use 'disc' for line discipline index name
    - tty: Refactor tty_ldisc_reinit() for reuse
    - tty: Destroy ldisc instance on hangup
  * atheros bt failed after S3 (LP: #1706833)
    - SAUCE: Bluetooth: Make request workqueue freezable
  * The Precision Touchpad(PTP) button sends incorrect event code (LP: #1708372)
    - HID: multitouch: handle external buttons for Precision Touchpads
  * Set CONFIG_SATA_HIGHBANK=y on armhf (LP: #1703430)
    - [Config] CONFIG_SATA_HIGHBANK=y
  * xfs slab objects (memory) leak when xfs shutdown is called (LP: #1706132)
    - xfs: fix xfs_log_ticket leak in xfs_end_io() after fs shutdown
  * Adt tests of src:linux time out often on armhf lxc containers (LP: #1705495)
    - [Packaging] tests -- reduce rebuild test to one flavour
  * CVE-2017-7495
    - ext4: fix data exposure after a crash
  * ubuntu/rsi driver downlink wifi throughput drops to 5-6 Mbps when BT
    keyboard is connected (LP: #1706991)
    - SAUCE: Redpine: enable power save by default for coex mode
    - SAUCE: Redpine: uapsd configuration changes
  * [Hyper-V] hv_netvsc: Exclude non-TCP port numbers from vRSS hashing
    (LP: #1690174)
    - hv_netvsc: Exclude non-TCP port numbers from vRSS hashing
  * ath10k doesn't report full RSSI information (LP: #1706531)
    - ath10k: add per chain RSSI reporting
  * ideapad_laptop don't support v310-14isk (LP: #1705378)
    - platform/x86: ideapad-laptop: Add several models to no_hw_rfkill
  * [8087:0a2b] Failed to load bluetooth firmware(might affect some other Intel
    bt devices) (LP: #1705633)
    - Bluetooth: btintel: Create common Intel Version Read function
    - Bluetooth: Use switch statement for Intel hardware variants
    - Bluetooth: Replace constant hw_variant from Intel Bluetooth firmware
      filename
    - Bluetooth: hci_intel: Fix firmware file name to use hw_variant
    - Bluetooth: btintel: Add MODULE_FIRMWARE entries for iBT 3.5 controllers
  * xhci_hcd: ERRO...

Changed in linux-snapdragon (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers