Skip to main content
Ma2teo
Associate
June 10, 2020
Question

STM32MP1 Distribution Package - oe-init-build-env No such file

  • June 10, 2020
  • 2 replies
  • 1526 views

Dear ST community,

I’m trying to use the distribution package as described in the guide https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package#Installing_the_OpenSTLinux_distribution, but the oe-init-build-env file is absent.

The first commands:

$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-20-02-19

And

$ repo sync

Finish successfully.

However when I initialize the OpenEmbedded build environment (chapter 5.1):

PC $> DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh

The command fails due to the missing of the oe-init-build-env file.

I check the revision of the openembedded-core folder and it is cd7cf933b3235560ec71576d8f3836dff736a39f as indicated in the manifest (https://github.com/STMicroelectronics/oe-manifest/blob/thud/default.xml), however inside the openembedded-core folder there is no oe-init-build-env file.

How can I solve this problem?.

Thanks in advance for any suggestions.

Regards

This topic has been closed for replies.

2 replies

Olivier GALLIEN
Technical Moderator
June 11, 2020

Hi @Ma2teo​ 

This may come from your environment.

Did you install all extra packages recommended in https://wiki.st.com/stm32mpu/wiki/PC_prerequisites#Install_extra_packages ?

Hope it help

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Ma2teo
Ma2teoAuthor
Associate
June 12, 2020

Hi @Community member​ ,

Thanks for your attention to this matter.

Your suggestion has worked.

I have followed again the indications reported at that link.

I have reinstalled again all the required packages and tools.

Now my layers/embedded-core folder is populated with a lot of folders and files including the oe-init-build-env file.

Probably something wasn’t correctly installed in my previous attempt.

Thanks again.

Regards