[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#793914: cloud-utils: growpart doesn't need to use cut



Package: cloud-utils
Version: 0.27-1

Someone run into trouble running cloud-initramfs-growroot because
the sfdisk 2.26 patch[0] introduced calls to `cut` and neither `dpkg`
not `cut` is in the initramfs.

I suggest doing

MAJOR=${SFDISK_VERSION%%.*}
MID=${${SFDISK_VERSION#*.}%%.*}

instead.

[0] https://anonscm.debian.org/cgit/collab-maint/cloud-utils.git/commit/?id=0e1d44ecfc28876bd98c4686b05e824c69125baf


Reply to: