Jump to content

[Armbian build PR] - Refactor rootfs cache


RSS Bot

Recommended Posts

Description

Refactor rootfs cache:

  • [X] Rename rootfs cache Don't hash version, just append to filename. So we can easily search local cache
  • [X] Use date as version instand of increase number
  • [X] Use Github api to get remote cache list
  • [X] Check local cache when unable to download remote cache
  • [x] Check local cache and remote cache at same time Use the newest cache instand of always the remote one first.

How Has This Been Tested?

No full test due to need support by server.

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

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines