Commit a32cdaeb authored by Jonas Smedegaard's avatar Jonas Smedegaard

Fix system-setup disk resize broken since bullseye (lsblk changed output).

parent 2119edef
......@@ -150,7 +150,8 @@ ui_radiolist() {
# TODO: offer to move system to alternative media if available
# extend root partition and fixate root and boot partitions
disk=$(lsblk --paths --output NAME,TYPE,MOUNTPOINT --inverse --list \
disk=$(lsblk --paths --output NAME,TYPE,MOUNTPOINT --list \
| tac \
| sed -ne '/\/$/,/disk\s*$/ p' \
| tail --lines=1 \
| grep -Po '^\S+')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment