Skip to content

Commit

Permalink
Makefile: Change rootfs max size for nvidia platform
Browse files Browse the repository at this point in the history
Variants of platform nvidia require more space in the rootfs due to the
libraries, firmware and related files shipped within rootfs image. This
commit changes the maximum rootfs size to 450MB only for this platform.

Signed-off-by: Renê de Souza Pinto <[email protected]>
  • Loading branch information
rene committed Aug 30, 2024
1 parent 0e9e6cd commit f72c282
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,13 @@ ifeq ($(HV),kubevirt)
else
#kube container will not be in non-kubevirt builds
PKGS_$(ZARCH)=$(shell find pkg -maxdepth 1 -type d | grep -Ev "eve|alpine|sources|kube|external-boot-image|verification$$")
# nvidia platform requires more space
ifeq ($(PLATFORM),nvidia)
ROOTFS_MAXSIZE_MB=450
else
ROOTFS_MAXSIZE_MB=250
endif
endif

PKGS_riscv64=pkg/ipxe pkg/mkconf pkg/mkimage-iso-efi pkg/grub \
pkg/mkimage-raw-efi pkg/uefi pkg/u-boot pkg/cross-compilers \
Expand Down

0 comments on commit f72c282

Please sign in to comment.