Hi NXP,
I am trying to install the file to rootfs but fail.
Here is my env
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpc0mek"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.15-kirkstone"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
Here is my recipe "test.bb"
DESCRIPTION = "Box software"
LICENSE = "CLOSED"
# FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += " \
file://test \
"
S = "${WORKDIR}"
do_install:append() {
bbwarn "Test install file to rootfs <<<<<<<<<<<<<<<"
#WiFi
install -D -v -m 0755 test -t ${D}${ROOT_HOME}/
}
FILES:${PN} += "${ROOT_HOME}/*"
And here is the error output
ERROR: imx-image-multimedia-1.0-r0 do_rootfs: Unable to install packages. Command '/media/wols/Data-ext4/imx5.15.52/clean_build/tmp/work/imx8qxpc0mek-poky-linux/imx-image-multimedia/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove apt docker dpkg firmwared imx-g2d-samples packagegroup-base-extended packagegroup-core-boot packagegroup-core-full-cmdline packagegroup-core-nfs-server packagegroup-core-sdk packagegroup-core-ssh-dropbear packagegroup-core-standalone-sdk-target packagegroup-core-tools-debug packagegroup-core-tools-profile packagegroup-core-tools-testapps packagegroup-core-weston packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-optee-imx packagegroup-fsl-tools-audio packagegroup-fsl-tools-benchmark packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external packagegroup-fsl-tools-testapps packagegroup-imx-isp packagegroup-imx-security packagegroup-tools-bluetooth run-postinsts test' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
packagegroup-fsl-tools-testapps : Depends: cryptodev-module but it is not installable
E: Unable to correct problems, you have held broken packages.
I also try add < IMAGE_INSTALL:append = " cryptodev-module " >
But it dosen help , another error came out.
The following packages have unmet dependencies:
kernel-module-cryptodev-5.15.52+g8e9642731c85 : Depends: kernel-5.15.52+g8e9642731c85 but it is not installable
Solved! Go to Solution.
Hi @WolsYang,
I hope you are doing well.
Please make sure that there is not any other recipe named test.
Please uncomment FILESEXTRAPATHS:prepend in receipe. (this specifies the path where the binary file is present)
Please make sure that the test binary is placed at <..>/test directory.
Please provide me with directory structure of recipe for further debugging. (using tree command)
Thanks & Regards,
Dhruvit Vasavada
Hi @WolsYang,
I hope you are doing well.
Please make sure that there is not any other recipe named test.
Please uncomment FILESEXTRAPATHS:prepend in receipe. (this specifies the path where the binary file is present)
Please make sure that the test binary is placed at <..>/test directory.
Please provide me with directory structure of recipe for further debugging. (using tree command)
Thanks & Regards,
Dhruvit Vasavada
Hi @Dhruvit ,
Sorry for the late reply.
Since I delete tmp & sstate then rebuild, this issue gone.
I think is state problem.
meta-test
├── conf
│ └── layer.conf
├── recipes-driver
│ └── test
│ ├── test
│ │ └── test
│ └── test.bb
Hi @WolsYang,
I hope you are doing well.
Glad to know that issue is resolved.
Can I mark this case as close now?
Thanks & Regards,
Dhruvit Vasavada
Hi @Dhruvit
Sure : )