From 8700cf9e41726ed00ee19179091096193d818f81 Mon Sep 17 00:00:00 2001 From: Matheus Date: Wed, 12 Nov 2025 20:03:38 -0300 Subject: [PATCH] parted: support virtio block --- patches/parted/jinx-working-patch.patch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/patches/parted/jinx-working-patch.patch b/patches/parted/jinx-working-patch.patch index 85c9a916..9100c38c 100644 --- a/patches/parted/jinx-working-patch.patch +++ b/patches/parted/jinx-working-patch.patch @@ -12,10 +12,10 @@ index 7b7b1fd..7f6404f 100755 diff --git parted-workdir/libparted/arch/astral.c parted-workdir/libparted/arch/astral.c new file mode 100644 -index 0000000..2989679 +index 0000000..4fda5e7 --- /dev/null +++ parted-workdir/libparted/arch/astral.c -@@ -0,0 +1,558 @@ +@@ -0,0 +1,561 @@ +/* + libparted - a library for manipulating disk partitions + Copyright (C) 2006-2007, 2009-2014, 2019-2023 Free Software Foundation, @@ -142,6 +142,9 @@ index 0000000..2989679 + if (dev->path && strstr(dev->path, "nvme")) + return PED_DEVICE_NVME; + ++ if (dev->path && strstr(dev->path, "vioblk")) ++ return PED_DEVICE_VIRTBLK; ++ + return PED_DEVICE_UNKNOWN; +error: + close(fd);