Clean shell when sourcing this environment script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-08 2:44 AM
Hello
I switched to the Distribution package to have access to the layers provided by ST.
After I use command repo sync I, a file named layer is created.
When I:
DISTRO=openstlinux-weston MACHINE=stm32mp1-disco source layers/meta-st/scripts/envsetup.sh
I get the following error
[source layers/openembedded-core/oe-init-build-env][from nothing]
Error: The OE SDK/ADT was detected as already being present in this shell environment. Please use a clean shell when sourcing this environment script.
How can I clean the shell environment ?
Solved! Go to Solution.
- Labels:
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-08 4:28 AM
Hi @SigmaPrime​
Indeed you can not use Distribution in a shell you initially source the SDK for Developer package.
Simple way is just to open a new shell terminal.
Olivier
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-08 4:28 AM
Hi @SigmaPrime​
Indeed you can not use Distribution in a shell you initially source the SDK for Developer package.
Simple way is just to open a new shell terminal.
Olivier
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-08 4:30 AM
Oh I get it now!
I misread your comment
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-11 8:01 PM
I also had the same error and recovered by opening a new terminal. Thank you
