All of lore.kernel.org
 help / color / mirror / Atom feed
* Adding support for yum in a yocto image
@ 2017-10-05 18:30 Mark Hieber
  2017-10-05 19:08 ` Josef Holzmayr
  2017-10-05 19:18 ` Leonardo Sandoval
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Hieber @ 2017-10-05 18:30 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

I am building a yocto image to run on a network device, and I need to have
yum installed in the image. Is this even possible? I would also like to
have the epel-release repository available in my image.

Thanks,

Mark

[-- Attachment #2: Type: text/html, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adding support for yum in a yocto image
  2017-10-05 18:30 Adding support for yum in a yocto image Mark Hieber
@ 2017-10-05 19:08 ` Josef Holzmayr
  2017-10-06 12:21   ` Alexander Kanavin
  2017-10-05 19:18 ` Leonardo Sandoval
  1 sibling, 1 reply; 4+ messages in thread
From: Josef Holzmayr @ 2017-10-05 19:08 UTC (permalink / raw)
  To: Mark Hieber, yocto

Hi!

On 05.10.2017 20:30, Mark Hieber wrote:
> I am building a yocto image to run on a network device, and I need to 
> have yum installed in the image. Is this even possible?

Technically, yes. But you'll have to create the support for yourself. 
The currently supported frontend for RPM is dnf (which has replaced 
smart) and probably will not change very soon. So the more practical 
answer is: no, not really.

I would also
> like to have the epel-release repository available in my image.

Uhm. Be aware that your custom built distribution is *not* some kind of 
Fedora-Light. Its an entirely different distribution, and mixing in 
repositories from somewhere is most certainly disastrous - or do you 
think using that OpenSuse repo plays along nicely with your CentOS 
install? :-)

So if you want additional software that is not packaged yet as an 
OpenEmbedded recipe, the way to archieve that is writing the recipes. 
Plus, rolling your own package server if you want runtime package 
management, of course. But there already stuff prepared and should be 
easy to find in the docs.

Greetz

-- 
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———————————————
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548

_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adding support for yum in a yocto image
  2017-10-05 18:30 Adding support for yum in a yocto image Mark Hieber
  2017-10-05 19:08 ` Josef Holzmayr
@ 2017-10-05 19:18 ` Leonardo Sandoval
  1 sibling, 0 replies; 4+ messages in thread
From: Leonardo Sandoval @ 2017-10-05 19:18 UTC (permalink / raw)
  To: Mark Hieber; +Cc: yocto

On Thu, 5 Oct 2017 11:30:33 -0700
Mark Hieber <hieberm@gmail.com> wrote:

> I am building a yocto image to run on a network device, and I need to have
> yum installed in the image. Is this even possible? I would also like to
> have the epel-release repository available in my image.

there is no yum recipe but you can install dnf, would that help?

> 
> Thanks,
> 
> Mark


-- 
Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adding support for yum in a yocto image
  2017-10-05 19:08 ` Josef Holzmayr
@ 2017-10-06 12:21   ` Alexander Kanavin
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Kanavin @ 2017-10-06 12:21 UTC (permalink / raw)
  To: Josef Holzmayr, Mark Hieber, yocto

On 10/05/2017 10:08 PM, Josef Holzmayr wrote:
>
> Uhm. Be aware that your custom built distribution is *not* some kind of 
> Fedora-Light. Its an entirely different distribution, and mixing in 
> repositories from somewhere is most certainly disastrous - or do you 
> think using that OpenSuse repo plays along nicely with your CentOS 
> install? :-)

Also epel-release provides packages only for server architectures: 
x86_64, ppc64, and aarch64, so if the 'network device' is built on 
anything else, the whole thing is a non-starter.

I generally agree that attempting to ride on the coattails of 
desktop/server Linux vendors is asking for frustration. People are still 
trying though:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10422

Much better to just write the recipes from the start, and share them 
with the community :)

Alex


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-06 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-05 18:30 Adding support for yum in a yocto image Mark Hieber
2017-10-05 19:08 ` Josef Holzmayr
2017-10-06 12:21   ` Alexander Kanavin
2017-10-05 19:18 ` Leonardo Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.