Bug 2545851

Summary: Review Request: aboot-deploy - OS integration tools for Android-style bootloaders and ukiboot
Product: [Fedora] Fedora Reporter: Ian Mullins <imullins>
Component: Package ReviewAssignee: Alexander Larsson <alexl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: alexl, package-review
Target Milestone: ---Flags: alexl: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-09 01:07:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Mullins 2026-10-05 09:19:58 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/imullins/aboot-deploy/srpm-builds/11064284/aboot-deploy.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/imullins/aboot-deploy/srpm-builds/11064284/aboot-deploy-0.9.14-2.fc46.src.rpm

Description: aboot-deploy, and the related tool aboot-update are tools that integrate traditional linux systems like Fedora and CentOS with bootloaders using the android boot mechanism, or similar systems like ukiboot.

aboot-deploy
The aboot-deploy tool takes an existing aboot.img file, created by aboot-update, and reads the aboot.cfg for configuration details. This configuration will be used to pick the right tools to use for an update, then the file will be written to the right partition, and the tools will be invoked to activate the new partition.   

aboot-update
The aboot-update tool reads the configuration from aboot.cfg, and uses it to create the aboot.img file. While aboot-deploy itself is a small program, these tools have rather large dependency sets (including python), so it is advantageous for minimal systems to not install it.

Fedora Account System Username: imullins

Comment 1 Alexander Larsson 2026-10-05 11:56:11 UTC
General notes:

Should file upstream issue to add license to individual source files.
Should file upstream issue to add manpages.
Should file upstream issue to fix fsf address in LICENSE file.

rpmlint says:  aboot-deploy.x86_64: W: empty-%postun
which I don't understand? Its clearly calling %systemd_postun?

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed

===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Upstream should probably add license info to source files.
[x]: License file installed when any subpackage combination is installed.
[x]: Package must own all directories that it creates.
     Note: /usr/lib/kernel/install.d, /usr/lib/kernel are owned by systemd-udev
     which seems correct to me.
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries or specifies bundled libraries
     with Provides: bundled(<libname>) if unbundling is not possible.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[x]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10740 bytes in 2 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are some reports, but most of them should IMHO be taken upstream.
     The postun warning is weird though.
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: systemd_post is invoked in %post, systemd_preun in %preun, and
     systemd_postun in %postun for Systemd service files.
     Note: Systemd service file(s) in aboot-deploy
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: aboot-deploy-0.9.14-2.fc45.x86_64.rpm
          aboot-update-0.9.14-2.fc45.x86_64.rpm
          aboot-deploy-0.9.14-2.fc45.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpp3yopmnx')]
checks: 32, packages: 3

aboot-update.x86_64: E: spelling-error ('initrd', 'Summary(en_US) initrd -> nitride')
aboot-update.x86_64: E: spelling-error ('img', '%description -l en_US img -> mg, imp, i mg')
aboot-update.x86_64: E: spelling-error ('cfg', '%description -l en_US cfg -> cf, cg, cog')
aboot-deploy.x86_64: W: no-manual-page-for-binary aboot-deploy
aboot-deploy.x86_64: W: no-manual-page-for-binary aboot-gptctl
aboot-update.x86_64: W: no-manual-page-for-binary aboot-update
aboot-deploy.x86_64: E: incorrect-fsf-address /usr/share/licenses/aboot-deploy/LICENSE
aboot-update.x86_64: E: incorrect-fsf-address /usr/share/licenses/aboot-update/LICENSE
aboot-deploy.x86_64: W: empty-%postun
 3 packages and 0 specfiles checked; 5 errors, 4 warnings, 14 filtered, 5 badness; has taken 0.2 s 




Rpmlint (debuginfo)
-------------------
Checking: aboot-deploy-debuginfo-0.9.14-2.fc45.x86_64.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmp13dpd11n')]
checks: 32, packages: 1

 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 12 filtered, 0 badness; has taken 0.1 s 





Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.10.0
configuration:
    /usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 33, packages: 3

