diff options
author | David P <megver83@parabola.nu> | 2020-02-25 09:51:20 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-02-25 09:51:20 -0300 |
commit | 0dd0a6c79528f5c040faaeda7812c1893591ee4c (patch) | |
tree | c475d9f01eb29b72acb3fcf83b037498be2e6967 /nonsystemd/util-linux/0001-lsblk-force-to-print-PKNAME-for-partition.patch | |
parent | 155d1bddbcb7c566c4bcdd5561ee734762cf659a (diff) | |
download | abslibre-0dd0a6c79528f5c040faaeda7812c1893591ee4c.tar.gz abslibre-0dd0a6c79528f5c040faaeda7812c1893591ee4c.tar.bz2 abslibre-0dd0a6c79528f5c040faaeda7812c1893591ee4c.zip |
updpkg: nonsystemd/util-linux 2.35.1-1.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/util-linux/0001-lsblk-force-to-print-PKNAME-for-partition.patch')
-rw-r--r-- | nonsystemd/util-linux/0001-lsblk-force-to-print-PKNAME-for-partition.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/nonsystemd/util-linux/0001-lsblk-force-to-print-PKNAME-for-partition.patch b/nonsystemd/util-linux/0001-lsblk-force-to-print-PKNAME-for-partition.patch deleted file mode 100644 index 3fc342b37..000000000 --- a/nonsystemd/util-linux/0001-lsblk-force-to-print-PKNAME-for-partition.patch +++ /dev/null @@ -1,31 +0,0 @@ -From e3bb9bfb76c17b1d05814436ced62c05c4011f48 Mon Sep 17 00:00:00 2001 -From: Karel Zak <kzak@redhat.com> -Date: Thu, 27 Jun 2019 09:22:18 +0200 -Subject: [PATCH 1/1] lsblk: force to print PKNAME for partition - -PKNAME (parent kernel device name) is based on printed tree according -to parent -> child relationship. The tree is optional and not printed -if partition specified (.e.g "lsblk -o+PKNAME /dev/sda1"), but old -versions print the PKNAME also in this case. - -Addresses: https://github.com/karelzak/util-linux/issues/813 -Signed-off-by: Karel Zak <kzak@redhat.com> -Signed-off-by: Christian Hesse <mail@eworm.de> ---- - misc-utils/lsblk.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c -index e95af7af0..3ce6da730 100644 ---- a/misc-utils/lsblk.c -+++ b/misc-utils/lsblk.c -@@ -1019,6 +1019,9 @@ static void device_to_scols( - DBG(DEV, ul_debugobj(dev, "add '%s' to scols", dev->name)); - ON_DBG(DEV, if (ul_path_isopen_dirfd(dev->sysfs)) ul_debugobj(dev, " %s ---> is open!", dev->name)); - -+ if (!parent && dev->wholedisk) -+ parent = dev->wholedisk; -+ - /* Do not print device more than one in --list mode */ - if (!(lsblk->flags & LSBLK_TREE) && dev->is_printed) - return; |