Jump to content

[Armbian build PR] - Fix armbian-install for selecting non formatted target partitions


Recommended Posts

Posted

Description

If there is a new SSD or harddisk used as destination with just a partition created but not yet formatted with a filesystem, then armbian-install does not provide this partition as a selectable destination.

GH reference #4576

Changes made

  • function check_partitions():
    • remove file system filter on lsblk commands for listing probable target partitions
    • fix typo "Destnation" -> "Destination"
    • fix indentation on if scopes

Test results

  1. New SSD - just a single partition was created but not yet formatted: image

  2. Script armbian-install was run on a Cubietruck board: image image

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [n/a] I have commented my code, particularly in hard-to-understand areas
  • [n/a] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [n/a] 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