Jump to content

[Armbian build PR] - partitioning: allow to disable boot partition and make script less smart about image size estimation


Recommended Posts

Posted

Description

  1. Allow to disable boot partition by explicit BOOTSIZE=0. This would help when bootloader known to support rootfs FS.
  2. Allow image_size < rootfs_size for (potentially compressed) btrfs.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [x] Built compressed btrfs-rootfs image with FIXED_IMAGE_SIZE=$((rootfs_size/2)) and without boot partition

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] 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