* Downgrade util-linux
@ 2020-09-21 11:12 m.radtke
2020-09-21 18:03 ` [bitbake-devel] " Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: m.radtke @ 2020-09-21 11:12 UTC (permalink / raw)
To: bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 1621 bytes --]
Hi
I am currently experimenting with yocto and I was having a good start until now.
I want to rebuild a bootimage we have with yocto.
Currently the bootimage uses sfdisk 2.25.2 as later on the outputs changed and I didn't have time to adapt I always downgraded util-linux on the old bootimage.
To get quick results with a yocto based bootimage I wanted to do the same. I found a receive for a util-linux 2.25.2 package and added it to my recipes.
In my local.conf I added:
# downgrade util-linux
PREFERRED_VERSION_util-linux = "2.25.2"
However this seems to work partially as the output of bitbake is now the following
ERROR: Multiple versions of util-linux are due to be built (/home/user/opsi-linux-bootimage-yocto/poky/build/../meta-opsi-bootimage/recipes-opsi-bootimage/util-linux/util-linux_2.25.2.bb /home/user/opsi-linux-bootimage-yocto/poky/build/../meta/recipes-core/util-linux/util-linux_2.35.1.bb). Only one version of a given PN should be built in any given build. You likely need to set PREFERRED_VERSION_util-linux to select the correct version or don't depend on multiple versions.
How can I build a bootimage with a downgraded util-linux package?
Regards
Mathias
--
opsi - Open PC-Server-Integration
das Open Source Client-Management-System von uib gmbh
Mathias Radtke
Entwicklung
eMail: m.radtke@uib.de
Tel. +49 6131 / 27561-16
Fax +49 6131 / 27561-22
uib gmbh
Bonifaziusplatz 1B
55118 Mainz
Internet:
https://uib.de
https://opsi.org
Geschftsfhrer: Dr. Detlef Oertel, Erol Ülükmen
Handelsregister: Amtsgericht Mainz HRB 6942
[-- Attachment #2: Type: text/html, Size: 6734 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [bitbake-devel] Downgrade util-linux
2020-09-21 11:12 Downgrade util-linux m.radtke
@ 2020-09-21 18:03 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2020-09-21 18:03 UTC (permalink / raw)
To: Mathias Radtke, bitbake-devel
On Mon, 2020-09-21 at 11:12 +0000, Mathias Radtke wrote:
> Hi
> I am currently experimenting with yocto and I was having a good start
> until now.
> I want to rebuild a bootimage we have with yocto.
> Currently the bootimage uses sfdisk 2.25.2 as later on the outputs
> changed and I didn't have time to adapt I always downgraded util-
> linux on the old bootimage.
> To get quick results with a yocto based bootimage I wanted to do the
> same. I found a receive for a util-linux 2.25.2 package and added it
> to my recipes.
> In my local.conf I added:
>
> # downgrade util-linux
> PREFERRED_VERSION_util-linux = "2.25.2"
>
> However this seems to work partially as the output of bitbake is now
> the following
>
> ERROR: Multiple versions of util-linux are due to be built
> (/home/user/opsi-linux-bootimage-yocto/poky/build/../meta-opsi-
> bootimage/recipes-opsi-bootimage/util-linux/util-linux_2.25.2.bb
> /home/user/opsi-linux-bootimage-yocto/poky/build/../meta/recipes-
> core/util-linux/util-linux_2.35.1.bb). Only one version of a given PN
> should be built in any given build. You likely need to set
> PREFERRED_VERSION_util-linux to select the correct version or don't
> depend on multiple versions.
>
> How can I build a bootimage with a downgraded util-linux package?
I'd suggest you move the old recipe out the way and that should quickly
give a clear idea on why its trying to build it.
I appreciate that isn't an ideal way to debug this but it is usually
effective...
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-21 18:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21 11:12 Downgrade util-linux m.radtke
2020-09-21 18:03 ` [bitbake-devel] " Richard Purdie
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.