From 3d599e76be3735942afc0b747ab73a28fb5277ec Mon Sep 17 00:00:00 2001 From: Biktor Date: Sun, 25 Jul 2021 09:36:10 +0200 Subject: [PATCH] FIX: USB was not working in recovery image --- tools/config/poky/recovery.conf | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/tools/config/poky/recovery.conf b/tools/config/poky/recovery.conf index 17b4d6a..235243c 100644 --- a/tools/config/poky/recovery.conf +++ b/tools/config/poky/recovery.conf @@ -44,6 +44,7 @@ # This sets the default machine to be qemux86-64 if no other machine is selected: MACHINE ??= "qemux86-64" MACHINE ?= "mdm9607" +DISTRO_NAME = "modemOS" # # Where to place downloads @@ -148,7 +149,6 @@ PACKAGE_CLASSES ?= "package_ipk" # There are other application targets that can be used here too, see # 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 += "read-only-rootfs" # @@ -271,13 +271,22 @@ PACKAGECONFIG_append_pn-qemu-system-native = " sdl" #BB_HASHSERVE = "auto" #BB_SIGNATURE_HANDLER = "OEEquivHash" +# +# Memory Resident Bitbake +# +# Bitbake's server component can stay in memory after the UI for the current command +# has completed. This means subsequent commands can run faster since there is no need +# for bitbake to reload cache files and so on. Number is in seconds, after which the +# server will shut down. +# +#BB_SERVER_TIMEOUT = "60" # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to # track the version of this file when it was generated. This can safely be ignored if # this doesn't mean anything to you. CONF_VERSION = "1" # ADB Support -CORE_IMAGE_EXTRA_INSTALL += "android-tools " +CORE_IMAGE_EXTRA_INSTALL += "android-tools-adb " # Common scripts (set diag permissions, mount partitions etc.) CORE_IMAGE_EXTRA_INSTALL += "shared-scripts recovery-scripts " @@ -291,8 +300,6 @@ 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 += "busybox-udhcpc " - # Tools CORE_IMAGE_EXTRA_INSTALL += "patchelf " CORE_IMAGE_EXTRA_INSTALL += "strace " @@ -303,6 +310,6 @@ CORE_IMAGE_EXTRA_INSTALL += "kernel-modules " INHERIT += "recipe_sanity" -VIRTUAL-RUNTIME_dev_manager ?= "busybox-mdev" -DISTRO_FEATURES += "sysvinit eabi ipv6 ipv4 largefile thumb-interwork xattr ${MICRO_GOLD} ${DISTRO_FEATURES_LIBC}" -USE_DEVFS = "0" +VIRTUAL-RUNTIME_dev_manager = "" +DISTRO_FEATURES += "sysvinit eabi thumb-interwork " +USE_DEVFS = "0" \ No newline at end of file