Skip to content

Commit

Permalink
Merge pull request #3317 from balena-os/alexgg/rif-jq
Browse files Browse the repository at this point in the history
resin-init-flasher: add jq dependency
  • Loading branch information
flowzone-app[bot] committed Feb 14, 2024
2 parents 905446e + 87aa018 commit fc1acd7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RDEPENDS:${PN}:append = "${@oe.utils.conditional('SIGN_API','','',' cryptsetup d
# This should be just fine
BALENA_IMAGE ?= "balena-image-${MACHINE}.balenaos-img"

do_install[depends] += "jq-native:do_populate_sysroot"
do_install() {
# Make sure devices with internal storage, aka flasher device types define `INTERNAL_DEVICE_KERNEL` in integration layers
if [ "$(jq -r '.data.storage.internal' "${TOPDIR}/../contracts/contracts/hw.device-type/${MACHINE}/contract.json")" = "true" ] &&[ -z "${INTERNAL_DEVICE_KERNEL}" ]; then
Expand Down

0 comments on commit fc1acd7

Please sign in to comment.