[SRU][Xenial][Bionic][PATCH 0/2] UBUNTU: [Packaging] Support building Flattened Image Tree (FIT) kernels

Shrirang Bagul shrirang.bagul at canonical.com
Mon Oct 14 10:09:11 UTC 2019


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

[Impact]
Flexible and powerful format based on Flattened Image Tree -- FIT (similar
to Flattened Device Tree). It allows the use of images with multiple
components (several kernels, ramdisks, etc.), with contents protected by
SHA1, MD5 or CRC32, etc.
More details: https://gitlab.denx.de/u-boot/u-boot/blob/master/doc/uImage.FIT/howto.txt

The packaging changes will add support for building a FIT kernel binary
blob which can be subsequently signed. These FIT-signed kernels will be
consumed by snapcraft recipes to build kernel snaps for platforms with
U-Boot bootloader enforcing secure boot.

[Regression Potential]
Minimal. These patches add new signing logic and build script around
'fit_signed' variable. The current build for generic kernels should not be
affected.

Alfonso Sánchez-Beato (2):
  UBUNTU: [Packaging] add rules to build FIT image
  UBUNTU: [Packaging] force creation of headers directory

 debian/rules                    |  2 +-
 debian/rules.d/1-maintainer.mk  |  1 +
 debian/rules.d/2-binary-arch.mk | 17 +++++++++++++-
 debian/scripts/build-fit        | 40 +++++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+), 2 deletions(-)
 create mode 100755 debian/scripts/build-fit

-- 
2.17.1




More information about the kernel-team mailing list