Skip to content
Open
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: 2 additions & 2 deletions initramfs-tools/scripts/local-premount/firstboot
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ do_resize () {
. /scripts/functions
. /scripts/local

log_begin_msg "Resizing root filesystem...\n\nDepending on storage size and speed, this may take a while."

get_variables
if ! [ -b "${ROOT_DEV}5" ]; then
if ! [ -b "${ROOT_DEV}5" ] && ! [ -b "${ROOT_DEV}p5" ] ; then
log_begin_msg "Resizing root filesystem...\n\nDepending on storage size and speed, this may take a while."
do_resize
else
log_warning_msg "Resize skipped due to unexpected partition table"
Expand Down