* SRC_URI file://f.tar and destination
@ 2022-10-05 19:37 Mauro Ziliani
2022-10-06 7:47 ` [yocto] " Quentin Schulz
0 siblings, 1 reply; 3+ messages in thread
From: Mauro Ziliani @ 2022-10-05 19:37 UTC (permalink / raw)
To: yocto
Hi all.
I'd like to explod a tar file into subdirectory of source file.
The recipe fetch the original source from a git repos.
I make a tar of folder I'd like to add to the original sources.
SRC_URI := "\
git://git.myserver.com/project.git \
file://added_folder.tar \
"
# S is ${WORKDIR}/git
Now added_folder.tar is exploded in ${WORKDIR} but I'd like to explod it
in ${WORKDIR}/git
There is some parameter for file:// fetcher?
Best regards,
MZ
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [yocto] SRC_URI file://f.tar and destination
2022-10-05 19:37 SRC_URI file://f.tar and destination Mauro Ziliani
@ 2022-10-06 7:47 ` Quentin Schulz
2022-10-07 6:14 ` Mauro Ziliani
0 siblings, 1 reply; 3+ messages in thread
From: Quentin Schulz @ 2022-10-06 7:47 UTC (permalink / raw)
To: Mauro Ziliani, yocto
Hi Mauro,
On 10/5/22 21:37, Mauro Ziliani wrote:
> Hi all.
>
> I'd like to explod a tar file into subdirectory of source file.
>
>
> The recipe fetch the original source from a git repos.
>
> I make a tar of folder I'd like to add to the original sources.
>
>
> SRC_URI := "\
> git://git.myserver.com/project.git \
> file://added_folder.tar \
> "
>
> # S is ${WORKDIR}/git
>
>
> Now added_folder.tar is exploded in ${WORKDIR} but I'd like to explod it
> in ${WORKDIR}/git
>
>
> There is some parameter for file:// fetcher?
>
Can you try ;subdir= parameter?
c.f.
https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-fetching.html#the-unpack
Cheers,
Quentin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [yocto] SRC_URI file://f.tar and destination
2022-10-06 7:47 ` [yocto] " Quentin Schulz
@ 2022-10-07 6:14 ` Mauro Ziliani
0 siblings, 0 replies; 3+ messages in thread
From: Mauro Ziliani @ 2022-10-07 6:14 UTC (permalink / raw)
To: yocto
Thank you Quentin.
This is the right parameter
Best regards,
MZ
Il 06/10/22 09:47, Quentin Schulz via lists.yoctoproject.org ha scritto:
> Hi Mauro,
>
> On 10/5/22 21:37, Mauro Ziliani wrote:
>> Hi all.
>>
>> I'd like to explod a tar file into subdirectory of source file.
>>
>>
>> The recipe fetch the original source from a git repos.
>>
>> I make a tar of folder I'd like to add to the original sources.
>>
>>
>> SRC_URI := "\
>> git://git.myserver.com/project.git \
>> file://added_folder.tar \
>> "
>>
>> # S is ${WORKDIR}/git
>>
>>
>> Now added_folder.tar is exploded in ${WORKDIR} but I'd like to explod
>> it in ${WORKDIR}/git
>>
>>
>> There is some parameter for file:// fetcher?
>>
>
> Can you try ;subdir= parameter?
>
> c.f.
> https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-fetching.html#the-unpack
>
> Cheers,
> Quentin
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#58272): https://lists.yoctoproject.org/g/yocto/message/58272
> Mute This Topic: https://lists.yoctoproject.org/mt/94143218/3617482
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [mauro@faresoftware.it]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-07 6:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 19:37 SRC_URI file://f.tar and destination Mauro Ziliani
2022-10-06 7:47 ` [yocto] " Quentin Schulz
2022-10-07 6:14 ` Mauro Ziliani
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.