Bootloader updater
Go to file
Pragyan Poudyal 2878b3cc5a
spec: add ExcludeArch ix86 on c9s and fedora
In bootupd, we have not been handling ix86 architecture at all which
ended up erroring out during rpm builds with the following errors

```rust
   --> src/cli/bootupctl.rs:155:44
    |
155 |     fn run_migrate_static_grub_config() -> Result<()> {
    |        ------------------------------      ^^^^^^^^^^ expected `Result<(), Error>`, found `()`
    |        |
    |        implicitly returns `()` as its body has no tail or `return` expression
    |
    = note:   expected enum `Result<(), anyhow::Error>`
            found unit type `()`
warning: unreachable call
   --> src/component.rs:92:5
    |
 92 |       Ok(match name {
    |  _____^^_-
    | |     |
    | |     unreachable call
 93 | |         #[cfg(any(
 94 | |             target_arch = "x86_64",
 95 | |             target_arch = "aarch64",
...   |
103 | |         _ => anyhow::bail!("No component {}", name),
104 | |     })
    | |_____- any code following this `match` expression is unreachable, as all arms diverge
    |
    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `configs`
  --> src/bootupd.rs:58:5
   |
58 |     configs: ConfigMode,
   |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configs`
   |
   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: variable does not need to be mutable
   --> src/bootupd.rs:231:9
    |
231 |     let mut components = BTreeMap::new();
    |         ----^^^^^^^^^^
    |         |
    |         help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
For more information about this error, try `rustc --explain E0308`.
```

Signed-off-by: Pragyan Poudyal <ppoudyal@redhat.com>
2026-05-06 18:43:20 +05:30
tests Add initial gating test 2022-02-23 13:07:08 +01:00
.gitignore Rebase to v0.2.34 2026-05-06 18:43:14 +05:30
gating.yaml Add initial gating test 2022-02-23 13:07:08 +01:00
README.md Merged update from upstream sources 2020-10-30 15:42:20 +01:00
rust-bootupd.spec spec: add ExcludeArch ix86 on c9s and fedora 2026-05-06 18:43:20 +05:30
sources Rebase to v0.2.34 2026-05-06 18:43:14 +05:30

rust-bootupd

The rust-bootupd package