Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dracut/modules.d/99kiwi-lib/kiwi-partitions-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ function get_partition_node_name {
local index=1
local part
udev_pending
# backwards compat for lsblk before 2.38: if START column not supported, fall back to default sort
for partnode in $(
lsblk -p -l -o NAME,TYPE,START -x START "${disk}" |\
{ lsblk -p -l -o NAME,TYPE,START -x START "${disk}" 2>/dev/null ||\
lsblk -p -l -o NAME,TYPE "${disk}"; } |\
grep -E "part|md$" | cut -f1 -d ' '
);do
if [ "${index}" = "${partid}" ];then
Expand Down