Skip to content

Commit

Permalink
blockdev.rs: add support for saving mbr partitions
Browse files Browse the repository at this point in the history
Fixes #957. If a non extended MBR partition is marked to be saved,
it will be translated to a gpt partition.
  • Loading branch information
prestist committed Aug 4, 2023
1 parent 4cba801 commit 174f953
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 113 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ hex = "^0.4"
ignition-config = "0.2"
lazy_static = "^1.4"
libc = "^0.2"
mbrman = ">= 0.5, < 0.6"
nix = ">= 0.24, < 0.26"
nmstate = "2.1.2"
openssl = "^0.10"
Expand All @@ -86,7 +87,6 @@ xz2 = "^0.1"
zstd = { version = ">= 0.10.0, < 0.12.0", features = ["pkg-config"] }

[target.'cfg(target_arch = "s390x")'.dependencies]
mbrman = ">= 0.5, < 0.6"
rand = ">= 0.7, < 0.9"

[dev-dependencies]
Expand Down
2 changes: 2 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ nav_order: 8

Major changes:

- install: Add support for MBR partition tables to `--save-partindex`

Minor changes:

- install: Avoid osmet performance regression in debug builds on Rust 1.64+
Expand Down
Loading

0 comments on commit 174f953

Please sign in to comment.