copy-blockdev: Make binary fully static 14/318914/3
authorAntoni <a.adaszkiewi@samsung.com>
Fri, 24 Jan 2025 12:16:55 +0000 (13:16 +0100)
committerMateusz Moscicki <m.moscicki2@samsung.com>
Wed, 19 Feb 2025 13:43:09 +0000 (14:43 +0100)
commit2ff978d0c02a7b30c3e431debff2f41eaaf35b05
tree2eabddfa3cab201034de59e50fa85dd92b83695f
parent6ccb9f56f1368d6f6adcbe3491e3a9a62ec865fb
copy-blockdev: Make binary fully static

This change ensures that `copy-blockdev` binary provided in a delta
will run on a system with an older GLib version.

hal-api-device dependecy is removed from copy-blockedv.
`device_board_set_upgrade_progress_status` is called directly instead.
This is done to save us the trouble of linking to hal-* libs
statically.

Change-Id: I03b7c4d645f1ce68d841f4699c90d8492f5324df
src/copy-blockdev/CMakeLists.txt
src/copy-blockdev/lib.c
src/copy-blockdev/lib.h