All of lore.kernel.org
 help / color / mirror / Atom feed
* How to add the same recipe twice?
@ 2014-06-09 16:41 Kevyn-Alexandre Paré
  2014-06-10 15:35 ` Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-09 16:41 UTC (permalink / raw)
  To: Yocto discussion list

Hi,

Here what I want to do:
- Have 2 different psplash in my image.

Here what I have done:
- Copy and rename the psplash recipe to psplash-desktop and modify
couple of things.


Here the warning I'm having:
WARNING: The recipe psplash-desktop is trying to install files into a
shared area when those files already exist. Those files and their
manifest location are:
   /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/sysroots/overo/pkgdata/runtime/psplash-default
   Matched in manifest-overo-psplash.packagedata
manifest-overo-psplash-second.packagedata
   /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/sysroots/overo/pkgdata/runtime/psplash-default.packaged
   Matched in manifest-overo-psplash.packagedata
   /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/sysroots/overo/pkgdata/runtime-reverse/psplash-default
   Matched in manifest-overo-psplash.packagedata
manifest-overo-psplash-second.packagedata
Please verify which package should provide the above files.
WARNING: The recipe psplash-desktop is trying to install files into a
shared area when those files already exist. Those files and their
manifest location are:
   /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/deploy/rpm/armv7a_vfp_neon/psplash-default-0.1+git0+afd4e228c6-r15.armv7a_vfp_neon.rpm
   Matched in manifest-armv7a-vfp-neon-psplash.package_write_rpm
Please verify which package should provide the above files.

Here the error:
http://pastebin.com/t2gYs3WT

Here the diff of my psplash recipe compare to psplash original:
http://pastebin.com/8TrQRFkQ

In the chat sgw_ recommended my to use:...
sgw_> kapare, now that I better understand, you want to mv your binary
in the do_install_append(), and keep the update-alternative code and
FILES_${PN} bin, but use the renamed binary in the
ALTERNATIVE_LINK_NAME, but you also need ALTNATIVE_TARGET[psplash] =
${bindir}/psplash-default

There is something that I'm missing...

Any idea what?

BR,

-KA


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

* Re: How to add the same recipe twice?
  2014-06-09 16:41 How to add the same recipe twice? Kevyn-Alexandre Paré
@ 2014-06-10 15:35 ` Saul Wold
  2014-06-10 17:25   ` Kevyn-Alexandre Paré
  0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2014-06-10 15:35 UTC (permalink / raw)
  To: Kevyn-Alexandre Paré, Yocto discussion list

On 06/09/2014 09:41 AM, Kevyn-Alexandre Paré wrote:
> Hi,
>
> Here what I want to do:
> - Have 2 different psplash in my image.
>
> Here what I have done:
> - Copy and rename the psplash recipe to psplash-desktop and modify
> couple of things.
>
psplash does some interesting package name manipulation, based on what 
additional splash files are being provided.

I am not sure if you are trying to change more than the splash image or not.
>
> Here the warning I'm having:
> WARNING: The recipe psplash-desktop is trying to install files into a
> shared area when those files already exist. Those files and their
> manifest location are:
>     /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/sysroots/overo/pkgdata/runtime/psplash-default
>     Matched in manifest-overo-psplash.packagedata
> manifest-overo-psplash-second.packagedata
This seems to indicate that you might have another recipe called 
psplash-second (maybe a past attempt at this) and it's causing some issues?

Sau!
>     /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/sysroots/overo/pkgdata/runtime/psplash-default.packaged
>     Matched in manifest-overo-psplash.packagedata
>     /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/sysroots/overo/pkgdata/runtime-reverse/psplash-default
>     Matched in manifest-overo-psplash.packagedata
> manifest-overo-psplash-second.packagedata
> Please verify which package should provide the above files.
> WARNING: The recipe psplash-desktop is trying to install files into a
> shared area when those files already exist. Those files and their
> manifest location are:
>     /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/deploy/rpm/armv7a_vfp_neon/psplash-default-0.1+git0+afd4e228c6-r15.armv7a_vfp_neon.rpm
>     Matched in manifest-armv7a-vfp-neon-psplash.package_write_rpm
> Please verify which package should provide the above files.
>
> Here the error:
> http://pastebin.com/t2gYs3WT
>
> Here the diff of my psplash recipe compare to psplash original:
> http://pastebin.com/8TrQRFkQ
>
> In the chat sgw_ recommended my to use:...
> sgw_> kapare, now that I better understand, you want to mv your binary
> in the do_install_append(), and keep the update-alternative code and
> FILES_${PN} bin, but use the renamed binary in the
> ALTERNATIVE_LINK_NAME, but you also need ALTNATIVE_TARGET[psplash] =
> ${bindir}/psplash-default
>
> There is something that I'm missing...
>
> Any idea what?
>
> BR,
>
> -KA
>


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

* Re: How to add the same recipe twice?
  2014-06-10 15:35 ` Saul Wold
@ 2014-06-10 17:25   ` Kevyn-Alexandre Paré
  0 siblings, 0 replies; 3+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-06-10 17:25 UTC (permalink / raw)
  To: Saul Wold; +Cc: Yocto discussion list

Hi,

On Tue, Jun 10, 2014 at 11:35 AM, Saul Wold <sgw@linux.intel.com> wrote:
> On 06/09/2014 09:41 AM, Kevyn-Alexandre Paré wrote:
>>
>> Hi,
>>
>> Here what I want to do:
>> - Have 2 different psplash in my image.
>>
>> Here what I have done:
>> - Copy and rename the psplash recipe to psplash-desktop and modify
>> couple of things.
>>
> psplash does some interesting package name manipulation, based on what
> additional splash files are being provided.

Notice that after pressing send... but I didn't get the outsufix
option properly... I will try the explanation that Paul gave me:
http://thread.gmane.org/gmane.comp.handhelds.openembedded

sorry for same post on different mailling list forgot to cc it.

>
> I am not sure if you are trying to change more than the splash image or not.

Ok so let me try to clarify my explanation:
Let's say I want to have psplash recipe psplash2 receipe on the same
image. Let say that one psplash have progress bar and the other one
doesn't. Both will be install on /usr/bin/psplash* and this is why I'm
having these error / warning.

What will be the recommended way to behave in that case?

My mistake was maybe simply to reuse the entire receipe of psplash and
not simply append and change what I needed from?

>
> This seems to indicate that you might have another recipe called
> psplash-second (maybe a past attempt at this) and it's causing some issues?
>

thx will retry from scratch? but every time I was using bibake
<recipes list> -f -c clean and checking that build folder there
nothing related to psplash...


-KA


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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-09 16:41 How to add the same recipe twice? Kevyn-Alexandre Paré
2014-06-10 15:35 ` Saul Wold
2014-06-10 17:25   ` Kevyn-Alexandre Paré

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.