Skip to content

v0.2.28

Latest
Compare
Choose a tag to compare
@HuijingHei HuijingHei released this 24 Jun 02:49
· 19 commits to main since this release
v0.2.28
766bb80

New features

  • Allows update EFI bootloader on riscv64 similar to aarch64 and x86_64 by @dustymabe in #916.
  • Support updating multiple EFIs in mirrored setups (RAID1) by @HuijingHei in #855.

Notable fixes

  • Rework grub2 default static config by @champtar in #841, that includes:

    • Add support for GRUB2_PASSWORD in user.cfg (partially fix https://issues.redhat.com/browse/RHEL-78299)
    • Include dropins instead of sourcing them, this should help updating config in the future
    • Add multiple small dropins to match classic grub2 installs
  • Add a simple implementation of fsfreeze_thaw_cycle(), that always call syncfs() first, then calls ioctl(FIFREEZE) and ioctl(FITHAW). This function ensures filesystem state is fully flushed — especially for XFS by @champtar in #948.

  • Add adopt tag to install the static GRUB config from tree by @HuijingHei in #945.

Other changes (internal cleanups, minor bugfixes)

Colin Walters (5):
      contrib/spec: Add BR on git
      ci: Update podman
      Update Dockerfile to use bootc
      Drop unused build target
      ci: Minor tweaks for bootc install

Dusty Mabe (2):
      tests/e2e-upgrade: update grub to Fedora 42 versions
      tests/e2e-update: drop manifest_fork logic

Etienne Champetier (2):
      Makefile: add missing .PHONY
      ci: also install grub config and systemd unit

Huijing Hei (22):
      update: do not try to copy a dir in the ESP if it does not exists
      xtask: create target dir before make srpm
      efi: add `context` when openning directory
      efi: remove trailing whitespaces to get correct product name
      Add `struct RootContext` to gather the context up and pass it down
      update: pass `RootContext` as parameter      
      update: pass `RootContext` to `run_update()`      
      Cargo.toml: bump MSRV to 1.84.1
      grubconfig: create `boot/grub2/grubenv` if not existing
      ci: install `grub2-tools-minimal` to test `test_write_grubenv()`
      efi: rewrite `ensure_mounted_esp()`
      efi: update `install()` and `update()` according to split change
      adopt_update: pass `RootContext` as parameter
      efi: update `validate()` according to the split change
      Back to use for loop in `get_mounted_esp()` for error propagation
      Update `sysroot` to `rootcxt` to make the var consistent
      ci: get esp part using `sfdisk`
      efi: during installation using `blockdev` to find esp partition instead of `partlabel`
      adopt: fix adoption when booting with BIOS firmware without ESP
      migrate: separate ostree command to functions
      efi: add `trim()` to remove trailing newline
      Add more log when invoking `efibootmgr`

Joseph Marrero Corchado (1):
      contrib/packaging/bootupd.spec: keep ix86 for c9s

Timothée Ravier (1):
      contrib/packaging/spec: Use git-core instead of full git

SHA-256 digests:

  • tar: a529ba1eb4e7b19274869717082b79164b4d7df81a6cd7b29a9d571e3bcacd6a
  • vendor: f824bddff57d4700d51c609ea5b0f9cba62d53d191d43f3f2cb884ac37134ea7

Full Changelog: v0.2.27...v0.2.28