Jump to content

[Armbian build PR] - Fix upgrades of armbian-bsp-cli-aml-s9xx-box-current


Recommended Posts

Posted

Changes to be committed: modified: config/boards/aml-s9xx-box.tvb deleted: packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf new file: packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf.template

Description

Upgrades of the aml-s9xx-box bsp package were failing (apparently I've never tested this, nor has anyone reported it) The problem is that the package installs files into /boot which is a fat filesystem. dpkg doesn't support the fat filesystem for upgrades as it tries to create a backup link for each file it is replacing which fails. Solution is to remove the files being replaced in a preinst step This also necessitated using the standard armbian extlinux.conf file as installing a custom one would result in the extlinux.conf file being replaced (without the append line being added, thus making the box unbootable after upgrade)

Jira reference number [AR-9999]

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] Tested new image works
  • [x] Tested upgrading and reinstalling the armbian-bsp-cli-aml-s9xx-box-current deb

Checklist:

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

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines