Fix a problem of using INITRAMFS_SKIP_GZIP=1

This commit is contained in:
Chen Chengjun 2025-09-24 08:32:43 +00:00 committed by Tate, Hongliang Tian
parent 2c456709b6
commit 08e51cc0c8
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ endif
# Skip GZIP to make encoding and decoding of initramfs faster
ifeq ($(INITRAMFS_SKIP_GZIP),1)
CARGO_OSDK_INITRAMFS_OPTION := --initramfs=$(realpath test/build/initramfs.cpio)
CARGO_OSDK_INITRAMFS_OPTION := --initramfs=$(abspath test/build/initramfs.cpio)
CARGO_OSDK_COMMON_ARGS += $(CARGO_OSDK_INITRAMFS_OPTION)
endif