balenahup icon indicating copy to clipboard operation
balenahup copied to clipboard

Add test whether there's enough space on /boot to finish update

Open imrehg opened this issue 7 years ago • 1 comments

Test the target /boot partition before starting to copy things over that there's enough space to copy. It can be tricky, as we cannot be sure how much extra space is needed for the process because of the temp-file style copying and newly added files (should be approximately "the largest file" + "sum of new files"). Should approximate this somehow.

This is to avoid a situation when some files are updated, but /boot runs out of space and thus some files are copied, some are not, and end up in an inconsistent boot...

imrehg avatar Jun 15 '17 22:06 imrehg

I have to add that it costs only 6.99 usd without sd and without shipping.

lcasassa avatar Dec 16 '16 15:12 lcasassa

What love to have this, too!

cara avatar Jan 11 '17 09:01 cara

Would be awesome 👍 PS: Armbian does support the board already, so maybe that could be useful https://www.armbian.com/orange-pi-zero/

nmaas87 avatar Jan 24 '17 09:01 nmaas87

+1 for this. The built-in wifi + ethernet + USB dongle for cellular makes it an easy choice for setting up a device with fail-safe connectivity.

matthewepler avatar Feb 22 '17 13:02 matthewepler

+1 for this, these boards are very well supported by armbian nightly builds with the 4.10 mainline kernel, and run docker fine. (The "legacy" kernel provided by the manufacturer is too old to run docker).

Building on armbian to add support for the orange pi zero should open up the whole orange pi range, as the difference between each is basically mixing and matching peripherals.

unixbigot avatar Mar 07 '17 02:03 unixbigot

+1

erangaj avatar Aug 21 '17 08:08 erangaj

+1

rdelvalle avatar Oct 23 '17 13:10 rdelvalle

+1

smadgerano avatar Nov 13 '17 11:11 smadgerano

+1

isso avatar Jan 09 '18 09:01 isso

+1

jebentancour avatar Jan 16 '18 13:01 jebentancour

+1

lazmo88 avatar Apr 07 '18 17:04 lazmo88

+1

urukalo avatar May 08 '18 16:05 urukalo

Adding my voice to the chorus - this is one of the best price/performance tiny Linux boards out there, and would unlock a whole new batch of applications for Resin OS.

bandrews avatar May 14 '18 19:05 bandrews

Any update on this?

battuashwik avatar Nov 29 '18 09:11 battuashwik

Should be included once my pr is merged for Orange Pi Zero support. balena-os/balena-allwinner#65

mwohlert avatar Feb 17 '19 15:02 mwohlert

This has now been contributed and will appear in the dashboard soon

floion avatar Mar 05 '19 19:03 floion

Hey,

Any news when this will be available ? :)

joy4eg avatar Mar 22 '19 17:03 joy4eg

Working to make this available sometime next week

floion avatar Mar 22 '19 18:03 floion

This is now available in production. Thanks for the contribution! And enjoy!

floion avatar Mar 23 '19 15:03 floion