Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-raspi2 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1789897

Title:
  snapcraft.yaml: skip non-existent firmware_install step

Status in linux-raspi2 package in Ubuntu:
  Confirmed
Status in linux-raspi2 source package in Bionic:
  Fix Released

Bug description:
  [Impact]

  Linux kernel removed the 'firmware_install' step long ago (~4.13), so
  invoking it results in a broken kernel snap build:

  ...
  make -j4 CONFIG_PREFIX=/build/pc-kernel/parts/kernel/install modules_install 
INSTALL_MOD_PATH=/build/pc-kernel/parts/kernel/install dtbs_install 
INSTALL_DTBS_PATH=/build/pc-kernel/parts/kernel/install/dtbs firmware_install 
INSTALL_FW_PATH=/build/pc-kernel/parts/kernel/install/lib/firmware
  Failed to run 'make -j4 CONFIG_PREFIX=/build/pc-kernel/parts/kernel/install 
modules_install INSTALL_MOD_PATH=/build/pc-kernel/parts/kernel/install 
dtbs_install INSTALL_DTBS_PATH=/build/pc-kernel/parts/kernel/install/dtbs 
firmware_install 
INSTALL_FW_PATH=/build/pc-kernel/parts/kernel/install/lib/firmware' for 
'kernel': Exited with code 2.
  Verify that the part is using the correct parameters and try again.

  During the last snapcraft patch, i accidentally removed the directive
  to skip it.

  [Fix]

  Apply the attached patch

  [Test]

  Try to snap a kernel:

  $ snapcraft --target-arch=arm

  ...
  The version has been set to '4.15.0-1022.24'
  Snapping 'pi2-kernel' |                                                       
                                                           
  Snapped pi2-kernel_4.15.0-1022.24_armhf.snap

  [Regression]

  None, it actually fixes a regression.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1789897/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to