Skip to contentSkip to conversation

opkg package manifest file is not generated by bitbake

DISCUSSION [email protected] 2 participants 3 messages Jun 5, 2020

lore
Share & tools
lore
#0 lore raw

Hello,

i want to use my yocto build sever as opkg package source for updating some packages directly, but it seems after generating an image the "Packages" file for opkg is not created.

In the ./<build>/tmp/deploy/ipk folder, there are these folders
---------------------------------------------------------------------
all
apalis_imx6
cortexa9hf-neon
cortexa9t2hf-neon
cortexa9t2hf-neon-mx6qdl
---------------------------------------------------------------------
but no "Packages" or "Packages.gz" file.

My local.conf:
---------------------------------------------------------------------
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
MACHINE ??= "apalis-imx6"
MACHINE_HOSTNAME ?= "b2qt-${MACHINE}"
DL_DIR ?= "${TOPDIR}/../downloads"
SSTATE_DIR ?= "${TOPDIR}/../sstate-cache"
DISTRO ?= "b2qt"
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K"

CONF_VERSION = "1"
INHERIT += "image-buildinfo"
INHERIT += "internal-build"
ACCEPT_FSL_EULA = "1"
LICENSE_FLAGS_WHITELIST = "commercial"
QT_SDK_PATH = ""
PRSERV_HOST = "localhost:0"
include conf/distro/include/${MACHINE}.pre.inc
INHERIT+="toaster buildhistory"
BUILDHISTORY_COMMIT = "1"
---------------------------------------------------------------------

My image.bb file does provider "package-management":
---------------------------------------------------------------------

IMAGE_FEATURES += "\
        package-management \
        ssh-server-dropbear \
        tools-debug \
        tools-profile \
        debug-tweaks \
        hwcodecs \
        "

---------------------------------------------------------------------
(opkg is working on the embedded device)

Output after building an image:
---------------------------------------------------------------------

BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "apalis-imx6"
DISTRO               = "b2qt"
DISTRO_VERSION       = "2.7.3"
TUNE_FEATURES        = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU           = "hard"
SDKMACHINE           = "x86_64"

---------------------------------------------------------------------

A appreciate any help.

Mit freundlichen Grüßen / Best regards,
Kevin Kettinger

#1 lore raw

bitbake package-index

Quoted 81 lines · Kevin Kettinger

Hello,

i want to use my yocto build sever as opkg package source for updating some packages directly, but it seems after generating an image the "Packages" file for opkg is not created.

In the ./<build>/tmp/deploy/ipk folder, there are these folders
---------------------------------------------------------------------
all
apalis_imx6
cortexa9hf-neon
cortexa9t2hf-neon
cortexa9t2hf-neon-mx6qdl
---------------------------------------------------------------------
but no "Packages" or "Packages.gz" file.

My local.conf:
---------------------------------------------------------------------
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
MACHINE ??= "apalis-imx6"
MACHINE_HOSTNAME ?= "b2qt-${MACHINE}"
DL_DIR ?= "${TOPDIR}/../downloads"
SSTATE_DIR ?= "${TOPDIR}/../sstate-cache"
DISTRO ?= "b2qt"
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K"

CONF_VERSION = "1"
INHERIT += "image-buildinfo"
INHERIT += "internal-build"
ACCEPT_FSL_EULA = "1"
LICENSE_FLAGS_WHITELIST = "commercial"
QT_SDK_PATH = ""
PRSERV_HOST = "localhost:0"
include conf/distro/include/${MACHINE}.pre.inc
INHERIT+="toaster buildhistory"
BUILDHISTORY_COMMIT = "1"
---------------------------------------------------------------------

My image.bb file does provider "package-management":
---------------------------------------------------------------------

IMAGE_FEATURES += "\
        package-management \
        ssh-server-dropbear \
        tools-debug \
        tools-profile \
        debug-tweaks \
        hwcodecs \
        "

---------------------------------------------------------------------
(opkg is working on the embedded device)

Output after building an image:
---------------------------------------------------------------------

BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "apalis-imx6"
DISTRO               = "b2qt"
DISTRO_VERSION       = "2.7.3"
TUNE_FEATURES        = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU           = "hard"
SDKMACHINE           = "x86_64"

---------------------------------------------------------------------

A appreciate any help.

Mit freundlichen Grüßen / Best regards,
Kevin Kettinger

#2 lore raw

Worked, thank you!

Mit freundlichen Grüßen / Best regards,
Kevin Kettinger

Am 05.06.2020 um 08:53 schrieb Denys Dmytriyenko:

Quoted 85 lines

bitbake package-index

Quoted 81 lines · Kevin Kettinger

Hello,

i want to use my yocto build sever as opkg package source for updating some packages directly, but it seems after generating an image the "Packages" file for opkg is not created.

In the ./<build>/tmp/deploy/ipk folder, there are these folders
---------------------------------------------------------------------
all
apalis_imx6
cortexa9hf-neon
cortexa9t2hf-neon
cortexa9t2hf-neon-mx6qdl
---------------------------------------------------------------------
but no "Packages" or "Packages.gz" file.

My local.conf:
---------------------------------------------------------------------
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
MACHINE ??= "apalis-imx6"
MACHINE_HOSTNAME ?= "b2qt-${MACHINE}"
DL_DIR ?= "${TOPDIR}/../downloads"
SSTATE_DIR ?= "${TOPDIR}/../sstate-cache"
DISTRO ?= "b2qt"
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\
     STOPTASKS,${TMPDIR},1G,100K \
     STOPTASKS,${DL_DIR},1G,100K \
     STOPTASKS,${SSTATE_DIR},1G,100K \
     ABORT,${TMPDIR},100M,1K \
     ABORT,${DL_DIR},100M,1K \
     ABORT,${SSTATE_DIR},100M,1K"

CONF_VERSION = "1"
INHERIT += "image-buildinfo"
INHERIT += "internal-build"
ACCEPT_FSL_EULA = "1"
LICENSE_FLAGS_WHITELIST = "commercial"
QT_SDK_PATH = ""
PRSERV_HOST = "localhost:0"
include conf/distro/include/${MACHINE}.pre.inc
INHERIT+="toaster buildhistory"
BUILDHISTORY_COMMIT = "1"
---------------------------------------------------------------------

My image.bb file does provider "package-management":
---------------------------------------------------------------------

IMAGE_FEATURES += "\
         package-management \
         ssh-server-dropbear \
         tools-debug \
         tools-profile \
         debug-tweaks \
         hwcodecs \
         "

---------------------------------------------------------------------
(opkg is working on the embedded device)

Output after building an image:
---------------------------------------------------------------------

BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "apalis-imx6"
DISTRO               = "b2qt"
DISTRO_VERSION       = "2.7.3"
TUNE_FEATURES        = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU           = "hard"
SDKMACHINE           = "x86_64"

---------------------------------------------------------------------

A appreciate any help.

Mit freundlichen Grüßen / Best regards,
Kevin Kettinger