Skip to content

Commit

Permalink
FIX: USB was not working in recovery image
Browse files Browse the repository at this point in the history
  • Loading branch information
Biktorgj committed Jul 25, 2021
1 parent a7e4be1 commit 3d599e7
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions tools/config/poky/recovery.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
#
Expand Down Expand Up @@ -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 "
Expand All @@ -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 "
Expand All @@ -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"

0 comments on commit 3d599e7

Please sign in to comment.