balena-raspberrypi icon indicating copy to clipboard operation
balena-raspberrypi copied to clipboard

hostapp-update-hooks: Handle modules in old hostOS for pieeprom

Open acostach opened this issue 6 years ago • 1 comments

If kernel is updated, modules cannot be loaded from the hook that's running in a container with the new hostOS, to which we are updating.

Therefore, we switch module handling to old hostOS so modules version match current running kernel.

Also, we need to ensure possible failures in updating EEPROM do not trigger any failure in HUP.

Addresses https://github.com/balena-os/balena-raspberrypi/issues/384

acostach avatar Oct 28 '19 22:10 acostach

@ZubairLK I was revisiting this and was wondering what's the current status with the hooks.. Will the OS continue to support before/after hooks being run from the old hostOS? Or should we not rely on them and look for possible alternatives?

acostach avatar Dec 23 '19 15:12 acostach

@acostach I don't think this is needed after https://github.com/balena-os/balena-raspberrypi/pull/1118/, is it?

alexgg avatar May 20 '24 08:05 alexgg

@alexgg yes, this is no longer necessary. Closing.

acostach avatar May 20 '24 09:05 acostach