Jump to content

[Armbian build PR] - Bugfix: armbian-resize-filesystem


Recommended Posts

Posted

Description

armbian-resize-filesystem has the following bugs:

  • Only support 1 or 2 partitions
  • If more than 1 partition, it assume the root partition starts from the end of the first partition plus 1.
  • The way to calc the number of partitions is incorrent
  • it will skip expanding partition when growroot is installed. But growroot does support crypt

I rewrite it to solve these bug.

How Has This Been Tested?

  • [X] 1 partition
  • [X] 2 partition
  • [X] 2 partition with crypt
  • [X] 3 partition (UEFI without growroot)
  • [X] 4 partition with crypt (UEFI without growroot)

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [X] I have performed a self-review of my own code
  • [X] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [X] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines