From e6f2d0117909a04aa0fbf3aff8ec479447b58b6f Mon Sep 17 00:00:00 2001 From: Biktorgj Date: Sat, 5 Dec 2020 09:18:20 +0100 Subject: [PATCH] Remove stuff from recovery.conf so the final image fits into the 16mb limit again Update readme --- README.md | 1 + tools/config/poky/recovery.conf | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8e19fc3..0b65bdb 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ Check them out here: https://www.yoctoproject.org/docs/2.4.2/yocto-project-qs/yo * I need to investigate where is the USB driver not passing it through (if it really is or is another issue, for sure it is kernel related) * Sleep: About 23-26 hours of runtime, consistent with Quectel's kernel * Modem services no longer run as root + * Non persistent data partition (now there's no way of corrupting anything when killing the modem) * Yocto: * Two images available: root_fs and recovery_fs * root_fs: Includes all Quectel and Qualcomm binary blobs, patched to work with a newer glibc (more or less) diff --git a/tools/config/poky/recovery.conf b/tools/config/poky/recovery.conf index cdc5d69..1545ec1 100644 --- a/tools/config/poky/recovery.conf +++ b/tools/config/poky/recovery.conf @@ -149,7 +149,7 @@ PACKAGE_CLASSES ?= "package_ipk" # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. # We default to enabling the debugging tweaks. #IMAGE_FEATURES += "read_only_rootfs" -EXTRA_IMAGE_FEATURES ?= "debug-tweaks" +# EXTRA_IMAGE_FEATURES ?= "debug-tweaks" EXTRA_IMAGE_FEATURES += "read-only-rootfs" # # Additional image features @@ -291,16 +291,10 @@ CORE_IMAGE_EXTRA_INSTALL += "mtd-utils-ubifs " CORE_IMAGE_EXTRA_INSTALL += "util-linux-mount " CORE_IMAGE_EXTRA_INSTALL += "util-linux-umount " -CORE_IMAGE_EXTRA_INSTALL += "gawk " -CORE_IMAGE_EXTRA_INSTALL += "gettext " -CORE_IMAGE_EXTRA_INSTALL += "db " - - # CORE_IMAGE_EXTRA_INSTALL += "busybox-hwclock " # CORE_IMAGE_EXTRA_INSTALL += "busybox-syslog " CORE_IMAGE_EXTRA_INSTALL += "busybox-udhcpc " -CORE_IMAGE_EXTRA_INSTALL += "openssl " # Enable as needed # CORE_IMAGE_EXTRA_INSTALL += "util-linux-swaponoff "