Jump to content

[Armbian build PR] - Refactor partition


Recommended Posts

Posted

Description

The current code use if..else to determine partition which will ignore lots of case:

  • custom bootfs type + NFS
  • custom bootfs type + UEFI
  • NFS + UEFI
  • crypt root + UEFI

How Has This Been Tested?

  • [X] Build and check the partitions of the output image

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
  • [ ] 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