From 25dc0ab7a812c11b72f4626da027e998a7fc260e Mon Sep 17 00:00:00 2001 From: Stefan Hundhammer Date: Tue, 12 Mar 2024 14:54:02 +0100 Subject: [PATCH 1/2] Fix unlimited-sized fake device graphs (bsc#1221222) --- test/data/devicegraphs/autoyast_drive_examples.yml | 4 ++-- test/data/devicegraphs/dos_lvm.yml | 2 +- test/data/devicegraphs/dos_lvm_boot_partition.yml | 2 +- test/data/devicegraphs/lvm-striped-lvs.yml | 2 +- test/data/devicegraphs/lvm-two-disks.yml | 2 +- test/data/devicegraphs/lvm_with_bios_boot.yml | 2 +- test/data/devicegraphs/lvm_with_boot.yml | 2 +- test/data/devicegraphs/prep_lvm.yml | 2 +- test/data/devicegraphs/trivial_lvm.yml | 2 +- test/data/devicegraphs/trivial_lvm_and_other_partitions.yml | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/test/data/devicegraphs/autoyast_drive_examples.yml b/test/data/devicegraphs/autoyast_drive_examples.yml index b28e57c9ec..f697a1ed53 100644 --- a/test/data/devicegraphs/autoyast_drive_examples.yml +++ b/test/data/devicegraphs/autoyast_drive_examples.yml @@ -415,7 +415,7 @@ blk_device: /dev/sdj1 lvm_lvs: - lvm_lv: - size: unlimited + size: 1 TiB lv_name: lv1 file_system: btrfs mount_point: / @@ -434,7 +434,7 @@ blk_device: /dev/sdj2 lvm_lvs: - lvm_lv: - size: unlimited + size: 1 TiB lv_name: lv1 file_system: btrfs mount_point: / diff --git a/test/data/devicegraphs/dos_lvm.yml b/test/data/devicegraphs/dos_lvm.yml index 3524ad1735..728a34e326 100644 --- a/test/data/devicegraphs/dos_lvm.yml +++ b/test/data/devicegraphs/dos_lvm.yml @@ -19,7 +19,7 @@ lvm_lvs: - lvm_lv: - size: unlimited + size: 200 GiB lv_name: lv1 file_system: btrfs mount_point: / diff --git a/test/data/devicegraphs/dos_lvm_boot_partition.yml b/test/data/devicegraphs/dos_lvm_boot_partition.yml index 433f0b7bcd..1754aa1341 100644 --- a/test/data/devicegraphs/dos_lvm_boot_partition.yml +++ b/test/data/devicegraphs/dos_lvm_boot_partition.yml @@ -25,7 +25,7 @@ lvm_lvs: - lvm_lv: - size: unlimited + size: 200 GiB lv_name: lv1 file_system: btrfs mount_point: / diff --git a/test/data/devicegraphs/lvm-striped-lvs.yml b/test/data/devicegraphs/lvm-striped-lvs.yml index a85c9f203a..82597e63d4 100644 --- a/test/data/devicegraphs/lvm-striped-lvs.yml +++ b/test/data/devicegraphs/lvm-striped-lvs.yml @@ -31,7 +31,7 @@ blk_device: /dev/sdb1 lvm_lvs: - lvm_lv: - size: unlimited + size: 100 GiB lv_name: lv1 file_system: btrfs mount_point: / diff --git a/test/data/devicegraphs/lvm-two-disks.yml b/test/data/devicegraphs/lvm-two-disks.yml index 6dcc0ae83d..950c6edc9a 100644 --- a/test/data/devicegraphs/lvm-two-disks.yml +++ b/test/data/devicegraphs/lvm-two-disks.yml @@ -31,7 +31,7 @@ lvm_lvs: - lvm_lv: - size: unlimited + size: 400 GiB lv_name: lv1 file_system: btrfs mount_point: / diff --git a/test/data/devicegraphs/lvm_with_bios_boot.yml b/test/data/devicegraphs/lvm_with_bios_boot.yml index c59318b8ee..a6e7c06794 100644 --- a/test/data/devicegraphs/lvm_with_bios_boot.yml +++ b/test/data/devicegraphs/lvm_with_bios_boot.yml @@ -23,7 +23,7 @@ lvm_lvs: - lvm_lv: - size: unlimited + size: 200 GiB lv_name: lv1 file_system: btrfs mount_point: / diff --git a/test/data/devicegraphs/lvm_with_boot.yml b/test/data/devicegraphs/lvm_with_boot.yml index 3c57e25d29..364d55f0b1 100644 --- a/test/data/devicegraphs/lvm_with_boot.yml +++ b/test/data/devicegraphs/lvm_with_boot.yml @@ -24,7 +24,7 @@ lvm_lvs: - lvm_lv: - size: unlimited + size: 200 GiB lv_name: lv1 file_system: btrfs mount_point: / diff --git a/test/data/devicegraphs/prep_lvm.yml b/test/data/devicegraphs/prep_lvm.yml index dd15e190c4..c4ecd8e487 100644 --- a/test/data/devicegraphs/prep_lvm.yml +++ b/test/data/devicegraphs/prep_lvm.yml @@ -23,7 +23,7 @@ lvm_lvs: - lvm_lv: - size: unlimited + size: 200 GiB lv_name: lv1 file_system: btrfs mount_point: / diff --git a/test/data/devicegraphs/trivial_lvm.yml b/test/data/devicegraphs/trivial_lvm.yml index 86f3fc904e..1611f15e05 100644 --- a/test/data/devicegraphs/trivial_lvm.yml +++ b/test/data/devicegraphs/trivial_lvm.yml @@ -18,7 +18,7 @@ lvm_lvs: - lvm_lv: - size: unlimited + size: 200 GiB lv_name: lv1 file_system: btrfs mount_point: / diff --git a/test/data/devicegraphs/trivial_lvm_and_other_partitions.yml b/test/data/devicegraphs/trivial_lvm_and_other_partitions.yml index 49a6ecb72c..b65d2b5877 100644 --- a/test/data/devicegraphs/trivial_lvm_and_other_partitions.yml +++ b/test/data/devicegraphs/trivial_lvm_and_other_partitions.yml @@ -53,7 +53,7 @@ lvm_lvs: - lvm_lv: - size: unlimited + size: 200 GiB lv_name: lv1 file_system: btrfs mount_point: / From e8f9426280fea63fd484f48b3c320dd2561c1184 Mon Sep 17 00:00:00 2001 From: Stefan Hundhammer Date: Tue, 12 Mar 2024 14:58:24 +0100 Subject: [PATCH 2/2] Version bump and change log --- package/yast2-storage-ng.changes | 6 ++++++ package/yast2-storage-ng.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package/yast2-storage-ng.changes b/package/yast2-storage-ng.changes index 3aff342ffb..2a6aa342a5 100644 --- a/package/yast2-storage-ng.changes +++ b/package/yast2-storage-ng.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 12 13:57:30 UTC 2024 - Stefan Hundhammer + +- Fix unlimited-sized fake device graphs (bsc#1221222) +- 5.0.9 + ------------------------------------------------------------------- Thu Mar 7 16:26:04 UTC 2024 - José Iván López González diff --git a/package/yast2-storage-ng.spec b/package/yast2-storage-ng.spec index f01c1d17f4..5591bd9c5b 100644 --- a/package/yast2-storage-ng.spec +++ b/package/yast2-storage-ng.spec @@ -16,7 +16,7 @@ # Name: yast2-storage-ng -Version: 5.0.8 +Version: 5.0.9 Release: 0 Summary: YaST2 - Storage Configuration License: GPL-2.0-only OR GPL-3.0-only