File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,10 +44,17 @@ rm -rf "${MODULES_INSTALL_PATH}"
4444
4545mksquashfs " ${ADDONS_OUTPUT_PATH} " " ${ADDONS_SQUASHFS_PATH} " -all-root
4646
47- if [ " $KERNEL_FLAVOR " != " host" ] && [ " $( stat -c %s " ${ADDONS_SQUASHFS_PATH} " ) " -gt 52428800 ]; then
48- echo " ERROR: squashfs is >50MB in size which is undesirable for non-host kernels, validate kconfig options!" >&2
49- exit 1
50- fi
47+ case " $KERNEL_FLAVOR " in
48+ zone-debug)
49+ # Skip the check for zone-debug, it is allowed to be big
50+ ;;
51+ zone* )
52+ if [ " $( stat -c %s " ${ADDONS_SQUASHFS_PATH} " ) " -gt 52428800 ]; then
53+ echo " ERROR: squashfs is >50MB in size which is undesirable for the 'zone' kernel, validate kconfig options!" >&2
54+ exit 1
55+ fi
56+ ;;
57+ esac
5158
5259if [ " ${TARGET_ARCH_STANDARD} " = " x86_64" ]; then
5360 cp " ${KERNEL_OBJ} /arch/x86/boot/bzImage" " ${OUTPUT_DIR} /kernel"
You can’t perform that action at this time.
0 commit comments