Skip to content

Commit 174f953

Browse files
committed
blockdev.rs: add support for saving mbr partitions
Fixes #957. If a non extended MBR partition is marked to be saved, it will be translated to a gpt partition.
1 parent 4cba801 commit 174f953

File tree

3 files changed

+193
-113
lines changed

3 files changed

+193
-113
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ hex = "^0.4"
6666
ignition-config = "0.2"
6767
lazy_static = "^1.4"
6868
libc = "^0.2"
69+
mbrman = ">= 0.5, < 0.6"
6970
nix = ">= 0.24, < 0.26"
7071
nmstate = "2.1.2"
7172
openssl = "^0.10"
@@ -86,7 +87,6 @@ xz2 = "^0.1"
8687
zstd = { version = ">= 0.10.0, < 0.12.0", features = ["pkg-config"] }
8788

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

9292
[dev-dependencies]

docs/release-notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ nav_order: 8
88

99
Major changes:
1010

11+
- install: Add support for MBR partition tables to `--save-partindex`
12+
1113
Minor changes:
1214

1315
- install: Avoid osmet performance regression in debug builds on Rust 1.64+

0 commit comments

Comments
 (0)