snapcraft.yaml: fix kernel snap creation
Bug #1788191 reported by
Paolo Pisati
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact:
The snapcaft.yaml in the raspi2 branch of the bionic kernel tree is wrong in many ways:
1) it's referring to generic instead of the raspi2 flavour
2) it's completely missing the firmware files section
3) the target image format is wrong
4) it doesn't build at all
and so on.
Fix:
Apply the attached patch.
How to test:
Try to snap the kernel:
$ snapcraft --target-arch=arm
it will create an armhf kernel snap called pi2-kernel using the raspi2 config.
CVE References
tags: | added: patch |
Changed in linux-raspi2 (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux-raspi2 (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
This bug was fixed in the package linux-raspi2 - 4.15.0-1022.24
---------------
linux-raspi2 (4.15.0-1022.24) bionic; urgency=medium
* linux-raspi2: 4.15.0-1022.24 -proposed tracker (LP: #1788747)
* snapcraft.yaml: fix kernel snap creation (LP: #1788191)
- snapcraft.yaml: fix kernel snap creation
[ Ubuntu: 4.15.0-34.37 ]
* linux: 4.15.0-34.37 -proposed tracker (LP: #1788744) unlock_ new_inode combinations safely HOST_OFF_ CARD_ON for cygnus free_coherent HB_[IN| OUT] macros CAPABILITIES is always supported
* Bionic update: upstream stable patchset 2018-08-09 (LP: #1786352)
- MIPS: c-r4k: Fix data corruption related to cache coherence
- MIPS: ptrace: Expose FIR register through FP regset
- MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs
- KVM: Fix spelling mistake: "cop_unsuable" -> "cop_unusable"
- affs_lookup(): close a race with affs_remove_link()
- fs: don't scan the inode cache before SB_BORN is set
- aio: fix io_destroy(2) vs. lookup_ioctx() race
- ALSA: timer: Fix pause event notification
- do d_instantiate/
- mmc: sdhci-iproc: remove hard coded mmc cap 1.8v
- mmc: sdhci-iproc: fix 32bit writes for TRANSFER_MODE register
- mmc: sdhci-iproc: add SDHCI_QUIRK2_
- libata: Blacklist some Sandisk SSDs for NCQ
- libata: blacklist Micron 500IT SSD with MU01 firmware
- xen-swiotlb: fix the check condition for xen_swiotlb_
- drm/vmwgfx: Fix 32-bit VMW_PORT_
- arm64: lse: Add early clobbers to some input/output asm operands
- powerpc/64s: Clear PCR on boot
- IB/hfi1: Use after free race condition in send context error path
- IB/umem: Use the correct mm during ib_umem_release
- idr: fix invalid ptr dereference on item delete
- Revert "ipc/shm: Fix shmat mmap nil-page protection"
- ipc/shm: fix shmat() nil address after round-down when remapping
- mm/kasan: don't vfree() nonexistent vm_area
- kasan: free allocated shadow memory on MEM_CANCEL_ONLINE
- kasan: fix memory hotplug during boot
- kernel/sys.c: fix potential Spectre v1 issue
- KVM: s390: vsie: fix < 8k check for the itdba
- KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed
- kvm: x86: IA32_ARCH_
- powerpc/64s: Improve RFI L1-D cache flush fallback
- powerpc/pseries: Restore default security feature flags on setup
- powerpc/64s: Fix section mismatch warnings from setup_rfi_flush()
- MIPS: generic: Fix machine compatible matching
- mac80211: mesh: fix wrong mesh TTL offset calculation
- ARC: Fix malformed ARC_EMUL_UNALIGNED default
- ptr_ring: prevent integer overflow when calculating size
- arm64: dts: rockchip: fix rock64 gmac2io stability issues
- arm64: dts: rockchip: correct ep-gpios for rk3399-sapphire
- libata: Fix compile warning with ATA_DEBUG enabled
- selftests: sync: missing CFLAGS while compiling
- selftest/vDSO: fix O=
- selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m
- selftests: memfd: add config fragment for fuse
- ARM: OMAP2+: timer: fix a kmemleak caused in omap_get_timer_dt
- ARM: OMAP3: Fix prm wake interrupt for resume
...