Ah ok, it might first place the file there, then go ahead delete the
directory and rewrite it with the git checkout. That's probably the
reason why adding it as a patch does work, since there is some magic
that detects the file as a patch to apply to the checkout. 
Thanks for clarifying!

Am Montag, dem 27.01.2025 um 15:39 +0100 schrieb Gyorgy Sarvari:
> For git fetcher, if the unpack directory already exists at the time
> of 
> unpacking, then it first gets deleted recursively: 
> https://git.yoctoproject.org/poky/tree/bitbake/lib/bb/fetch2/git.py#n660
>  
> - it doesn't check if the content conflicts or not :)
> 
> On 27.01.25 15:33, David Daniel via lists.yoctoproject.org wrote:
> > Ah I see. That's weird though, as the name is unique, it shouldn't
> > collide with any existing file. But adding as a patch sounds
> > reasonable. I'll try this instead and see.
> > Thanks!
> > 
> > Am Montag, dem 27.01.2025 um 15:10 +0100 schrieb Gyorgy Sarvari:
> > > Depending on the order of unpacking, it is possible that your dts
> > > file
> > > overwritten by the actual kernel source.
> > > 
> > > Try adding it as a patch?
> > > 
> > > On 27.01.25 12:12, David Daniel via lists.yoctoproject.org wrote:
> > > > Hi
> > > > 
> > > > I am trying to figure out why the following snippet of a kernel
> > > > .bbappend file does not populate the custom device tree source
> > > > file
> > > > in
> > > > the proper location:
> > > > 
> > > > 
> > > >       FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
> > > >       SRC_URI += "\
> > > >        file://defconfig;name=config \
> > > >       
> > > > file://cf200.dts;name=dts;subdir=git/arch/${ARCH}/boot/dts/freescale
> > > >   \
> > > >       "
> > > > 
> > > >       COMPATIBLE_MACHINE = "(cf200)"
> > > >    
> > > > It also seems the configuration is not applied. If I rename the
> > > > defconfig file to doesntexist the build fails early. The
> > > > defconfig
> > > > file
> > > > does get placed within the sources-unpack folder though. Within
> > > > the
> > > > sources-unpack folder there is no dts file though and the dts
> > > > file
> > > > is
> > > > as well not placed within the dts folder of the kernel build or
> > > > source
> > > > folder.
> > > > 
> > > > Is it possible to modify a kernel somewhat like this? What am I
> > > > doing
> > > > wrong?
> > > > 
> > > > Thanks for any hints!
> > > > Dave
> > > > 
> > > > 
> > > > 
> > 
> > 
> > 

-- 
David Daniel

VR AG
Rütistrasse 18
8952 Schlieren
Telefon:
+41 44 738 32 07

Web: https://vrag.ch

ISO9001 zertifiziert | SWISS LABEL Mitglied | Lehrbetrieb



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64642): https://lists.yoctoproject.org/g/yocto/message/64642
Mute This Topic: https://lists.yoctoproject.org/mt/110836825/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to