Name: aboot-update Version: 0.6.1 Release: 1%{?dist} Summary: Update aboot from kernel/initrd License: GPLv2+ Source1: aboot-update Source2: 90-aboot.install Requires: android-tools Requires: unzboot Requires: rsync %description Aboot-update is a tool that given a kernel version creates an android boot image (aboot) file called /boot/aboot-VERSION.img based on the options specified in /boot/aboot.cfg. There is also a kernel-install script (90-aboot.install) that automatically runs this on each new kernel install if the kernel install layout is set to aboot. %prep rm -rf %{name}-%{version} mkdir %{name}-%{version} %build cd %{name}-%{version} %install cd %{name}-%{version} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_prefix}/lib/kernel/install.d install -m755 %{SOURCE1} %{buildroot}%{_bindir}/aboot-update install -m755 %{SOURCE2} %{buildroot}%{_prefix}/lib/kernel/install.d/90-aboot.install %files %{_bindir}/aboot-update %{_prefix}/lib/kernel/install.d/90-aboot.install %changelog * Mon Feb 12 2024 Ian Mullins - Use rsync instead of ln to satisfy linking between filesystems. - Required due to implementation of system_b:/boot partition in our builds. * Mon Dec 18 2023 Brian Masney - Add support for kernels built using the vmlinuz.efi upstream kernel build target. This is how the Fedora kernel is built on aarch64. - Remove abootimg dependency * Wed Sep 13 2023 Eric Curtin - Make the package buildable on Fedora. * Wed Aug 30 2023 Brian Masney - Don't decompress the kernel for the debug variant since it makes the overall image too large to fit onto the boot partitions. * Tue Aug 22 2023 Brian Masney - Decompress the kernel to help with boot time. - Various shellcheck cleanups. * Fri Jul 21 2023 Eric Curtin - we now use androidboot.slot_suffix= to check if we are aboot or not and ostree= to parse the stateroot. * Sat Jul 15 2023 Eric Curtin - Add mkbootimg support and some initial boilerplate for vbmeta * Tue Jul 04 2023 Eric Curtin - Substitute ostree= with ostree=aboot for this case, so ostree knows how to boot correctly. * Mon Mar 20 2023 Eric Curtin - Changes to allow for relative paths and absolute paths when specifying dtbs * Tue Mar 14 2023 Eric Curtin - try to create both links * Mon Mar 13 2023 Eric Curtin - extra link to satisfy osbuild * Wed Jan 11 2023 Eric Curtin - ostree enablement * Fri Aug 19 2022 Alexander Larsson - Initial version