aboot-update.x86_64: W: spelling-error ('initrd', 'Summary(en_US) initrd -> nitride')
aboot-update.x86_64: W: spelling-error ('img', '%description -l en_US img -> mg, imp, i mg')
aboot-update.x86_64: W: spelling-error ('cfg', '%description -l en_US cfg -> cf, cg, cog')
aboot-update.x86_64: W: no-manual-page-for-binary aboot-update
aboot-deploy.x86_64: W: no-manual-page-for-binary aboot-deploy
aboot-deploy.x86_64: W: no-manual-page-for-binary aboot-gptctl
aboot-update.x86_64: E: incorrect-fsf-address /usr/share/licenses/aboot-update/LICENSE
aboot-deploy.x86_64: E: incorrect-fsf-address /usr/share/licenses/aboot-deploy/LICENSE
aboot-deploy.x86_64: W: empty-%postun
 3 packages and 0 specfiles checked; 2 errors, 7 warnings, 22 filtered, 2 badness; has taken 0.3 s 



Source checksums
----------------
https://gitlab.com/CentOS/automotive/src/aboot-deploy/-/releases/0.9.14/downloads/aboot-deploy-0.9.14.tar.xz :
  CHECKSUM(SHA256) this package     : 6e07ff179d80eb05f1baf16348384ca2dfdffe830edb7809f7148fb95b0e99fd
  CHECKSUM(SHA256) upstream package : 6e07ff179d80eb05f1baf16348384ca2dfdffe830edb7809f7148fb95b0e99fd


Requires
--------
aboot-deploy (rpmlib, GLIBC filtered):
    /bin/sh
    libc.so.6()(64bit)
    libfdisk.so.1()(64bit)
    libfdisk.so.1(FDISK_2.26)(64bit)
    libfdisk.so.1(FDISK_2.27)(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libselinux.so.1()(64bit)
    libselinux.so.1(LIBSELINUX_1.0)(64bit)
    rtld(GNU_HASH)

aboot-update (rpmlib, GLIBC filtered):
    /usr/bin/bash
    aboot-deploy(x86-64)
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libmagic.so.1()(64bit)
    rtld(GNU_HASH)
    unzboot



Provides
--------
aboot-deploy:
    aboot-deploy
    aboot-deploy(x86-64)

aboot-update:
    aboot-update
    aboot-update(x86-64)



Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18
Command line :/usr/bin/fedora-review -b 2545851
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, C/C++, Shell-api
Disabled plugins: Python, Haskell, Java, Perl, fonts, PHP, R, Ocaml, SugarActivity
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH, UNRETIREMENT

Comment 2 Ian Mullins 2026-10-05 14:10:40 UTC
Thanks for taking the time to review. I've added the appropriate issues to track suggested actions above for compliance.

- Add license to individual source files: https://gitlab.com/CentOS/automotive/src/aboot-deploy/-/work_items/8
- Add manpages: https://gitlab.com/CentOS/automotive/src/aboot-deploy/-/work_items/9
- Fix fsf address in LICENSE file: https://gitlab.com/CentOS/automotive/src/aboot-deploy/-/work_items/10

I don't think there's anything to do for `rpmlint says:  aboot-deploy.x86_64: W: empty-%postun`. 
Running `rpm -E '%systemd_postun aboot-gptctl-set-success.service'` evaluates to nothing, but I think it's still right to leave this in. 

I'll proceed with the distgit repository request. 
Thanks again

Comment 3 Fedora Admin user for bugzilla script actions 2026-10-05 14:20:36 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/aboot-deploy
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 4 Fedora Update System 2026-10-05 15:37:32 UTC
FEDORA-2026-aed07c8b01 (aboot-deploy-0.9.14-3.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-aed07c8b01

Comment 5 Fedora Update System 2026-10-05 15:38:11 UTC
FEDORA-2026-123c67d745 (aboot-deploy-0.9.14-3.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-123c67d745

Comment 6 Fedora Update System 2026-10-06 01:23:34 UTC
FEDORA-2026-aed07c8b01 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-aed07c8b01 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-aed07c8b01

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-10-06 01:56:34 UTC
FEDORA-2026-123c67d745 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-123c67d745 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-123c67d745

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-10-09 01:07:41 UTC
FEDORA-2026-123c67d745 (aboot-deploy-0.9.14-3.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-10-31 18:30:02 UTC
FEDORA-2026-aed07c8b01 (aboot-deploy-0.9.14-3.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.