build: fix incorrect initramfs bzip2 compression
authorTony Butler <spudz76@gmail.com>
Tue, 18 Apr 2023 02:28:36 +0000 (19:28 -0700)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 18 Apr 2023 11:57:47 +0000 (13:57 +0200)
commit69bc620180d2ec670e7a936171262fc3e9e99179
tree90b869311b08aea6b78e9ac68d725eb762023a54
parent394d7134ec42f14ddb91769c737098753fa68266
build: fix incorrect initramfs bzip2 compression

Requires: tools/bzip2

fix consistency of executable to use `$(STAGING_DIR_HOST)/bin/bzip2`, and
not system-installed ones from the usual environment `PATH`;
this affects option `CONFIG_KERNEL_INITRAMFS_COMPRESSION_BZIP2`

this may have worked in the past but only via side effect of having the
binaries on the host system (and whatever unpredictable version or
patchset those might be)

Fixes: 330bd380e8b6 ("image: allow building FIT and uImage with ramdisk")
Signed-off-by: Tony Butler <spudz76@gmail.com>
include/kernel-defaults.mk