ACK/cmnt: [SRU][Xenial][Bionic][PATCH 0/2] UBUNTU: [Packaging] Support building Flattened Image Tree (FIT) kernels
Kleber Souza
kleber.souza at canonical.com
Thu Oct 17 14:44:06 UTC 2019
On 14.10.19 12:09, Shrirang Bagul wrote:
> 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
>
Looks good, the patches don't impact the binaries currently being built.
I have only a small comment about an indentation issue on Patch 1/2.
Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>
More information about the kernel-team
mailing list