This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi TI team,
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1357371/am625-required-meta-webserver-layer
I followed these link but I am still getting error.
I follows below steps,
1) I disable the CONFIG_HTTPD flag.
-> #CONFIG_HTTPD=y
2) Hit the bitbake command for build.
-> bitbake -c clean acmh-image && bitbake acmh-image
3) Error.
ERROR: acmh-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /home/alakhara/tisdk/build/arago-tmp-default-glibc/work/am62xx_evm-oe-linux/acmh-image/1.0-r0/temp/log.do_rootfs.
ERROR: Logfile of failure stored in: /home/alakhara/tisdk/build/arago-tmp-default-glibc/work/am62xx_evm-oe-linux/acmh-image/1.0-r0/temp/log.do_rootfs.2055142
ERROR: Task (/home/alakhara/tisdk/sources/meta-custom-acmh/recipes-example/images/acmh-image.bb:do_rootfs) failed with exit code '1'
Please help me out.
Hi,
I just tried the steps to add the 'apache2' webserver package as outlined on the E2E thread you referenced in the context of AM62 SDK v10.0 by extending the IMAGE_INSTALL variable and adding the extra meta-webserver layer and had no issues building images. The only difference I encountered was that the location of the BusyBox config file has changed, so I modified it in the place below:
$ git -C ../sources/meta-arago/ diff diff --git a/meta-arago-distro/recipes-core/busybox/busybox/network.cfg b/meta-arago-distro/recipes-core/busybox/busybox/network.cfg index 57499a77..01def934 100644 --- a/meta-arago-distro/recipes-core/busybox/busybox/network.cfg +++ b/meta-arago-distro/recipes-core/busybox/busybox/network.cfg @@ -13,7 +13,7 @@ CONFIG_ARPING=y CONFIG_BRCTL=y CONFIG_FEATURE_BRCTL_FANCY=y CONFIG_FEATURE_BRCTL_SHOW=y -CONFIG_HTTPD=y +#CONFIG_HTTPD=y CONFIG_TELNETD=y CONFIG_FEATURE_TELNETD_STANDALONE=y CONFIG_FEATURE_TFTP_BLOCKSIZE=y
You should be able to re-create this by setting up your build environment from scratch based on AM62 SDK v10.0 sources and updating the config as above.
Regards, Andreas