cancel
Showing results for 
Search instead for 
Did you mean: 

How do I add sources to apt-get sources.list.d?

JSlac
Associate II

There are no repos defined in /etc/apt/sources.list.d/

I can't seem to use apt-get to install git or nano or anything....

4 REPLIES 4
Olivier GALLIEN
ST Employee

Hi @JSlac​ 

Package installation with apt-get is not supported by default in our distribution.

You can use Yocto build system to add any extra packages.

https://wiki.st.com/stm32mpu/wiki/How_to_add_a_customer_application

Anyway, we are close to provide a "tip" to add apt-get support.

Keep you posted here soon.

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.

Thanks Oliver,

if I can help test this tip, I'd be delighted. I have to go tell my superiors that I can't show them a demo on this board without getting to know Yocto and adding what we need to a layer.

Olivier GALLIEN
ST Employee

Hi @JSlac​ 

Sorry, I was wrong when I commit to provide a "tip" solution for apt-get.

We can not provide it. My mistake and apology for that.

If you detail what package you would like to add Community may help you to quickly point what to do with Yocto ?

Else you can consider to switch to "buildroot" as per introduce by our partner :

https://bootlin.com/blog/building-a-linux-system-for-the-stm32mp1-basic-system/

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.
NPal.2
Senior

I think we can create a seperate mysources.list file in /etc/apt/sources.list.d/ folder.

But doing apt-get update results in GPG error. I have opened a separate post to discuss it.