From 0658a8b1efc58836eb6674a1b0aadfbdf0e54755 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:16:35 +0200 Subject: Adding debian version 3.6-3. Signed-off-by: Daniel Baumann --- debian/patches/probe-lvs-again.patch | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 debian/patches/probe-lvs-again.patch (limited to 'debian/patches/probe-lvs-again.patch') diff --git a/debian/patches/probe-lvs-again.patch b/debian/patches/probe-lvs-again.patch new file mode 100644 index 0000000..77139c0 --- /dev/null +++ b/debian/patches/probe-lvs-again.patch @@ -0,0 +1,34 @@ +From 20f1477293d180b2141ae7f1047ff5df84d42826 Mon Sep 17 00:00:00 2001 +From: Colin Watson +Date: Sat, 9 Aug 2014 16:23:26 +0200 +Subject: Probe LVM logical volumes again + +parted 3.2 stopped probing LVM logical volumes. This breaks +debian-installer, which wants to be able to "partition" these, at least +to the extent of being able to see them in the partitioner and operate +on them somewhat like ordinary partitions. Revert to the old behaviour. + +Bug-Debian: http://bugs.debian.org/757417 +Forwarded: no +Last-Update: 2014-08-11 + +Patch-Name: probe-lvs-again.patch +--- + libparted/arch/linux.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c +index f6f72360..3bad1e6e 100644 +--- a/libparted/arch/linux.c ++++ b/libparted/arch/linux.c +@@ -608,8 +608,8 @@ _probe_dm_devices () + if (stat (buf, &st) != 0) + continue; + +- if (_is_dm_major(major(st.st_rdev)) && _is_dmraid_device (buf) +- && !_dm_is_part(buf)) ++ if (_is_dm_major(major(st.st_rdev)) ++ && !(_is_dmraid_device(buf) && _dm_is_part(buf))) + _ped_device_probe (buf); + } + closedir (mapper_dir); -- cgit v1.2.3